joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458ed0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x458f03
push esi
call fcn.004671f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x458efc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x458f89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x458f72
mov eax, dword [esi + 8]
test eax, eax
je 0x458f27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x458f6e
cmp eax, 2
je 0x458f72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x458f1a
cmp eax, 3
je 0x458f4d
cmp eax, 1
jne 0x458f1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x458f1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x458f1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00458fb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x458f98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00458fb0
add esp, 4
pop esi
ret

Function at 0x459810
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x459831
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x459831
mov eax, dword [eax + 0x44]
test eax, eax
je 0x459831
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x459c80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x459c8b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x459d8e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x7778f0]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x7778f0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x7778f0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x7778f0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x7778f0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x7778f0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x7778f0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x7778f0]
xor eax, edx
inc ecx
dec edi
jne 0x459ca6
pop edi
test esi, esi
je 0x459db0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x7778f0]
xor eax, edx
inc ecx
dec esi
jne 0x459d92
pop esi
pop ebx
not eax
ret
Function at 0x474900
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4749a3
test eax, eax
jbe 0x4749a3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4749a3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x47494e
xor esi, esi
jmp 0x474954
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47497f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00418090
add esi, eax
push esi
mov ebx, esi
call fcn.00418090
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x474960
pop ebp
test edi, edi
pop edi
jne 0x4749a3
test ebx, ebx
je 0x4749a3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004f83d0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x474ac0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x474bdd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x474bdd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0050a4de
mov esi, eax
test esi, esi
je 0x474bdd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x474bdd
mov ecx, esi
call fcn.00474a50
cmp edi, eax
jge 0x474bdd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x474b63
mov dword [esp + 0x34], 1
jmp 0x474bbe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x474bdd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00474000
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x47bfa0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
lea ecx, [esp]
push 0xa
push ecx
and eax, 0xffff
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x47bfcb
add esp, 0xc
ret
lea edx, [esp]
push edx
call fcn.004f77ec
add esp, 4
add esp, 0xc
ret
Function at 0x47d3a0
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x40c
test ah, 8
push esi
mov esi, ecx
je 0x47d4c8
push ebp
call fcn.0043ae80
push eax
call sub.IMM32.dll_ImmGetContext
mov ebp, eax
test ebp, ebp
je 0x47d4bb
push ebx
push edi
lea eax, [esp + 0x34]
push 0x18e
push eax
push 0x800
push ebp
call sub.IMM32.dll_ImmGetCompositionStringW
cdq
sub eax, edx
mov ecx, esi
mov edi, eax
sar edi, 1
call fcn.00490fd0
test al, al
je 0x47d435
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.00496f30
mov ebx, eax
lea edx, [esp + 0x1cc]
push ebx
push edx
lea eax, [esp + 0x44]
push edi
push eax
call fcn.00496f80
mov edx, dword [esi]
add esp, 0x18
lea eax, [esp + 0x1c4]
mov ecx, esi
push 0
push ebx
push eax
mov byte [esp + ebx + 0x1d0], 0
call dword [edx + 0x40]
jmp 0x47d476
push 0
push 0
lea ecx, [esp + 0x1cc]
push 0x18f
push ecx
lea edx, [esp + 0x44]
push edi
push edx
push 0
call fcn.0047bfa0
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x47d476
mov al, byte [esp + edi + 0x1c4]
mov ecx, esi
push eax
call fcn.0048b700
inc edi
cmp edi, ebx
jl 0x47d462
mov ecx, dword [esi + 0x328c]
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.00484f70
mov ecx, eax
lea edx, [esp + 0x10]
push edx
push ebp
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call sub.IMM32.dll_ImmSetCompositionWindow
push ebp
mov ecx, esi
call fcn.0043ae80
push eax
call sub.IMM32.dll_ImmReleaseContext
pop edi
pop ebx
pop ebp
xor eax, eax
pop esi
add esp, 0x40c
ret 8
push eax
mov eax, dword [esp + 0x418]
push eax
push 0x10f
mov ecx, esi
call fcn.0043ae80
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
add esp, 0x40c
ret 8

