joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430b98
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x790
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x78c]
push 0x40
push edi
push eax
mov dword [ebp - 0x790], edi
call fcn.0046cab0
add esp, 0xc
lea eax, [ebp - 0x210]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x748], xmm0
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x114
lea eax, [ebp - 0x738]
push esi
push edi
push eax
call fcn.0046cab0
add esp, 0xc
mov dword [ebp - 0x738], esi
lea eax, [ebp - 0x738]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x734], 6
lea ecx, [ebp - 0x210]
push ecx
jb 0x430c33
cmp dword [0x4c4f90], 8
mov eax, 0x4c4f7c
cmovae eax, dword [0x4c4f7c]
jmp 0x430c46
cmp dword [0x4c4fc4], 8
mov eax, 0x4c4fb0
cmovae eax, dword [0x4c4fb0]
push eax
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x748]
push eax
lea eax, [ebp - 0x790]
push eax
push edi
push edi
push 0x8000000
push edi
push edi
push edi
lea eax, [ebp - 0x620]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x744]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x748]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046a41b
mov esp, ebp
pop ebp
ret

Function at 0x4314ea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x48d4f0
call fcn.0046e7ce
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x4a3528
mov dword [ebp - 0x14], ebx
call fcn.00404ebb
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x100
mov ebx, eax
push 0x94
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0x18], eax
push ecx
push ecx
push ebx
push eax
push ecx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jle 0x4315af
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043d413
pop ecx
push edi
mov esi, eax
push esi
push ebx
push dword [ebp - 0x18]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call fcn.00403def
mov edi, dword [ebp - 0x10]
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0040532a
push esi
call fcn.0043d41c
pop ecx
jmp 0x4315b2
mov edi, dword [ebp - 0x10]
mov eax, edi
call fcn.0046e79c
ret
Function at 0x4319f6
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x174
mov eax, 0x48f76f
call fcn.0046e801
mov edi, ecx
xor edx, edx
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x168], edx
call fcn.004111d6
lea ecx, [edi + 0x34]
call fcn.004111d6
lea eax, [ebp - 0x160]
mov dword [ebp - 4], edx
push eax
xor ecx, ecx
mov dword [ebp - 0x160], edx
push 0x4a53dc
inc ecx
push ecx
push edx
push 0x4a53cc
mov dword [ebp - 0x168], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.._rootcimv2
call esi
lea edx, [ebp - 0x154]
mov ebx, eax
mov eax, dword [ebp - 0x160]
push edx
xor edx, edx
push edx
mov ecx, dword [eax]
push edx
push edx
push edx
push edx
push edx
push ebx
push eax
call dword [ecx + 0xc]
push 0x800
xor eax, eax
push eax
push 3
push 3
push eax
push eax
push 0xa
push dword [ebp - 0x154]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push 0x4a51f4
call esi
push str.select__from_Win32_VideoController
mov dword [ebp - 0x164], eax
call esi
lea edx, [ebp - 0x15c]
mov esi, eax
mov eax, dword [ebp - 0x154]
push edx
push 0
push 0x20
mov ecx, dword [eax]
push esi
push dword [ebp - 0x164]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x16c]
and dword [ebp - 0x158], 0
push edx
lea edx, [ebp - 0x158]
mov ecx, dword [eax]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x16c], 0
je 0x431be9
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x17c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.AdapterRAM
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x431b70
mov eax, dword [ebp - 0x174]
shr eax, 0x14
push eax
lea eax, [ebp - 0x11c]
push 0x4a3a30
push eax
call fcn.0046b036
pop ecx
pop ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x150]
call fcn.004112d3
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 1
push eax
lea ecx, [edi + 0x34]
call fcn.004114ea
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.004114ce
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x17c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Name
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x431be9
xor ecx, ecx
lea eax, [ebp - 0x11c]
push ecx
push ecx
push 0x100
push eax
push 0xffffffffffffffff
push dword [ebp - 0x174]
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x150]
call fcn.004112d3
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.004114ea
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.004114ce
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x164]
call esi
mov ecx, dword [ebp - 0x154]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push ebx
call esi
mov eax, edi
call fcn.0046e7b0
ret
Function at 0x431c1d
Capabilities:
Get system information on windows

