joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45df38
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45df4f
add esp, 0xfffffff0
call fcn.00404008
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041accc
mov eax, dword [0x47b150]
cmp word [eax + 2], 0
jne 0x45df77
mov eax, dword [0x47b150]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f610
mov eax, dword [0x47b204]
cmp word [eax + 2], 0
jne 0x45df91
mov eax, dword [0x47b204]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f808
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412e04]
call fcn.00403cb4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412e04]
call fcn.00403cb4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41d234]
call fcn.00424aa0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45e118
mov eax, dword [0x47b064]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424e70
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45fdb8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47b064]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d86c
test eax, eax
je 0x45e086
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409444
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d894
test eax, eax
je 0x45e09a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404ca4
mov eax, dword [0x47af34]
cmp byte [eax], 0
jne 0x45e0ce
mov eax, ebx
call fcn.0045e240
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045ff94
mov eax, ebx
call fcn.00460958
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e10e
call fcn.00404060
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e4c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47cbe4]
cmp dword [eax + 0x30], 0
je 0x45e56a
cmp dword [ebx + 0x94], 0
jne 0x45e564
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e450
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e564
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45e52a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e564
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041516c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e539
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f0cc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45f101
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404b24
jmp 0x45f10e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a88
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460170
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4601b1
mov eax, esi
call fcn.004466e0
test al, al
je 0x4601b1
mov eax, dword [ebx + 0x84]
call fcn.004463dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4601b1
push 0
mov eax, dword [ebx + 0x84]
call fcn.004463dc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x464804
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464975
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464950
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404c1c
lea eax, [ebp - 0x118]
mov edx, 0x46498c
call fcn.00404cfc
mov eax, dword [ebp - 0x118]
call fcn.00404ef4
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4648c2
lea eax, [ebp - 0x111]
call fcn.00409408
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404b24
jmp 0x4648c9
mov eax, esi
call fcn.00404a34
cmp bl, 0x61
jae 0x4648ea
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040d740
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404a88
jmp 0x464904
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d6b4
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404a88
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x464998
call fcn.00409ad0
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404a88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464957
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401443
pop dword [ebp - 0x40]
mov eax, 0xdde8d3e
add eax, 0xf2618705
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xbf45548b
sub dword [ebp - 0x50], 0x70f30f40
mov dword [ebp - 0x4c], 0x9c1809d3
add dword [ebp - 0x4c], 0x961b4272
mov dword [ebp - 0x48], 0xc3cde0a3
sub dword [ebp - 0x48], 0x77819c75
mov dword [ebp - 0x44], 0x8ac3c051
sub dword [ebp - 0x44], 0x8ac3c051
lea eax, [ebp - 0x50]
push eax
mov eax, 0xdf2510da
sub eax, 0xdee48fd6
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xc3c9a06f
add dword [ebp - 0x50], 0xb0a8c8e7
mov dword [ebp - 0x4c], 0x2640c4a5
add dword [ebp - 0x4c], 0x1b2b9cd0
mov dword [ebp - 0x48], 0x6e58c52a
add dword [ebp - 0x48], 0xf516a742
mov dword [ebp - 0x44], 0xd37ddf96
sub dword [ebp - 0x44], 0xd37ddf96
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x68bd5b29
sub eax, 0x687cda29
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x376be
push 0
call eax
mov ecx, 0x49331e2f
add ecx, 0xb6cd2657
xor edx, edx
add edx, eax
mov esi, 0x42531c80
sub esi, 0x420c3880
add esi, dword [ebp - 0x40]
mov ebx, 0x69e751d7
sub ebx, 0x1f0a1580
xor dword [ebp - 0x1c], 0xdae78f3a
mov edi, dword [esi]
sub dword [ebp - 0x30], ecx
xor edi, ebx
add dword [ebp - 0x14], esi
mov dword [edx], edi
sub dword [ebp - 0x18], esi
add edx, 0x5e211ecd
sub edx, 0x5e211ec9
add esi, 0x7c616079
sub esi, 0x7c616075
loop 0x401567
add eax, 0x4ab9b919
sub eax, 0x4ab8b42e
xor ebx, ebx
add ebx, eax
add eax, 0x7ed9ff84
sub eax, 0x7ed9ff7f
mov ecx, 0x7d5fdd02
add ecx, 0x82e022fe
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x40324c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40325b
pop dword [ebp - 0xc]
mov eax, 0xb5ae2169
sub eax, 0xb56def0e
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x1b8595fb
sub dword [ebp - 0x1c], 0xcd3350b0
mov dword [ebp - 0x18], 0x85faa072
add dword [ebp - 0x18], 0xac38abd3
mov dword [ebp - 0x14], 0xca1301ac
sub dword [ebp - 0x14], 0x7dc6bd7e
mov dword [ebp - 0x10], 0x3d92f5ad
add dword [ebp - 0x10], 0xc26d0a53
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x4d41e019
sub eax, 0x4d015fa1
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x20a734d9
add dword [ebp - 0x1c], 0x53cb347d
mov dword [ebp - 0x18], 0x9307b254
sub dword [ebp - 0x18], 0x519b50df
mov dword [ebp - 0x14], 0x3cc827c2
add dword [ebp - 0x14], 0x26a744aa
mov dword [ebp - 0x10], 0x82c9a178
add dword [ebp - 0x10], 0x7d365e88
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3c7c0
push 0
call eax
mov ecx, 0x7cba5cb6
add ecx, 0x8346011a
xor esi, esi
add esi, eax
mov edx, 0x451400
add edx, dword [ebp - 0xc]
mov edi, 0x7eb1fd12
add edi, 0x2f9dedcb
add dword [ebp - 8], edi
mov ebx, dword [edx]
add dword [ebp - 4], 0x6aa9a49e
xor ebx, edi
add dword [ebp - 8], 0xe7852fff
mov dword [esi], ebx
xor dword [ebp - 8], 0xd26c21ab
add esi, 4
add edx, 0xd3f6849
add edx, 0xf2c097bb
loop 0x403374
add eax, 0x16a13
mov ebx, eax
add eax, 0x80b137c5
add eax, 0x7f4ec840
mov ecx, 0xf3f4511a
add ecx, 0xc4baee6
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40a60b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40a61a
pop dword [ebp - 0x18]
mov eax, 0x7f7b29d4
sub eax, 0x7f3a83ba
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xe33a29d5
add dword [ebp - 0x28], 0x6b181b76
mov dword [ebp - 0x24], 0xfb19d4bf
add dword [ebp - 0x24], 0x37197786
mov dword [ebp - 0x20], 0xebf3607b
sub dword [ebp - 0x20], 0x9fa71c4d
mov dword [ebp - 0x1c], 0x3549686a
add dword [ebp - 0x1c], 0xcab69796
lea eax, [ebp - 0x28]
push eax
mov eax, 0x99a4d7d9
add eax, 0x669bf87b
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xef6c87c0
add dword [ebp - 0x28], 0x8505e196
mov dword [ebp - 0x24], 0x28c8c865
add dword [ebp - 0x24], 0x18a39910
mov dword [ebp - 0x20], 0x1de4940d
add dword [ebp - 0x20], 0x458ad85f
mov dword [ebp - 0x1c], 0xbaf4e817
sub dword [ebp - 0x1c], 0xbaf4e817
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x967a6a39
add eax, 0x69c66613
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x394cc
push 0
call eax
mov ecx, 0x6a14f97a
add ecx, 0x95eb4c3e
mov esi, eax
mov edi, 0x41b000
add edi, dword [ebp - 0x18]
mov edx, 0x923f0799
add edx, 0x198f854
sub dword [ebp - 0x10], eax
mov ebx, dword [edi]
mov dword [ebp - 0x14], 0xbd337f42
xor ebx, edx
mov dword [esi], ebx
add esi, 0xd695ebef
add esi, 0x296a1415
add edi, 4
loop 0x40a736
add eax, 0x884783a6
sub eax, 0x884679f3
mov ebx, eax
add eax, 5
mov ecx, 0x4d828a71
add ecx, 0xb2bd758f
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
nop
mov ecx, 0x9ae4c09
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2cb53e27
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4012c6
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
mov esi, dword [eax + 0xc]
jmp 0x40138f
mov edx, dword [esi + 0x18]
xor edi, edi
mov eax, dword [esi + 0x30]
mov ebx, dword [esi + 0x2c]
mov esi, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x3c]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], esi
mov eax, dword [eax + edx + 0x78]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40138f
shr ebx, 0x10
xor ecx, ecx
test ebx, ebx
je 0x401341
mov esi, dword [ebp - 4]
movsx edx, byte [esi + ecx]
ror edi, 0xd
cmp byte [esi + ecx], 0x61
mov dword [ebp - 4], edx
jl 0x401330
mov eax, edx
add eax, 0xffffffe0
add edi, eax
jmp 0x401333
add edi, dword [ebp - 4]
inc ecx
cmp ecx, ebx
jb 0x401317
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x18]
xor ebx, ebx
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + edx + 0x20]
add ecx, edx
cmp dword [eax + edx + 0x18], ebx
jbe 0x40138f
mov esi, dword [ecx]
xor eax, eax
add esi, edx
add ecx, 4
mov dword [ebp - 0x1c], ecx
mov edx, eax
mov cl, byte [esi]
ror edx, 0xd
movsx eax, cl
add edx, eax
inc esi
test cl, cl
jne 0x401364
mov esi, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add eax, edi
cmp eax, dword [ebp - 0x14]
je 0x4013a0
mov ecx, dword [ebp - 0x1c]
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0x401356
cmp dword [esi + 0x18], 0
jne 0x4012e3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x40139b
Function at 0x4013bc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
mov ecx, 0x726774c
call fcn.004012c6
lea ecx, [ebp - 0xc]
mov dword [esi], eax
push ecx
mov dword [ebp - 0xc], 0x72657375
mov dword [ebp - 8], 0x642e3233
mov word [ebp - 4], 0x6c6c
mov byte [ebp - 2], 0
call eax
mov ecx, 0x7568345
call fcn.004012c6
mov dword [esi + 4], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 0x5f327377
mov dword [ebp - 0x14], 0x642e3233
mov word [ebp - 0x10], 0x6c6c
mov byte [ebp - 0xe], 0
call dword [esi]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x6376736d
push eax
mov dword [ebp - 0x20], 0x642e7472
mov word [ebp - 0x1c], 0x6c6c
mov byte [ebp - 0x1a], 0
call dword [esi]
mov ecx, 0x6b8029
call fcn.004012c6
mov ecx, 0xe0df0fea
mov dword [esi + 8], eax
call fcn.004012c6
mov ecx, 0x6174a599
mov dword [esi + 0xc], eax
call fcn.004012c6
mov ecx, 0x5f38ebc2
mov dword [esi + 0x10], eax
call fcn.004012c6
mov ecx, 0xe553a458
mov dword [esi + 0x14], eax
call fcn.004012c6
mov ecx, 0x5fc8d902
mov dword [esi + 0x18], eax
call fcn.004012c6
mov ecx, 0x614d6e75
mov dword [esi + 0x1c], eax
call fcn.004012c6
mov ecx, 0x803428a9
mov dword [esi + 0x20], eax
call fcn.004012c6
mov ecx, 0x4d7b1e12
mov dword [esi + 0x24], eax
call fcn.004012c6
mov ecx, 0xff13dad9
mov dword [esi + 0x28], eax
call fcn.004012c6
mov ecx, 0xed43d9d9
mov dword [esi + 0x2c], eax
call fcn.004012c6
mov ecx, 0xed6bdd99
mov dword [esi + 0x34], eax
call fcn.004012c6
mov ecx, 0xd0eb608d
mov dword [esi + 0x30], eax
call fcn.004012c6
mov ecx, 0x2c74e98
mov dword [esi + 0x38], eax
call fcn.004012c6
mov dword [esi + 0x3c], eax
pop esi
leave
ret
Function at 0x4011c0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
push ebx
push esi
push edi
lea edi, [ebp - 0x160]
mov ecx, 0x58
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.0041fee0
mov dword [ebp - 8], eax
mov esi, esp
push 0x5b901c
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.0041fee0
mov dword [ebp - 0xc], eax
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.0041fee0
mov dword [ebp - 0x10], eax
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.0041fee0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x401258
jmp 0x4012f8
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, esp
call fcn.0041fee0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x11c]
push edx
call fcn.00420010
add esp, 8
mov esi, esp
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.0041fee0
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0xffffffff
jne 0x4012be
jmp 0x4012f8
mov esi, esp
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.0041fee0
mov esi, esp
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0041fee0
pop edi
pop esi
pop ebx
add esp, 0x160
cmp ebp, esp
call fcn.0041fee0
mov esp, ebp
pop ebp
ret
Function at 0x404c74
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
je 0x404d73
call fcn.004e13d2
mov dword [ebp - 0x10], eax
push pe_nt_image_headers32
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x404d1b
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404cec
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0x5db3a4
call fcn.00455d15
add esp, 8
xor eax, eax
jmp 0x404dbc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x404d13
push 0x146
push str.occmgr.cpp
call fcn.004d80a0
test eax, eax
je 0x404d13
int3
xor edx, edx
test edx, edx
jne 0x404cf9
jmp 0x404d73
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x404d3e
push 0x14e
push str.occmgr.cpp
call fcn.004d80a0
test eax, eax
je 0x404d3e
int3
xor edx, edx
test edx, edx
jne 0x404d24
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x404d73
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x404d68
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0x5db3e4
call fcn.00455d15
add esp, 8
jmp 0x404d73
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x404d44
mov dword [ebp - 0xc], 1
cmp dword [ebp - 4], 0
je 0x404d9a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
call dword [edx + 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x404db9
cmp dword [ebp - 8], 0
je 0x404db9
mov eax, dword [ebp - 8]
push eax
call fcn.004045a0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x442a60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004227d0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x442b2b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x442b2b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x442ade
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x442ae9
or bh, 8
and edi, 0x8000000
je 0x442b04
mov eax, dword [0x5f191c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x442b2b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret