joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e0b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
mov eax, 0x1111110e
mov edx, 0x101110e
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x44fd4]
push esi
mov esi, 0xe111111
cmp edx, eax
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x2020207
mov dword [esp + 0x40], 0x2060202
mov dword [esp + 0x44], 0x408101f
mov dword [esp + 0x48], 0xe110102
mov dword [esp + 0x50], 0xe110106
mov dword [esp + 0x54], 0x121f0202
mov dword [esp + 0x58], 0x2060a0a
mov dword [esp + 0x60], 0x1f10101e
mov dword [esp + 0x68], 0xe11101e
mov dword [esp + 0x6c], 0x4040808
mov dword [esp + 0x70], 0x1f010202
mov dword [esp + 0x78], 0xe11110e
mov dword [esp + 0x7c], 0xf01110e
mov dword [esp + 0x80], esi
jge 0x41e169
mov eax, dword [ecx + 0x44fcc]
mov dword [esp + 0x18], eax
jmp 0x41e173
mov ecx, dword [ecx + 0x44fd0]
mov dword [esp + 0x18], ecx
xor ecx, ecx
cmp edx, 0x63
setg cl
add ecx, 2
mov dword [esp + 0xc], 1
mov dword [esp + 0x24], ecx
lea eax, [ecx - 1]
test eax, eax
jle 0x41e1a1
mov esi, dword [esp + 0xc]
lea esi, [esi + esi*4]
shl esi, 1
dec eax
mov dword [esp + 0xc], esi
jne 0x41e191
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x41e2a1
push ebp
mov dword [esp + 0x24], ecx
mov eax, edx
mov ecx, 0xa
cdq
idiv dword [esp + 0x10]
cdq
idiv ecx
mov ecx, 5
mov dword [esp + 0x14], ecx
cmp edx, 1
mov dword [esp + 0x2c], edx
jne 0x41e1e3
mov dword [esp + 0x14], 3
mov ecx, dword [esp + 0x14]
lea edi, [ecx + 0x37]
mov ebx, 0xb
mov dword [esp + 0x20], edi
xor esi, esi
test ecx, ecx
jle 0x41e256
mov ebp, dword [esp + edx*8 + 0x38]
mov edx, dword [esp + edx*8 + 0x3c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x34]
mov ecx, edi
mov eax, ebp
call fcn.004485c0
and eax, 1
xor ecx, ecx
or eax, ecx
je 0x41e246
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x34]
mov eax, esi
push ebx
sub eax, edx
lea edx, [eax + ecx + 3]
push edx
call fcn.0041e040
add esp, 0x14
mov eax, dword [esp + 0x14]
inc esi
dec edi
cmp esi, eax
jl 0x41e201
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov edi, dword [esp + 0x20]
sub edi, 8
dec ebx
cmp ebx, 3
mov dword [esp + 0x20], edi
jg 0x41e1ef
mov eax, 0x66666667
imul dword [esp + 0x10]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
lea eax, [edx + ecx + 1]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x41e1b6
pop ebp
cmp edx, 0x64
jge 0x41e2eb
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
push ebx
push esi
push edi
push 0xb
push 0xf
call fcn.0041e040
push ebx
push esi
push edi
push 0xc
push 0xe
call fcn.0041e040
push ebx
push esi
push edi
push 0xa
push 0xe
call fcn.0041e040
push ebx
push esi
push edi
push 0xb
push 0xd
call fcn.0041e040
add esp, 0x50
pop edi
pop esi
pop ebx
add esp, 0x78
ret 0xc
Function at 0x41fe10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x32c
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x8c]
mov edx, dword [ebx + 0x90]
push edi
add edx, 0xfc
lea ecx, [eax + 0x40]
add eax, 0x14
push ecx
push eax
push edx
lea eax, [esp + 0xb4]
push str._s_s__s.hdt
push eax
call fcn.004478fa
lea ecx, [esp + 0xbc]
push ecx
call fcn.00418f00
add esp, 0x18
test al, al
je 0x420038
push 0x180
lea edx, [esp + 0xac]
push 0x8102
push edx
call fcn.004540bb
mov ebp, eax
push ebp
call fcn.0046754f
add esp, 0x10
test eax, eax
jne 0x41ff6f
mov ecx, 0x25
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
push 4
lea eax, [esp + 0x18]
push str.HDT0
push eax
call fcn.004486f0
mov edx, dword [ebx + 0x8c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
lea edi, [edx + 0x14]
lea esi, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea edi, [edx + 0x40]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x40]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x18], esi
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0x13c]
and ecx, 3
push 0x1004
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 0x60]
push eax
mov dword [esp + 0x60], ecx
mov edx, dword [edx + 0x64]
mov dword [esp + 0x64], edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov dword [esp + 0x64], eax
test eax, eax
jle 0x41ff5a
lea edi, [ebx + 0x120]
push esi
mov ecx, edi
call fcn.00424160
mov cl, byte [eax + 0xc]
mov byte [esp + esi + 0x68], cl
mov dl, byte [eax + 0xd]
mov byte [esp + esi + 0x88], dl
mov eax, dword [esp + 0x64]
inc esi
cmp esi, eax
jl 0x41ff38
lea eax, [esp + 0x14]
push 0x94
push eax
push ebp
call fcn.00451d37
add esp, 0xc
jmp 0x41ff8d
lea ecx, [esp + 0x14]
push 0x94
push ecx
push ebp
call fcn.00451af9
add esp, 0xc
cmp eax, 0x94
jne 0x420038
lea edx, [esp + 0x14]
push 0x4a432c
push edx
call fcn.004487f0
add esp, 8
test eax, eax
je 0x420038
push 2
push 0
push ebp
call fcn.00448d3c
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x1b8]
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esp + 0x64]
xor esi, esi
test eax, eax
jle 0x42000f
add ebx, 0x120
lea edi, [esp + 0x1bc]
push esi
mov ecx, ebx
call fcn.00424160
mov edx, dword [eax]
mov ecx, edi
inc esi
add edi, 0xc
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x64]
cmp esi, eax
jl 0x41ffe9
lea ecx, [esp + 0x1ac]
push 0x190
push ecx
push ebp
call fcn.00451d37
push ebp
call fcn.00450285
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32c
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x32c
ret
Function at 0x428940
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
pop edi
jae 0x4289c6
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x42897e
call fcn.00428a20
mov eax, dword [esp + 4]
cmp eax, 4
jne 0x428993
mov eax, 5
add esp, 0x94
ret
cmp eax, 5
jne 0x4289ac
mov eax, dword [esp + 8]
test eax, eax
jne 0x4289ae
mov eax, 6
add esp, 0x94
ret
jb 0x4289ba
mov eax, 7
add esp, 0x94
ret
mov eax, 1
add esp, 0x94
ret
cmp al, 4
jae 0x4289d3
xor eax, eax
add esp, 0x94
ret
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4289e7
call fcn.00428a20
cmp dword [esp + 4], 4
jne 0x428a0d
mov eax, dword [esp + 8]
cmp eax, 0xa
jne 0x428a03
mov eax, 3
add esp, 0x94
ret
cmp eax, 0x5a
mov eax, 4
je 0x428a12
mov eax, 2
add esp, 0x94
ret