Function at 0x481890
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
push 0
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push edi
push ebx
push edx
push eax
push ecx
push 0x7c06dc
push 0
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
push 0xb
call fcn.0050b0f7
push eax
push 0
mov ecx, esi
call fcn.0050aa13
test eax, eax
jne 0x4818f3
pop edi
pop esi
pop ebx
ret 0x1c
call fcn.00511fbf
mov eax, dword [eax + 8]
mov edx, dword [esi + 0x1c]
push 0
push eax
push 0
push edx
push edi
push ebx
push 0
push 0
push 0x42300000
push str.Source
push 0x795d94
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x888
push eax
mov dword [esi + 0x98], eax
call edi
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x98]
push 0
push 0
push 0x889
push eax
call edi
mov ecx, dword [esi + 0x98]
push 5
push ecx
mov dword [esi + 0xa0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
ret 0x1c
Function at 0x48f0b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x516318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esi + 0x3378]
mov eax, dword [esi + 0xc34]
push ebx
mov dword [esp + 0x34], ebx
mov edx, dword [ecx + 0x4a4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
call fcn.0050881e
mov edi, dword [esp + 0x3c]
push edi
call fcn.005087f5
add esp, 8
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x48f13d
xor eax, eax
cmp edi, ebx
mov dword [esp + 0x18], edi
jle 0x48f141
push ebp
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov cl, byte [eax + ebp]
mov byte [eax + edx], cl
inc eax
cmp eax, edi
jl 0x48f12b
pop ebp
jmp 0x48f141
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ecx
push eax
mov ecx, esi
mov byte [esp + 0x20], bl
call dword [edx + 0x78]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
push ecx
call fcn.0050881e
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x493c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x516738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00493fc0
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
xor eax, eax
push ebx
mov dword [esp + 0x20], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x30]
push ebp
push eax
lea edi, [esi + 0x10]
push ecx
push edx
push edi
mov dword [esi], 0x77a108
call fcn.00493cb0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ebx
push ebp
push eax
push ecx
push edx
call fcn.00493d10
add esp, 0x2c
mov dword [esi + 0x4c], eax
push edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 0xc], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x495110
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 4]
test al, al
je 0x495127
mov eax, dword [ecx + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov ecx, dword [ecx + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4

Function at 0x495580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5167a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push 0x90
call fcn.005087f5
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x14], ebx
je 0x495656
mov ecx, esi
call fcn.004954b0
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 1
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x10], ebx
call fcn.004df450
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], 5
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], 8
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], 1
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi], 0x77a28c
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4956b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5167c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x77a28c
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 1
je 0x4956ef
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x28]
push eax
call fcn.0050881e
mov eax, dword [esi + 0x34]
mov dword [esi + 0x28], ebx
push eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.0050881e
add esp, 8
lea ecx, [esi + 0x14]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esp + 0x14], bl
call fcn.004df470
mov ecx, esi
call fcn.004954f0
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4970c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5167d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
mov eax, dword [ebx]
xor ebp, ebp
xor esi, esi
cmp eax, ebp
mov dword [esp + 0xc], esi
je 0x4970fe
mov eax, ebx
mov ecx, dword [eax + 4]
add eax, 4
inc esi
cmp ecx, ebp
jne 0x4970ef
mov dword [esp + 0xc], esi
lea eax, [esi*4 + 4]
push eax
call fcn.005087f5
add esp, 4
cmp esi, ebp
mov dword [esp + 0x14], eax
jle 0x497223
push edi
mov edi, eax
sub edi, ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], edi
jmp 0x49712d
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0x40
push 0xffffffffffffffff
push 0x7c073c
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
call fcn.004da9c0
mov ecx, dword [ebx]
xor esi, esi
cmp dword [ecx + 0xc], ebp
jle 0x497195
mov edx, dword [ebx]
push ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
mov eax, dword [edx]
mov eax, dword [eax + esi*4]
push eax
call fcn.004daad0
mov ecx, dword [ebx]
mov edx, dword [ecx + 0xc]
dec edx
cmp esi, edx
je 0x49718d
push ebp
push 0xffffffffffffffff
push 0x795ed4
lea ecx, [esp + 0x28]
call fcn.004daad0
mov eax, dword [ebx]
inc esi
cmp esi, dword [eax + 0xc]
jl 0x49715e
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
call fcn.005087f5
mov edx, eax
add esp, 4
mov dword [edi + ebx], edx
mov edi, dword [esp + 0x1c]
cmp edi, ebp
jne 0x4971b5
mov edi, 0x7c073c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x34], 0xffffffff
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebp
push ecx
call fcn.0050881e
mov eax, dword [esp + 0x40]
add esp, 4
add ebx, 4
dec eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x3c], eax
jne 0x497129
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax + edx*4], ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov dword [eax + esi*4], ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4984d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebx, ecx
or ebp, 0xffffffff
call fcn.00498190
mov eax, dword [ebx + 0x47c]
xor esi, esi
cmp eax, esi
jne 0x4986e5
lea edi, [ebx + 8]
mov dword [ebx + 0x47c], 1
mov ecx, edi
call fcn.0049bdc0
test al, al
jne 0x4986df
mov ecx, edi
call fcn.0049bdf0
mov ecx, edi
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
call fcn.0049c310
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jle 0x4986bf
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
jmp 0x498547
xor esi, esi
mov ecx, ebx
call fcn.00499cb0
lea ecx, [ebx + 8]
mov dword [esp + 0x20], eax
call fcn.0049c320
mov ebp, eax
cmp dword [ebp], 1
jne 0x4985a2
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], 0x420
mov dword [esp + 0x2c], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x44]
jmp 0x4985e0
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], esi
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 0x820
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0049a320
lea ecx, [ebx + 8]
call fcn.0049c330
mov eax, dword [ebp + 4]
mov ecx, ebx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push esi
call fcn.00498170
mov eax, dword [ebp]
mov dword [esp + 0x1c], esi
cmp eax, 1
jne 0x498621
mov eax, dword [ebp + 0xc]
mov edi, 0x21
add eax, esi
mov dword [esp + 0x1c], eax
jmp 0x498626
mov edi, 0x22
cmp dword [esp + 0x18], 1
jle 0x498633
or edi, 0x80
mov ecx, ebx
call fcn.00499cb0
sub eax, dword [esp + 0x20]
je 0x498645
mov byte [esp + 0x12], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
dec ecx
cmp edx, ecx
jne 0x498666
mov cl, byte [esp + 0x12]
or edi, 0x100
test cl, cl
je 0x498666
or edi, 0x1000
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
sub esp, 0x20
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, esp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0049a320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x498545
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 8]
call fcn.0049bdf0
mov cl, byte [esp + 0x13]
mov byte [esp + 0x20], al
cmp cl, al
je 0x4986df
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.0049a2e0
dec dword [ebx + 0x47c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x4986f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebx, ecx
or ebp, 0xffffffff
call fcn.00498190
mov eax, dword [ebx + 0x47c]
xor esi, esi
cmp eax, esi
jne 0x498918
lea edi, [ebx + 8]
mov dword [ebx + 0x47c], 1
mov ecx, edi
call fcn.0049bdc0
test al, al
jne 0x498912
mov ecx, edi
call fcn.0049bdf0
mov ecx, edi
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
call fcn.0049c3e0
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jle 0x4988f2
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
jmp 0x498767
xor esi, esi
mov ecx, ebx
call fcn.00499cb0
lea ecx, [ebx + 8]
mov dword [esp + 0x20], eax
call fcn.0049c320
mov ebp, eax
cmp dword [ebp], esi
jne 0x4987c1
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], 0x440
mov dword [esp + 0x2c], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x44]
jmp 0x4987ff
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], esi
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 0x840
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0049a320
lea ecx, [ebx + 8]
call fcn.0049c3f0
mov eax, dword [ebp + 4]
mov ecx, ebx
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.00498170
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
cdq
sub eax, edx
sar eax, 1
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x498845
mov ecx, dword [ebp + 0xc]
mov esi, 0x41
add eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x49884a
mov esi, 0x42
mov edi, dword [esp + 0x18]
cmp edi, 1
jle 0x498859
or esi, 0x80
mov ecx, ebx
call fcn.00499cb0
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
je 0x49886f
mov byte [esp + 0x12], 1
mov edx, dword [esp + 0x14]
lea eax, [edi - 1]
cmp edx, eax
jne 0x49888e
mov al, byte [esp + 0x12]
or esi, 0x100
test al, al
je 0x49888e
or esi, 0x1000
mov eax, dword [ebp + 4]
sub esp, 0x20
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], ecx
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, esp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0049a320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x498765
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 8]
call fcn.0049bdf0
mov cl, byte [esp + 0x13]
mov byte [esp + 0x20], al
cmp cl, al
je 0x498912
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.0049a2e0
dec dword [ebx + 0x47c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret