joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a485c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push ebp
push edx
push eax
mov ecx, esi
call fcn.00401c60
mov dword [esp + 0x20], 0
lea edi, [esi + 0x58]
lea ecx, [edi + 4]
mov dword [esi], 0x4b1780
push ecx
mov dword [edi], vtable.FCRect.0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov byte [esp + 0x20], 1
lea ebx, [esi + 0x6c]
mov ecx, ebx
mov dword [ebx], vtable.FCString.0
call fcn.00439660
push 0
push 0x100
mov ecx, ebx
call fcn.0041d850
mov byte [esp + 0x20], 2
lea ecx, [esi + 0x84]
xor ebx, ebx
mov dword [ecx], vtable.FCFont.0
mov dword [ecx + 0x40], ebx
call fcn.00421c00
mov byte [esp + 0x20], 3
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], 0x28
mov dword [esi + 0x80], ebx
mov dword [edi + 4], eax
add eax, edx
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 8], ebp
add ebp, eax
mov ecx, edi
mov dword [edi + 0x10], ebp
call fcn.0041f920
mov dword [esp + 0x20], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14

Function at 0x402160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a48f1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.FCVSurface.0
mov dword [esp + 0x14], 2
call fcn.0042b650
mov byte [esp + 0x14], 1
mov dword [esi + 0x74], vtable.FCRect.0
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x30]
call fcn.00423e70
mov dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x10], vtable.FCCriticalSection.0
add esi, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x402700
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x84
mov eax, dword [0x4d92d4]
xor eax, esp
mov dword [esp + 0x80], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x6fc]
test eax, eax
je 0x40275e
push 0x80
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jle 0x40275e
mov eax, dword [esi + 0x6f8]
test eax, eax
jl 0x40275e
cmp eax, 4
jge 0x40275e
lea edx, [esp + 4]
push edx
lea eax, [eax + eax*2 + 0x1e9]
push 0x100
lea ecx, [esi + eax*4]
call fcn.0041d850
mov ecx, dword [esp + 0x84]
pop esi
xor ecx, esp
call fcn.0041c78e
add esp, 0x84
ret
Function at 0x402780
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4a4aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d92d4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x6fc]
test eax, eax
je 0x402960
push 0x20
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.FCString.0
call fcn.00439660
push 0
push 0x100
lea ecx, [esp + 0x28]
call fcn.0041d850
mov dword [esp + 0x58], 0
lea edx, [esp + 0x2c]
push edx
push 0x100
lea ecx, [esp + 0x28]
call fcn.0041d850
mov eax, dword [esp + 0x24]
cmp dword [eax + 8], 0
je 0x40294f
mov ecx, dword [edi + 0x6fc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb0
push ecx
call ebx
movzx esi, ax
shr eax, 0x10
mov ebp, eax
cmp esi, ebp
jne 0x4028c3
test esi, esi
jle 0x40294f
lea ecx, [esp + 0x14]
call fcn.00401000
mov byte [esp + 0x58], 1
lea ebp, [esp + esi + 0x2c]
push ebp
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_CharPrevA]
mov esi, eax
lea eax, [esp + 0x2c]
cmp esi, eax
jbe 0x40288c
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x14]
lea ecx, [esp + 0x2c]
mov edx, esi
sub edx, ecx
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0041db00
push ebp
lea ecx, [esp + 0x18]
call fcn.0041d9f0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x14]
push eax
mov eax, dword [edi + 0x6fc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [edi + 0x6fc]
mov eax, esi
lea ecx, [esp + 0x2c]
sub eax, ecx
push eax
push eax
push 0xb1
push edx
jmp 0x40293f
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.FCString.0
call fcn.00439660
push 0
push 0x100
lea ecx, [esp + 0x1c]
call fcn.0041d850
mov byte [esp + 0x58], 2
test esi, esi
jle 0x4028ff
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x14]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0041db00
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 8]
cmp ebp, eax
jge 0x40291c
mov ecx, dword [ecx + 0x14]
sub eax, ebp
add ecx, ebp
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041db00
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x14]
mov edx, dword [edi + 0x6fc]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [edi + 0x6fc]
push esi
push esi
push 0xb1
push eax
call ebx
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x14]
call fcn.0041d940
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0041d940
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041c78e
add esp, 0x48
ret
Function at 0x402980
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4a4ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d92d4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x6fc]
test eax, eax
je 0x402b0d
push 0x20
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.FCString.0
call fcn.00439660
push 0
push 0x100
lea ecx, [esp + 0x1c]
call fcn.0041d850
mov dword [esp + 0x58], 0
lea edx, [esp + 0x2c]
push edx
push 0x100
lea ecx, [esp + 0x1c]
call fcn.0041d850
mov eax, dword [esi + 0x6fc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xd5
push eax
call ebx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 8]
add eax, 0xfffffffe
cmp ecx, eax
jg 0x402afc
mov edx, dword [esi + 0x6fc]
push 0
push 0
push 0xb0
push edx
call ebx
movzx edi, ax
shr eax, 0x10
lea ecx, [esp + 0x20]
mov ebp, eax
mov byte [esp + 0x2c], 0x81
mov byte [esp + 0x2d], 0x40
mov byte [esp + 0x2e], 0
mov dword [esp + 0x20], vtable.FCString.0
call fcn.00439660
push 0
push 0x100
lea ecx, [esp + 0x28]
call fcn.0041d850
mov byte [esp + 0x58], 1
test edi, edi
jle 0x402a9b
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.0041db00
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
call fcn.0041d9f0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
cmp ebp, eax
jge 0x402ac6
mov ecx, dword [ecx + 0x14]
sub eax, ebp
add ecx, ebp
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.0041db00
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x14]
push eax
mov eax, dword [esi + 0x6fc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [esi + 0x6fc]
lea eax, [edi + 2]
push eax
push eax
push 0xb1
push ecx
call ebx
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x20]
call fcn.0041d940
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0041d940
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041c78e
add esp, 0x48
ret
Function at 0x402fa0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a4b71
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esi + 0x14]
mov dword [esi], vtable.FCVSurface.0
xor edi, edi
push eax
mov dword [esi + 0x10], vtable.FCCriticalSection.0
mov dword [esi + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x18], edi
lea ecx, [esi + 0x30]
push 1
push edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.00424070
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x78]
push ecx
mov dword [esi + 0x74], vtable.FCRect.0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov byte [esp + 0x18], 2
mov ecx, esi
call fcn.00424160
push 0xffffffffffffffff
push 0x10
push 0x10
mov ecx, esi
call fcn.0042b6b0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x403050
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a4bb1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esi + 0x14]
mov dword [esi], vtable.FCVSurface.0
xor edi, edi
push eax
mov dword [esi + 0x10], vtable.FCCriticalSection.0
mov dword [esi + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x18], edi
lea ecx, [esi + 0x30]
push 1
push edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.00424070
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x78]
push ecx
mov dword [esi + 0x74], vtable.FCRect.0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov byte [esp + 0x18], 2
mov ecx, esi
call fcn.00424160
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0042b6b0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x403210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4c38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
add ecx, eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 8]
mov dword [esp + 8], vtable.FCRect.0
call fcn.0041f920
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x150], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x154], edx
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], ecx
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 8], vtable.FCRect.0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 0x10
Function at 0x407d90
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x814
mov eax, dword [0x4d92d4]
xor eax, esp
mov dword [esp + 0x810], eax
push esi
push edi
mov edi, dword [esp + 0x820]
push 0x400
lea eax, [esp + 0x1c]
push 0
push eax
mov esi, ecx
call sub.MSVCR80.dll_memset
push 0x400
lea ecx, [esp + 0x428]
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0x18
push 0x400
lea edx, [esp + 0x1c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x400
lea eax, [esp + 0x41c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x407fd4
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
jne 0x407fd4
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x407fd4
push str.Progman
lea edx, [esp + 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x407fd4
mov eax, dword [esi + 0x1950]
sub eax, 0
je 0x407fcd
sub eax, 1
je 0x407f25
sub eax, 1
jne 0x407fd4
mov eax, dword [esi + 0x1954]
cmp dword [esi + 0x1958], eax
jge 0x407f33
cmp edi, dword [esi + 4]
je 0x407fd4
push ebx
xor ebx, ebx
test eax, eax
jle 0x407f18
push ebp
xor ebp, ebp
mov eax, dword [esi + 0x1968]
cmp edi, dword [eax + ebx*4]
jne 0x407ece
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x195c]
add ecx, ebp
call fcn.004059a0
test al, al
je 0x407ece
mov ecx, dword [esi + 0x1960]
lea edx, [esp + 0x420]
push edx
add ecx, ebp
call fcn.004059a0
test al, al
jne 0x407eea
add ebx, 1
add ebp, 0xc
cmp ebx, dword [esi + 0x1954]
jl 0x407e94
add dword [esi + 0x1958], 1
pop ebp
pop ebx
jmp 0x407fd4
mov ecx, dword [esi + 0x1964]
lea eax, [ebx + ebx*4]
mov edx, dword [ecx + eax*4 + 0x10]
sub edx, dword [ecx + eax*4 + 8]
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
push 1
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
pop ebp
add dword [esi + 0x1958], 1
pop ebx
jmp 0x407fd4
mov ecx, dword [esi + 0x1958]
cmp ecx, dword [esi + 0x1954]
jl 0x407f3a
xor eax, eax
jmp 0x407fd9
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x407fd4
cmp edi, dword [esi + 4]
je 0x407fd4
mov eax, dword [esi + 0x1958]
mov ecx, dword [esi + 0x195c]
lea edx, [esp + 0x18]
lea eax, [eax + eax*2]
push edx
lea ecx, [ecx + eax*4]
call fcn.00401020
mov eax, dword [esi + 0x1958]
mov ecx, dword [esi + 0x1960]
lea edx, [esp + 0x418]
lea eax, [eax + eax*2]
push edx
lea ecx, [ecx + eax*4]
call fcn.00401020
mov edx, dword [esi + 0x1958]
mov eax, dword [esi + 0x1968]
lea ecx, [esp + 8]
push ecx
push edi
mov dword [eax + edx*4], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x1958]
mov ecx, dword [esi + 0x1964]
lea edx, [esp + 8]
lea eax, [eax + eax*4]
push edx
lea ecx, [ecx + eax*4]
call fcn.00405a50
add dword [esi + 0x1958], 1
jmp 0x407fd4
add dword [esi + 0x1954], 1
mov eax, 1
mov ecx, dword [esp + 0x818]
pop edi
pop esi
xor ecx, esp
call fcn.0041c78e
add esp, 0x814
ret 4
Function at 0x40e9b0
Capabilities:
Enumerate gui resources

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x195c], edi
je 0x40ea98
cmp dword [esi + 0x1960], edi
je 0x40ea98
cmp dword [esi + 0x1964], edi
je 0x40ea98
cmp dword [esi + 0x1968], edi
je 0x40ea98
push esi
push 0x40b360
mov dword [esi + 0x1950], 2
mov dword [esi + 0x1958], edi
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esi + 0x195c]
cmp ecx, edi
je 0x40ea27
cmp dword [ecx - 4], edi
lea eax, [ecx - 4]
je 0x40ea1e
mov eax, dword [ecx]
mov edx, dword [eax]
push 3
call edx
jmp 0x40ea27
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esi + 0x1960]
cmp ecx, edi
je 0x40ea4c
cmp dword [ecx - 4], edi
lea eax, [ecx - 4]
je 0x40ea43
mov eax, dword [ecx]
mov edx, dword [eax]
push 3
call edx
jmp 0x40ea4c
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esi + 0x1964]
cmp ecx, edi
je 0x40ea71
cmp dword [ecx - 4], edi
lea eax, [ecx - 4]
je 0x40ea68
mov eax, dword [ecx]
mov edx, dword [eax]
push 3
call edx
jmp 0x40ea71
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esi + 0x1968]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 0x195c], edi
mov dword [esi + 0x1960], edi
mov dword [esi + 0x1964], edi
mov dword [esi + 0x1968], edi
pop edi
pop esi
ret