Disassembly:
push 0x84
mov eax, 0x48f7e8
call fcn.0046e801
mov ebx, ecx
mov dword [ebp - 0x64], ebx
and dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], ebx
call fcn.00406dcf
and dword [ebp - 4], 0
lea eax, [ebp - 0x90]
xor esi, esi
inc esi
push eax
mov dword [ebp - 0x68], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x5c]
call fcn.00431d9f
push eax
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.004114ea
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.004114ce
call fcn.00431edc
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00405e4f
push esi
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 2
call fcn.004111fc
push eax
lea ecx, [ebx + 0x68]
mov byte [ebp - 4], 3
call fcn.004114ea
lea ecx, [ebp - 0x5c]
call fcn.004114ce
push 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00403790
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x28]
call fcn.00422b63
push esi
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 4
call fcn.004111fc
push eax
lea ecx, [ebx + 0x34]
mov byte [ebp - 4], 5
call fcn.004114ea
lea ecx, [ebp - 0x5c]
call fcn.004114ce
xor ebx, ebx
lea ecx, [ebp - 0x28]
push ebx
push esi
mov byte [ebp - 4], bl
call fcn.00403790
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalProcessorInformation]
lea eax, [ebp - 0x60]
push eax
push ebx
mov edi, ebx
mov dword [ebp - 0x60], ebx
call esi
push dword [ebp - 0x60]
call fcn.0046bdb9
mov ebx, eax
lea eax, [ebp - 0x60]
pop ecx
push eax
push ebx
call esi
xor esi, esi
mov eax, dword [ebp - 0x60]
xor edx, edx
push 0x18
pop ecx
div ecx
test eax, eax
je 0x431d4a
lea ecx, [ebx + 8]
cmp dword [ecx - 4], 2
jne 0x431d39
cmp byte [ecx], 3
je 0x431d43
inc esi
add ecx, 0x18
cmp esi, eax
jne 0x431d2e
jmp 0x431d4a
imul eax, esi, 0x18
mov edi, dword [eax + ebx + 0xc]
push ebx
call fcn.0046aa74
pop ecx
shr edi, 0x14
lea ecx, [ebp - 0x28]
mov edx, edi
call fcn.00405e96
push 1
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 6
call fcn.004111fc
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x64]
push eax
lea ecx, [esi + 0x9c]
call fcn.004114ea
lea ecx, [ebp - 0x5c]
call fcn.004114ce
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00403790
mov eax, esi
call fcn.0046e7b0
ret
Function at 0x431edc
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 8], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x431f94
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
adc dword [ebp - 4], eax
rdtsc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 4]
jb 0x431f2e
ja 0x431f4a
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jb 0x431f2e
rdtsc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.004881ff
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.004881ff
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, xmm1
call fcn.00487e6f
push 0
push 0xf4240
push edx
push eax
call fcn.00475810
mov esp, ebp
pop ebp
ret
Function at 0x433711
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x1f4
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.0046cab0
mov esi, 0x114
lea eax, [ebp - 0x120]
push esi
push 0
mov ebx, 0x1f8
push eax
mov dword [ebp - 0x318], ebx
call fcn.0046cab0
add esp, 0x18
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x43377e
sub dword [ebp - 0x318], 4
push 0
lea eax, [ebp - 0x318]
push eax
push ebx
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a41b
mov esp, ebp
pop ebp
ret

Function at 0x433819
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x43386a
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [ebp - 0x10], 0
pop ebx
je 0x43387a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046a41b
mov esp, ebp
pop ebp
ret