Function at 0x430600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x484c90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], vtable.CFont.0
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x70], ebx
call dword [sym.imp.USER32.dll_CopyRect]
push 0xfffffffffffffffe
lea edx, [esp + 0x18]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x7c]
sub eax, esi
neg ecx
sbb ecx, ecx
mov dword [esp + 0x24], eax
and ecx, 0x12c
mov edi, str.Marlett
add ecx, 0x190
xor eax, eax
mov dword [esp + 0x34], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x28], ebx
shr ecx, 2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 1
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x10]
call fcn.004725bb
mov esi, dword [esp + 0x70]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x28]
push 1
mov ecx, esi
mov edi, eax
call fcn.00471d0c
mov edx, dword [esi]
mov ebx, eax
lea eax, [esp + 0x14]
push 0x21
push eax
lea ecx, [esp + 0x80]
push 1
push ecx
mov ecx, esi
call dword [edx + 0x68]
push ebx
mov ecx, esi
call fcn.00471d0c
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x28]
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x68], 1
call fcn.00472612
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10
Function at 0x431180
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x484cc8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [esp + 0x34]
push edi
push esi
call fcn.00431ee0
mov edi, eax
add esp, 4
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x4312b8
push ebx
push ebp
push 0
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esp + 0x44], eax
call fcn.00471a87
lea ecx, [esp + 0x20]
mov ebx, eax
call fcn.004719e5
test ebx, ebx
mov dword [esp + 0x38], 0
jne 0x4311e3
xor eax, eax
jmp 0x4311e6
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.00471a9c
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
sub eax, edx
sub ecx, ebp
add eax, 0xa
add ecx, 0xa
push eax
push ecx
mov ecx, dword [ebx + 4]
lea esi, [edi + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.004725bb
test esi, esi
je 0x43123b
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x24]
push esi
push edx
call fcn.00471bdd
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0xc]
mov ebp, dword [edi + 8]
sub eax, ecx
mov ecx, dword [esp + 0x18]
add eax, 0xa
sub ecx, dword [esp + 0x10]
add ecx, 0xa
test ebx, ebx
je 0x43126d
mov ebx, dword [ebx + 4]
push 0xcc0020
push edx
push ebp
push ebx
push eax
mov eax, dword [esp + 0x38]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
pop ebp
pop ebx
test esi, esi
je 0x43128f
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call fcn.00471bdd
mov edx, dword [esp + 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00471b1a
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x434560
Capabilities:
Set registry value

Disassembly:
sub esp, 0x110
lea eax, [esp]
push esi
lea ecx, [esp + 0xc]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea edx, [esp + 4]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.MicrosoftWindowsCurrentVersionRun
push ecx
call esi
lea edx, [esp + 0x10]
push 0x104
push edx
push 0
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x10]
push 0x104
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov eax, dword [esp + 4]
test eax, eax
jne 0x434613
push edi
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push 0x4a13b8
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 8], eax
pop edi
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
mov eax, dword [esp + 4]
pop esi
test eax, eax
sete al
add esp, 0x110
ret

Function at 0x434640
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push eax
push 0x20019
push 0
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push 0xf003f
push 0
push str.MicrosoftWindowsCurrentVersionRun
push edx
call esi
mov esi, eax
test esi, esi
jne 0x434693
mov eax, dword [esp + 8]
push 0x4a13b8
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
test esi, esi
pop edi
pop esi
sete al
add esp, 8
ret

Function at 0x438260
Capabilities:
Link many functions at runtime

Disassembly:
mov ecx, 0x4a8278
jmp 0x438260
push esi
mov esi, ecx
push str.uxtheme.dll
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x14], eax
je 0x4382ca
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsThemeActive
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x14]
push str.OpenThemeData
push eax
call edi
mov ecx, dword [esi + 0x14]
push str.CloseThemeData
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x14]
push str.GetThemeBackgroundContentRect
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
push str.DrawThemeBackground
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, esi
pop edi
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x43a690
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x200
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x134]
push 0
push 0
push 0x1009
push eax
call esi
mov ecx, dword [ebx + 0x170]
push 0
push 0
push 0x147
push ecx
call esi
mov edx, eax
push 0x8002
shl edx, 6
add edx, eax
lea eax, [ebx + edx*4 + 0x238]
push eax
call fcn.004540bb
lea ecx, [ebx + 0x19c]
push 0x94
push ecx
push eax
mov dword [ebx + 0x230], eax
call fcn.00451af9
add esp, 0x14
cmp eax, 0x94
je 0x43a71e
mov edx, dword [ebx + 0x230]
push edx
call fcn.00450285
add esp, 4
mov ecx, ebx
call fcn.0043a8a0
pop esi
pop ebx
add esp, 0x200
ret
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [ebx + 0x22c0]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1ec]
test eax, eax
jle 0x43a7d2
push ebp
mov ebp, 0xfffffe10
lea esi, [ebx + 0x1f0]
sub ebp, ebx
xor ecx, ecx
xor eax, eax
mov cl, byte [esi]
mov al, byte [esi + 0x20]
lea edx, [esp + 0x110]
mov dword [ebx + ecx*4 + 0x22c0], eax
xor eax, eax
mov al, byte [esi]
push edx
push eax
call fcn.00415b20
xor ecx, ecx
push eax
mov cl, byte [esi]
lea edx, [esp + 0x1c]
push ecx
push str.__02X___s
push edx
call fcn.004478fa
add esp, 0x18
lea eax, [esp + 0x10]
lea edi, [esi + ebp]
lea ecx, [ebx + 0x118]
push 0
push 0
push 0
push 0
push eax
push edi
push 3
call fcn.004683ed
xor ecx, ecx
mov cl, byte [esi]
push ecx
push 0
push 0
push 0
push 0
push 4
push 0
push edi
lea ecx, [ebx + 0x118]
call fcn.0046846f
mov eax, dword [ebx + 0x1ec]
inc esi
lea edx, [esi + ebp]
cmp edx, eax
jl 0x43a74a
pop ebp
mov eax, dword [ebx + 0x230]
push eax
call fcn.0046754f
mov ecx, eax
mov eax, 0x51eb851f
sub ecx, 0x94
add esp, 4
mul ecx
shr edx, 7
mov dword [ebx + 0x22b8], edx
pop edi
lea eax, [edx + edx*4]
lea esi, [eax + eax*4]
mov eax, dword [ebx + 0x22bc]
shl esi, 4
test eax, eax
je 0x43a816
push eax
call fcn.0046e3a2
add esp, 4
mov eax, dword [ebx + 0x22b8]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 4
push edx
call fcn.0046e379
add esp, 4
mov dword [ebx + 0x22bc], eax
test eax, eax
je 0x43a849
push esi
push eax
mov eax, dword [ebx + 0x230]
push eax
call fcn.00451af9
add esp, 0xc
mov ecx, ebx
call fcn.0043a8a0
pop esi
pop ebx
add esp, 0x200
ret

Function at 0x43d360
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x1c]
push 0
push 0x476
push eax
call ebx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43d3d8
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43d3d8
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x14], 0xffffff37
mov dword [esp + 0xc], ecx
mov ecx, esi
call fcn.0046dc2f
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
push edx
push eax
push 0x4e
push edi
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x43d3cf
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x450ce1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4a70e8
cmp edx, dword [eax]
je 0x450d03
add eax, 8
inc ecx
cmp eax, 0x4a7178
jl 0x450cf4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4a70e8]
jne 0x450e31
mov eax, dword [0x4aa378]
cmp eax, 1
je 0x450e0b
test eax, eax
jne 0x450d34
cmp dword [0x4a6834], 1
je 0x450e0b
cmp edx, 0xfc
je 0x450e31
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x450d6b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00451760
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0044fe50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x450dae
lea eax, [ebp - 0x1a4]
push eax
call fcn.0044fe50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x491ff4
push edi
call fcn.004486f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00451760
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00451770
lea eax, [ebp - 0xa0]
push 0x4a3298
push eax
call fcn.00451770
push dword [esi + 0x4a70ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.00451770
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004543e3
add esp, 0x2c
pop edi
jmp 0x450e31
lea eax, [ebp + 8]
lea esi, [esi + 0x4a70ec]
push 0
push eax
push dword [esi]
call fcn.0044fe50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x45d710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487781
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esi + 8], edi
mov dword [esi + 4], vtable.CFont.0
mov dword [esp + 0x1c], edi
mov dword [esi + 0x5c], 0x492ba0
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
mov ebx, 1
lea ecx, [esi + 0x70]
mov byte [esp + 0x1c], bl
call fcn.004697a1
lea ebp, [esi + 0x14]
mov dword [esi + 0x84], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov ecx, 0xa
xor eax, eax
mov edi, ebp
mov dword [esi], 0x492b9c
mov dword [esi + 0x40], ebx
mov ebx, dword [esp + 0x24]
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
mov byte [esp + 0x1c], 2
cmp ebx, ecx
jne 0x45d7a8
mov dword [esi + 0x24], ecx
jmp 0x45d7cb
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
inc edi
push edi
call fcn.0046e379
push ebx
push edi
push eax
mov dword [esi + 0x24], eax
call fcn.004609a0
add esp, 0x10
or ecx, 0xffffffff
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 8
mov dword [ebp], 0x11
mov dword [esi + 0x18], esi
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x3c], 0x8000
call edi
push 5
mov dword [esi + 0xc], eax
call edi
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x45ff70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4879a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x4a5850]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
push ecx
lea ecx, [esi + 0x3c]
call fcn.0046b9bf
mov edx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push edx
call edi
push eax
call fcn.0046afc9
mov eax, dword [eax + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.0046dc2f
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
test eax, eax
mov dword [esp + 0x18], 0xffffff96
mov dword [esp + 0x1c], 1
je 0x45fff3
mov ecx, dword [esi + 0x250]
mov dword [esp + 0x20], ecx
jmp 0x45fffb
mov dword [esp + 0x20], 0xffffffff
mov edx, dword [esi + 0x24c]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
mov eax, dword [eax - 8]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.0046afc9
mov ecx, dword [esi + 0x1c]
mov ebx, eax
push ecx
call edi
push eax
call fcn.0046afc9
mov edx, dword [eax + 0x1c]
push edx
call edi
push eax
call fcn.0046afc9
mov ecx, ebx
mov edi, eax
call fcn.0046dc2f
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x4e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0046f0bc
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4

Function at 0x460e90
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x487a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
push 0x100c
push 0x800
call esi
mov ecx, dword [0x4a5850]
mov dword [esp + 4], ecx
push eax
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.0046f4ef
push eax
push 0x100c
push 0x800
call esi
mov edx, dword [esp + 4]
lea ecx, [esp + 4]
mov eax, dword [edx - 8]
push eax
call fcn.0046f478
push eax
call fcn.00447ced
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
push 0xffffffffffffffff
call fcn.0046f4c7
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.0046f0bc
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x460f40
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x487a6a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046aba8
lea edi, [esi + 0x3c]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.0046aba8
mov dword [edi], vtable.CEdit.0
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x78], vtable.CFont.0
push ebp
push ebp
push ebp
push 0x1f
push 0xc
mov dword [esi + 0x80], ebp
lea ecx, [esi + 0x8c]
push 0x270f
mov byte [esp + 0x30], 2
mov dword [esi + 0x84], ebp
mov dword [esi + 0x88], ebp
call fcn.004471df
push ebp
push ebp
push ebp
push 1
push 1
lea ecx, [esi + 0x98]
push 0x64
call fcn.004471df
lea ecx, [esi + 0xa8]
call fcn.004619f0
push 0x4a7a28
lea ecx, [esi + 0x248]
mov byte [esp + 0x1c], 3
mov dword [esi + 0x240], ebp
call fcn.0046f12a
mov dword [esi], method.CWnd.virtual_0
mov byte [esp + 0x18], 4
mov dword [esi + 0x88], 2
call fcn.00460e90
mov dword [esi + 0xa4], eax
mov eax, dword [0x4aa8a0]
cmp eax, ebp
je 0x46101d
cmp dword [0x4aa888], ebp
jne 0x461022
call fcn.00460d30
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret