joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b520
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push esi
push edi
push 0x4cb694
push eax
mov esi, ecx
call fcn.0048c600
mov edi, eax
test edi, edi
sete al
mov byte [esi + 0x1c2c], al
test al, al
je 0x46b566
xor al, al
jmp 0x46b621
push ebx
push ebp
push edi
push 0x2000
lea eax, [esp + 0x18]
push 1
push eax
xor ebx, ebx
call fcn.004b3d1a
mov ebp, eax
add esp, 0x10
cmp ebp, 0x20
jbe 0x46b5e7
lea eax, [ebp - 0x20]
xor esi, esi
test eax, eax
jle 0x46b5be
nop
cmp byte [esp + esi + 0x10], 0x61
jne 0x46b5b6
cmp byte [esp + esi + 0x11], 0x73
jne 0x46b5b6
push 0x14
lea ecx, [esp + esi + 0x16]
push str.Invoker_
push ecx
call fcn.004b28e7
add esp, 0xc
test eax, eax
je 0x46b5f4
inc esi
lea eax, [ebp - 0x20]
cmp esi, eax
jl 0x46b590
push 0
lea ebx, [ebx + ebp - 0x20]
push ebx
push edi
call fcn.004b4611
push edi
push 0x2000
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004b3d1a
mov ebp, eax
add esp, 0x1c
cmp ebp, 0x20
ja 0x46b586
push edi
call fcn.004b3dae
add esp, 4
xor al, al
jmp 0x46b61f
push 0
add esi, ebx
push esi
push edi
call fcn.004b4611
push edi
push 0x15
push 1
push str.requireAdministrator_
call fcn.004b39f8
cmp eax, 0x15
push edi
sete bl
call fcn.004b3dae
add esp, 0x20
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 0x2008]
pop edi
pop esi
xor ecx, esp
call fcn.004b102c
add esp, 0x2004
ret 4
Function at 0x4a58f0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4c649e
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4da8f0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
test byte [0x54856c], 1
jne 0x4a5949
or dword [0x54856c], 1
mov dword [esp + 0x14], 0
mov ecx, 0x546448
call fcn.004a3340
push 0x4c6ca0
call fcn.004b2e7f
add esp, 4
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esp + 0x1c]
push 1
push esi
mov ecx, 0x546448
call fcn.004a3f10
mov bl, byte [esp + 0x20]
push 0
test bl, bl
push 0x546448
sete al
movzx ecx, al
push ecx
push 0
push 0
push esi
push 0
call fcn.004a36a0
test al, al
jne 0x4a59b9
mov eax, dword [0x546450]
cmp eax, 0xffffffff
je 0x4a5999
push eax
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov dword [0x546450], 0xffffffff
mov ecx, 0x54846a
call fcn.0046a880
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
test bl, bl
je 0x4a59d6
push 0x546448
push 0x10000
push 0x4a4390
call fcn.004b22bb
add esp, 0xc
jmp 0x4a59fb
mov eax, dword [0x546450]
cmp eax, 0xffffffff
je 0x4a59f1
push eax
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov dword [0x546450], 0xffffffff
mov ecx, 0x54846a
call fcn.0046a880
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x10004830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004839
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x10004850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004859
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x100055a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055a9
pop esi
pop ebp
ret 8

Function at 0x100055c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055c9
pop esi
pop ebp
ret 4

Function at 0x100055e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055e9
pop esi
pop ebp
ret 8

Function at 0x100186b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1018092c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101837c8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
test eax, eax
jne 0x10018788
push esi
push 0x55
pop esi
push esi
push 0x101837d0
push 0x5c
push ebx
call dword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x10018772
push esi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.100a9420
add esp, 0xc
mov eax, ebx
cmp word [eax*2 + 0x101837d0], 0x5f
mov cl, 0x2d
je 0x10018712
mov cl, byte [eax*2 + 0x101837d0]
mov byte [ebp + eax - 0x5c], cl
test cl, cl
je 0x1001871f
inc eax
cmp eax, esi
jl 0x100186fe
cmp eax, esi
push 0x41
sbb al, al
and byte [ebp - 8], al
call fcn.100c07c6
mov esi, eax
pop ecx
test esi, esi
je 0x10018772
lea eax, [ebp - 0x60]
push eax
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.100c07c6
add esp, 0x10
cmp dword [ebp - 0x60], ebx
jg 0x1001876b
push 0x10017f70
push 0x17
mov byte [eax + esi], bl
mov dword [0x101837c8], esi
mov byte [0x101837cc], 1
call fcn.100c07c6
pop ecx
jmp 0x10018771
push esi
call fcn.100c07c6
pop ecx
mov ecx, dword [0x101837c8]
mov eax, 0x100fef10
test ecx, ecx
pop esi
cmovne eax, ecx
mov dword [0x101837c8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10084499
leave
ret
Function at 0x100c07c6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x100c07d5
pop dword [ebp - 0x24]
mov eax, 0x3e42ab53
add eax, 0xd1c95c82
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x709e9
push 0
mov eax, 0x8d668909
sub eax, 0x7d5757c5
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x430e
mov edi, eax
mov ebx, 0x10191000
add ebx, dword [ebp - 0x24]
mov esi, 0xa36bc2de
sub esi, 0x42b16d63
xor dword [ebp - 0xc], 0x8d545d0e
mov edx, dword [ebx]
add dword [ebp - 0x18], edx
sub edx, esi
sub dword [ebp - 0x20], 0xb9f7c624
mov dword [edi], edx
xor dword [ebp - 8], ecx
add edi, 0xbb27ffa4
sub edi, 0xbb27ffa0
add ebx, 0xe4e401be
sub ebx, 0xe4e401ba
loop 0x100c0828
add eax, 0x8a971463
add eax, 0x7569eaa8
xor ebx, ebx
add ebx, eax
add eax, 0xf424dd74
sub eax, 0xf424dd6f
mov ecx, 0xeac0512b
sub ecx, 0xdac0512b
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x404dbb
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x45f918]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x404e53
push 0x44aaec
push 4
push eax
call fcn.0042ba8b
push eax
call fcn.00401cc0
add esp, 0x10
push ebx
push edi
call fcn.0042bb7b
mov edi, dword [eax]
call fcn.0042bb7b
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0042bb18
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0042bb7b
cmp dword [eax], ebx
je 0x404e6a
call fcn.0042bb7b
push dword [eax]
call fcn.00404d18
pop ecx
jmp 0x404e71
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x404dfe
jmp 0x404ef8
call fcn.0042bb7b
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x404ef4
cmp dword [ebp - 0x234], esi
jae 0x404ef4
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.004290b0
add esp, 0xc
push 0x44a84c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x404ee3
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x404ee3
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x404ee3
push ebx
push ebx
push esi
jmp 0x404eec
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x404ef6
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00428aa0
leave
ret

Function at 0x40bacf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40bb16
call fcn.0040e622
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40bb16
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40bb32
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040b647
mov esi, eax
test edi, edi
je 0x40bb30
test ebx, ebx
je 0x40bb30
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40c4b3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040e622
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40c4ec
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0040c0ff
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x40c54a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x40c56e
cmp dword [edi + 0x54], 0
jne 0x40c56e
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040e622
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040c50b
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x410377
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4473b0
call fcn.0042b649
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41039c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4103e2
lea ecx, [ebp - 0x10]
call fcn.004011d0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041e597
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401170
mov eax, esi
call fcn.0042b721
ret 8
Function at 0x422c30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x422c78
call fcn.0040e622
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x422c78
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x422cbb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x422ca4
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x422ca4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x422cb8
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x428aa0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45f918]
jne 0x428aaa
repz ret
jmp fcn.0042e233
Function at 0x4350d2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042dc42
and dword [ebp - 4], 0
cmp dword [0x464778], 0
mov ebx, eax
jne 0x435183
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x435234
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x435234
push eax
call fcn.0042dbd0
mov dword [esp], 0x450254
push edi
mov dword [0x464778], eax
call esi
push eax
call fcn.0042dbd0
mov dword [esp], 0x450240
push edi
mov dword [0x46477c], eax
call esi
push eax
call fcn.0042dbd0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x464780], eax
call esi
push eax
call fcn.0042dbd0
pop ecx
mov dword [0x464788], eax
test eax, eax
je 0x435183
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042dbd0
pop ecx
mov dword [0x464784], eax
mov eax, dword [0x464784]
cmp eax, ebx
je 0x4351db
cmp dword [0x464788], ebx
je 0x4351db
push eax
call fcn.0042dc4b
push dword [0x464788]
mov esi, eax
call fcn.0042dc4b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4351db
test edi, edi
je 0x4351db
call esi
test eax, eax
je 0x4351d2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4351d2
test byte [ebp - 0xc], 1
jne 0x4351db
or dword [ebp + 0x10], 0x200000
jmp 0x435214
mov eax, dword [0x46477c]
cmp eax, ebx
je 0x435214
push eax
call fcn.0042dc4b
pop ecx
test eax, eax
je 0x435214
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x435214
mov eax, dword [0x464780]
cmp eax, ebx
je 0x435214
push eax
call fcn.0042dc4b
pop ecx
test eax, eax
je 0x435214
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x464778]
call fcn.0042dc4b
pop ecx
test eax, eax
je 0x435234
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x435236
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43dd20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x45f918]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0043dc10
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428aa0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43df80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 0xffffffff
je 0x43e125
push 2
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0xac]
call eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x43e11b
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x24], 2
jne 0x43e033
mov dword [ebp - 0x28], 0x43cef0
mov ecx, dword [ebp - 0x14]
shl ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x43e06c
cmp dword [ebp - 0x24], 3
jne 0x43e048
mov dword [ebp - 0x28], fcn.0043ccd0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x43e06c
cmp dword [ebp - 0x24], 4
jne 0x43e05d
mov dword [ebp - 0x28], 0x43df10
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x43e06c
mov dword [ebp - 0x28], 0x43cf10
mov ecx, dword [ebp - 0x14]
shl ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx + 6]
push ecx
call fcn.004047d3
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x43e11b
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x14]
jne 0x43e109
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0043bb50
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.004047c8
add esp, 4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x43f390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
push 0x451e24
mov eax, dword [ebp + 8]
push eax
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43f50b
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
push edx
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043dc10
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x43f50b
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x20], 2
jne 0x43f442
mov dword [ebp - 0x28], 0x43cef0
mov ecx, dword [ebp - 0x10]
shl ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x43f47b
cmp dword [ebp - 0x20], 3
jne 0x43f457
mov dword [ebp - 0x28], fcn.0043ccd0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
jmp 0x43f47b
cmp dword [ebp - 0x20], 4
jne 0x43f46c
mov dword [ebp - 0x28], 0x43df10
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jmp 0x43f47b
mov dword [ebp - 0x28], 0x43cf10
mov ecx, dword [ebp - 0x10]
shl ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx + 8]
push ecx
call fcn.004047d3
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x43f50b
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0xc]
push ecx
call fcn.00428d40
add esp, 0xc
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0043bb50
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.004047c8
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x440280
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
xor ecx, ecx
mov eax, dword [ebp - 8]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004047d3
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004047c8
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x443d30
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448b3b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45f918]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
push 0x66
mov ecx, dword [ebp - 0x10]
call fcn.0040bc07
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CEpsonEULADlg.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x7c], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.004011d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
call fcn.0040e79c
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x98], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edx, ax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x9c], edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xa0], VariantCopy
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xa4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xa8], 0
push 0x80
call fcn.00401910
mov ecx, eax
call fcn.00401930
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x9c]
mov dword [edx + 0xac], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4