Function at 0x434417
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 8]
xor eax, eax
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
push edi
push 5
mov edi, ecx
pop ecx
cmovne eax, ecx
push eax
push dword [edi + 8]
mov dword [ebp + 8], eax
call esi
push 0x4a5588
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetPropW]
push 0
push eax
call esi
mov esi, dword [edi + 0x14]
mov byte [edi + 0x48], bl
mov ebx, dword [ebp + 8]
push ebx
cmp esi, dword [edi + 0x18]
je 0x43446a
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0x14
jmp 0x434457
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x436de0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
add ecx, 0x18
call fcn.0040cb0b
call fcn.00430b98
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x43a34d
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 8
mov edi, ecx
call fcn.0043d3e6
mov edx, eax
xor esi, esi
pop ecx
test edx, edx
je 0x43a368
mov dword [edx], esi
mov dword [edx + 4], esi
jmp 0x43a36a
mov edx, esi
mov eax, dword [edi + 0x98]
push esi
push esi
push edx
push 0x40c10b
mov dword [edx], eax
mov eax, dword [edi + 0x20]
push esi
push esi
mov dword [edx + 4], eax
call fcn.0046ac59
push 8
call fcn.0043d3e6
mov ecx, eax
add esp, 0x1c
test ecx, ecx
je 0x43a39e
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x43a3a0
mov ecx, esi
mov eax, dword [edi + 0x98]
push esi
push esi
push ecx
push 0x40c0e3
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
push esi
push esi
mov dword [ecx + 4], eax
call fcn.0046ac59
add esp, 0x18
pop edi
pop esi
ret

Function at 0x43a3c3
Capabilities:
Terminate process

Disassembly:
mov eax, dword [ecx + 0x98]
cmp byte [eax + 0x1086], 0
je 0x43a3e6
cmp dword [eax + 0x10ec], 0
jne 0x43a3e6
mov ecx, dword [ecx + 0x9c]
jmp fcn.00436de0
ret