Function at 0x40f5f0
Capabilities:
Enumerate gui resources

Disassembly:
push esi
push 0x3e8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.0040b2e0
mov ecx, esi
pop esi
jmp fcn.0040e9b0
Function at 0x40f800
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4a67a0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x5c]
xor ebx, ebx
push ebx
push esi
mov byte [esp + 0x1b], bl
call fcn.00437130
add esp, 8
test eax, eax
je 0x40f909
lea ecx, [esp + 0x20]
call fcn.00405d90
mov dword [esp + 0x54], ebx
push ebx
push 0x80
push 1
push Ordinal_1
push 3
push esi
lea ecx, [esp + 0x38]
call fcn.00437900
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [esp + 0x14], ebx
mov edi, eax
jne 0x40f8e1
cmp edi, ebx
jbe 0x40f8e1
push ebx
push edi
mov dword [esp + 0x20], ebx
call fcn.0043fa90
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
mov byte [esp + 0x54], 1
cmp esi, ebx
je 0x40f8cb
push edi
push esi
lea ecx, [esp + 0x28]
call fcn.004374a0
lea edx, [esp + 0x1c]
push edx
push ebx
push edi
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
test eax, eax
je 0x40f8cb
mov byte [esp + 0x13], 1
mov byte [esp + 0x54], bl
cmp esi, ebx
je 0x40f8e1
push ebx
push esi
call fcn.0043fae0
add esp, 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00405e00
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret
mov al, bl
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x410420
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a69d6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
movzx eax, word [esp + 0x20]
lea edi, [esi + 0x18]
mov dword [esi], vtable.FCDialogBase.0
mov dword [esi + 8], eax
mov ecx, edi
mov dword [edi], vtable.FCString.0
call fcn.00439660
push 0
push 0x100
mov ecx, edi
call fcn.0041d850
mov dword [esp + 0x18], 0
mov dword [esi + 0x28], vtable.FCXList_class_FCDialogBase::POS__.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [esp + 0x18], 1
mov ecx, esi
call fcn.004385c0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x417b50
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4a77b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
push 0x7777
lea ecx, [esp + 0x28]
call fcn.00405bb0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov eax, dword [eax + 0x14]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x417d04
push edi
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
jne 0x417be1
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00405cb0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov eax, dword [edx + 0x14]
push esi
push edi
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push str.StringFileInfo041104b0FileVersion
push esi
call sub.VERSION.dll_VerQueryValueA
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.FCString.0
call fcn.00439660
push 0
push 0x100
lea ecx, [esp + 0x20]
call fcn.0041d850
mov byte [esp + 0x3c], 1
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041d9f0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x14]
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
call fcn.0041f5b0
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
push 0x4b3d58
lea ecx, [esp + 0x1c]
call fcn.0041df00
push 0
push 0
push 0x4b3d58
lea ecx, [esp + 0x24]
call fcn.0041e5d0
push 1
lea ecx, [esp + 0x1c]
call fcn.0041f5b0
mov edx, dword [esp + 0x48]
push 0x4b3d58
lea ecx, [esp + 0x1c]
mov dword [edx], eax
call fcn.0041df00
push 0
push 0
push 0x4b3d58
lea ecx, [esp + 0x24]
call fcn.0041e5d0
push 1
lea ecx, [esp + 0x1c]
call fcn.0041f5b0
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
push 0x4b3d58
lea ecx, [esp + 0x1c]
call fcn.0041df00
push 0
push 0
push 0x4b3d58
lea ecx, [esp + 0x24]
call fcn.0041e5d0
push 1
lea ecx, [esp + 0x1c]
call fcn.0041f5b0
mov edx, dword [esp + 0x50]
push esi
mov dword [edx], eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x3c], 0
lea ecx, [esp + 0x18]
call fcn.0041d940
or eax, 0xffffffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], vtable.FCPathName.0
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x28]
call fcn.0041d940
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret
Function at 0x417ff0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x804
mov eax, dword [0x4d92d4]
xor eax, esp
mov dword [esp + 0x800], eax
mov ecx, dword [esp + 0x810]
xor al, al
cmp dword [ecx + 0xc], 0x201
push esi
mov esi, dword [esp + 0x80c]
jne 0x418071
mov eax, dword [esi + 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
mov edi, dword [esp + 0x818]
add ecx, 0x18
push ecx
push 0
push 0x437
push edi
push eax
call ebx
mov edx, dword [esi + 4]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x43e
push edi
push edx
call ebx
mov esi, dword [esi + 4]
push 1
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
pop edi
seta al
pop ebx
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.0041c78e
add esp, 0x804
ret
Function at 0x41ba90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a7e03
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0041b800
xor edi, edi
mov dword [esp + 0x18], edi
push edi
lea ecx, [esi + 0x34]
call fcn.004491c0
mov byte [esp + 0x18], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x41c580
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x14]
xor esi, esi
cmp eax, esi
mov dword [esp + 8], esi
je 0x41c5e3
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
push esi
push ebx
push eax
call ebp
test eax, eax
jne 0x41c5d9
mov eax, dword [esp + 0x10]
push eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x41c5db
mov eax, dword [edi + 0x14]
lea ecx, [esp + 0x10]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
push 0
push ebx
push eax
call ebp
mov eax, esi
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret 8
pop edi
mov eax, esi
pop esi
pop ecx
ret 8

Function at 0x41c78e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d92d4]
jne 0x41c798
repz ret
jmp fcn.0041cd3a

Function at 0x41f210
Capabilities:
Clear file content

Disassembly:
push 0xffffffffffffffff
push 0x4a8368
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
mov eax, dword [0x4d92d4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.00405d90
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x44]
push 0
push 0x80
push 1
push 0xc0000000
push 4
push eax
lea ecx, [esp + 0x20]
call fcn.00437900
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0041e720
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 8]
call fcn.00405e00
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x38
ret 4