Function at 0x43a8eb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x490a2c
mov eax, dword fs:[0]
push eax
sub esp, 0x8d0
mov eax, dword [0x4bc760]
xor eax, esp
mov dword [esp + 0x8c8], eax
push ebx
push esi
push edi
mov eax, dword [0x4bc760]
xor eax, esp
push eax
lea eax, [esp + 0x8e0]
mov dword fs:[0], eax
mov edi, ecx
and dword [esp + 0x18], 0
mov esi, 0x7d2
mov ecx, dword [edi + 0x98]
call fcn.00406f2a
mov dword [esp + 0x14], eax
test eax, eax
je 0x43aa23
cmp eax, 4
jne 0x43aa28
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x304]
push eax
call fcn.0042d7c8
and dword [esp + 0x8e8], 0
xor ebx, ebx
inc ebx
cmp dword [eax + 0x1bc], 0
mov dword [esp + 0x18], ebx
jbe 0x43a9a3
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x1c]
push eax
call fcn.0042d7c8
push 3
pop ebx
mov byte [esp + 0x13], 1
cmp dword [eax + 0x224], 0
je 0x43a9a8
mov byte [esp + 0x13], 0
test bl, 2
je 0x43a9b9
lea ecx, [esp + 0x1c]
and ebx, 0xfffffffd
call fcn.0040420a
or dword [esp + 0x8e8], 0xffffffff
test bl, 1
je 0x43a9d2
lea ecx, [esp + 0x304]
call fcn.0040420a
cmp byte [esp + 0x13], 0
je 0x43aa18
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x5ec]
push eax
call fcn.0042d7c8
add eax, 0x1c4
cmp dword [eax + 0x14], 8
jb 0x43a9f9
mov eax, dword [eax]
push 1
xor ecx, ecx
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x5ec]
call fcn.0040420a
mov eax, dword [esp + 0x14]
mov esi, 0x7d1
jmp 0x43aa28
mov esi, 0x7d0
push eax
push esi
push 0x401
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x8e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8c8]
xor ecx, esp
call fcn.0046a41b
mov esp, ebp
pop ebp
ret
Function at 0x43b0b4
Capabilities:
Get graphical window text
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x490be1
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4bc760]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x4bc760]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
test edi, edi
je 0x43b118
imul eax, eax, 0x64
xor edx, edx
div edi
mov ebx, eax
jmp 0x43b11b
push 0x64
pop ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebx
push 0x402
push dword [ecx + 0x34]
call esi
mov edx, ebx
lea ecx, [esp + 0x50]
call fcn.00405f77
and dword [esp + 0x178], 0
lea ecx, [esp + 0x68]
push 0x4a6cc0
mov edx, eax
call fcn.0040ed8c
pop ecx
mov ebx, dword [esp + 0x1c]
mov edx, eax
mov byte [esp + 0x178], 1
lea ecx, [ebx + 0x18]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040ed64
pop ecx
push 0
push 1
lea ecx, [esp + 0x70]
call fcn.00405141
push 0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x180], 4
call fcn.00405141
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push eax
push 0
push 0xc
push dword [ebx + 0x30]
call esi
push ecx
push str.Downloaded
lea ecx, [esp + 0xd4]
call fcn.0041133e
push dword [esp + 0x14]
lea edx, [esp + 0xd0]
mov byte [esp + 0x17c], 5
lea ecx, [esp + 0x104]
call fcn.00422753
pop ecx
add eax, 0x18
mov byte [esp + 0x178], 6
push eax
lea ecx, [esp + 0x24]
call fcn.00404e93
lea ecx, [esp + 0x100]
call fcn.004114ce
lea ecx, [esp + 0xcc]
mov byte [esp + 0x178], 9
call fcn.004114ce
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push 0
push dword [esp + 0x1c]
call fcn.004246af
pop ecx
pop ecx
push 0xffffffffffffffff
mov byte [esp + 0x17c], 0xa
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.00405284
push 0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x180], 9
call fcn.00405141
push ecx
push str._from
lea ecx, [esp + 0xa0]
call fcn.0041133e
push dword [esp + 0x14]
lea edx, [esp + 0x9c]
mov byte [esp + 0x17c], 0xb
lea ecx, [esp + 0x138]
call fcn.00422753
pop ecx
push 0xffffffffffffffff
push 0
add eax, 0x18
mov byte [esp + 0x180], 0xc
push eax
lea ecx, [esp + 0x2c]
call fcn.00405284
lea ecx, [esp + 0x134]
call fcn.004114ce
lea ecx, [esp + 0x98]
mov byte [esp + 0x178], 9
call fcn.004114ce
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x80]
push 0
push edi
call fcn.004246af
pop ecx
pop ecx
push 0xffffffffffffffff
xor edi, edi
mov byte [esp + 0x17c], 0xd
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00405284
push edi
push 1
lea ecx, [esp + 0x88]
call fcn.00405141
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push edi
push 0xc
push dword [ebx + 0x38]
call esi
push edi
push 1
lea ecx, [esp + 0x28]
call fcn.00405141
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.00405141
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0046a41b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43c827
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1f4
lea eax, [ebp - 0x314]
mov esi, ecx
push 0
push eax
call fcn.0046cab0
mov edi, 0x114
mov dword [ebp - 0x318], 0x1f8
push edi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0046cab0
add esp, 0x18
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x43c895
sub dword [ebp - 0x318], 4
push 0
lea eax, [ebp - 0x318]
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x180]
neg esi
push eax
mov dword [ebp - 0x180], esi
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046a41b
mov esp, ebp
pop ebp
ret
Function at 0x4414b6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4414fb
call fcn.004519c1
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4414fb
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x441517
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043cfcf
mov ebx, eax
test edi, edi
je 0x441515
test esi, esi
je 0x441515
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x446010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004519c1
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x446047
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00446068
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47c772
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0047154e
mov dword [ebp - 0x14], eax
cmp dword [0x4c352c], esi
jne 0x47c865
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47c7f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47c945
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x47c945
push 0x49c170
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47c945
push eax
call ebx
push 0x49c17c
push edi
mov dword [0x4c352c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x49c18c
push edi
mov dword [0x4c3530], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4c3534], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c353c], eax
test eax, eax
je 0x47c862
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c3538], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47c88a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47c87d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x47c89f
push 4
pop eax
jmp 0x47c947
cmp dword [ebp - 0x14], esi
je 0x47c89f
push dword [0x4c352c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47c884
mov eax, dword [0x4c3538]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47c8fd
cmp dword [0x4c353c], edi
je 0x47c8fd
push eax
call ebx
push dword [0x4c353c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47c8fd
test eax, eax
je 0x47c8fd
call ecx
test eax, eax
je 0x47c8f2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x47c8f2
test byte [ebp - 8], 1
jne 0x47c8fd
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47c92d
mov eax, dword [0x4c3530]
cmp eax, edi
je 0x47c92a
push eax
call ebx
test eax, eax
je 0x47c92a
call eax
mov esi, eax
test esi, esi
je 0x47c92a
mov eax, dword [0x4c3534]
cmp eax, edi
je 0x47c92a
push eax
call ebx
test eax, eax
je 0x47c92a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4c352c]
call ebx
test eax, eax
je 0x47c945
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47c947
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a41b
mov esp, ebp
pop ebp
ret