joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4270a0
Capabilities:
Create thread

Disassembly:
push 0x28
mov eax, 0x568fce
call fcn.0053ce40
mov eax, dword [ebp + 8]
or dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x28], eax
xor edi, edi
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x2c]
push eax
push 0x42705f
push edi
push edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], ebx
call fcn.0053c14d
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push 0x42707f
push edi
push edi
mov dword [ebp - 0x20], esi
call fcn.0053c14d
add esp, 0x30
push 0xffffffffffffffff
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], eax
push 1
lea eax, [ebp - 0x34]
push eax
push 2
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], edi
je 0x427157
push 0x598e70
lea ecx, [ebp + 8]
call fcn.0040235d
lea esi, [ebp - 0x1c]
mov eax, ebx
mov dword [ebp - 4], edi
call fcn.0042c1ad
push 1
lea edx, [ebp + 8]
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004217ce
pop ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
xor eax, eax
cmp dword [ebp - 0x14], edi
sete al
call fcn.0053cf18
ret 4

Function at 0x427603
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 0x10
pop eax
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
mov byte [ebp - 1], bl
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], eax
call fcn.00538530
add esp, 0xc
push 0xf0000020
push 1
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4276a0
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x427696
push ebx
push dword [ebp + 8]
call fcn.00537b40
pop ecx
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x42768d
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x42768d
mov byte [ebp - 1], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x427c22
Capabilities:
Read .ini file

Disassembly:
push 0xb0
mov eax, 0x568f96
call fcn.0053cea9
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
call fcn.00437a9e
push eax
lea ecx, [ebp - 0xac]
call fcn.00402723
and dword [ebp - 4], 0
and dword [ebp - 0xa0], 0
lea eax, [ebp - 0x9c]
push eax
push ecx
mov esi, esp
mov eax, ebx
lea edi, [ebp - 0xb0]
mov dword [ebp - 0x9c], esp
call fcn.0042c1ad
mov ecx, edi
call fcn.00422ad9
pop ecx
pop ecx
mov dword [ebp - 0x98], 0xc9
push dword [ebp - 0x98]
lea eax, [ebp - 0xac]
push 0x599af4
push eax
call fcn.0040a0e9
add esp, 0xc
cmp dword [ebp - 0x98], 0xc9
jne 0x427cb8
mov dword [ebp - 0xa8], 0x2bd
jmp 0x427cfa
lea esi, [ebp - 0xbc]
mov eax, ebx
call fcn.0042c1ad
mov byte [ebp - 4], 1
push dword [ebp - 0xb0]
mov eax, dword [eax]
push eax
push 1
push dword [ebp - 0x98]
call fcn.00424f1f
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbc]
add esp, 0x10
add ecx, 0xfffffff0
mov dword [ebp - 0xa8], eax
call fcn.0040274b
lea edi, [ebp - 0x9c]
call fcn.00412019
mov edi, eax
lea esi, [ebp - 0xa4]
mov eax, ebx
mov byte [ebp - 4], 2
call fcn.0042c1ad
push eax
lea eax, [ebp - 0xb8]
push str.DCEX.
push eax
mov byte [ebp - 4], 3
call fcn.0040eabc
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0xc
push edi
push dword [ebp - 0xa8]
mov edi, dword [ebp - 0xac]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xb8]
mov esi, eax
test esi, esi
setg byte [ebp - 0x91]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.0040274b
cmp byte [ebp - 0x91], 0
je 0x427d9f
mov eax, dword [ebp - 0xa0]
inc dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0x90], esi
inc dword [ebp - 0x98]
cmp dword [ebp - 0x98], 0xe6
jle 0x427c86
lea esi, [ebp - 0xa4]
mov eax, ebx
call fcn.0042c1ad
mov esi, eax
lea eax, [ebp - 0x9c]
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.00425c31
pop ecx
pop ecx
lea ecx, [ebp - 0x90]
push ecx
push dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xb4]
mov byte [ebp - 4], 5
push dword [esi]
mov edx, dword [eax]
call fcn.004028ee
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [edi - 0x10]
call fcn.0040274b
call fcn.0053cf2c
ret 4
Function at 0x427e23
Capabilities:
Read .ini file

Disassembly:
push 0x1c
mov eax, 0x56871e
call fcn.0053ce40
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x14]
call fcn.00402723
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 8]
push ecx
mov esi, esp
lea edi, [ebp - 0x18]
mov dword [ebp - 0x28], esp
call fcn.0042c1ad
mov ecx, edi
call fcn.00422ad9
pop ecx
pop ecx
mov dword [ebp - 0x10], 0xc9
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push 0x599af4
push eax
call fcn.0040a0e9
add esp, 0xc
cmp dword [ebp - 0x10], 0xc9
jne 0x427e8a
mov ebx, 0x2bd
jmp 0x427ebd
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x1c]
call fcn.0042c1ad
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
mov eax, dword [eax]
push eax
push 1
push dword [ebp - 0x10]
call fcn.00424f1f
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
mov ebx, eax
call fcn.0040274b
lea edi, [ebp - 0x28]
call fcn.00412019
mov edi, eax
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0042c1ad
push eax
lea eax, [ebp - 0x20]
push str.DCEX.
push eax
mov byte [ebp - 4], 3
call fcn.0040eabc
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0xc
push edi
mov edi, dword [ebp - 0x14]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x20]
mov esi, eax
test esi, esi
setg bl
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040274b
test bl, bl
je 0x427f3a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
mov dword [eax + ecx*4 + 0x28], esi
inc dword [eax + 0x24]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xe6
jle 0x427e66
lea ecx, [edi - 0x10]
call fcn.0040274b
call fcn.0053cf18
ret
Function at 0x4283f0
Capabilities:
Create thread

Disassembly:
push 0x1c
mov eax, 0x568ecf
call fcn.0053ce40
mov ebx, ecx
lea eax, [ebp - 0x18]
push eax
push ecx
mov esi, esp
mov eax, ebx
lea edi, [ebp - 0x14]
mov dword [ebp - 0x20], esp
call fcn.0042c1ad
mov ecx, edi
call fcn.00422ad9
push dword [ebp - 0x14]
call fcn.004280a6
add esp, 0xc
push 0xfd4
call fcn.004379fd
pop ecx
test eax, eax
je 0x42843e
mov esi, eax
call fcn.0042793a
mov edi, eax
jmp 0x428440
xor edi, edi
lea esi, [ebp - 0x18]
mov eax, ebx
call fcn.0042c1ad
and dword [ebp - 4], 0
lea ecx, [edi + 4]
push eax
call fcn.0040248f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040274b
lea esi, [ebp - 0x18]
mov eax, ebx
call fcn.0041294e
lea ecx, [edi + 8]
push eax
mov dword [ebp - 4], 1
call fcn.0040248f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040274b
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00425c31
pop ecx
pop ecx
push eax
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.0040248f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040274b
and dword [edi + 0x24], 0
and dword [edi + 0x20], 0
push ecx
mov esi, esp
mov eax, ebx
mov dword [ebp - 0x18], esp
call fcn.0042c1ad
call fcn.004233db
pop ecx
test al, al
jne 0x4284f5
push ecx
mov esi, esp
mov eax, ebx
mov dword [ebp - 0x18], esp
call fcn.0042c1ad
call fcn.00423004
pop ecx
test al, al
jne 0x4284f5
xor esi, esi
xor eax, eax
jmp 0x4284fa
xor eax, eax
inc eax
xor esi, esi
push edi
push ebx
mov byte [edi + 0xfd0], al
call fcn.00427e23
push dword [ebp - 0x14]
push ebx
call fcn.00427f58
add esp, 0x10
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push esi
push esi
push esi
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x24], eax
push 8
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0xfc4]
push eax
call fcn.00537bd0
add esp, 0xc
test byte [ebx + 0x48], 0x10
jbe 0x428561
xor eax, eax
cmp dword [ebx + 0x30], 0xc8
setl al
dec eax
and eax, 6
add eax, 0x1a
mov dword [edi + 0xfcc], eax
lea eax, [ebp - 0x20]
push eax
push esi
push edi
push 0x427982
push esi
push esi
mov dword [ebp - 0x20], esi
call fcn.0053c14d
add esp, 0x18
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x733c
push esi
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x42859d
mov ebx, dword [ebx + 0x4c]
jmp 0x4285a0
mov ebx, dword [ebx + 0x50]
cmp ebx, esi
je 0x4285ab
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
call fcn.0053cf18
ret
Function at 0x42c2c9
Capabilities:
Read .ini file

Disassembly:
push 0x58
mov eax, 0x5684e0
call fcn.0053ce40
mov edi, ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x42c2f0
lea ecx, [eax - 0x10]
jmp 0x42c415
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.00402431
add eax, 0x10
pop ecx
mov dword [esi], eax
push edi
lea eax, [ebp - 0x64]
push eax
call fcn.0040fc72
lea eax, [ebp + 8]
lea ecx, [ebx + 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.0040248f
lea ecx, [ebp - 0x64]
mov dword [ebx + 8], edi
call fcn.00410233
lea ecx, [ebp - 0x64]
mov dword [ebx + 0xc], eax
call fcn.0041019f
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x64]
call fcn.0040fdfb
push dword [ebp - 0x58]
movzx eax, al
push 0
push str.SupportsEpsonScanSetting
push dword [ebp - 0x5c]
mov dword [ebx + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
neg eax
lea edi, [ebp - 0x10]
lea esi, [ebp - 0x64]
mov dword [ebx + 0x18], eax
call fcn.004102c4
lea ecx, [ebx + 0x24]
push eax
mov byte [ebp - 4], 4
call fcn.0040248f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.0041033a
lea ecx, [ebx + 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.0040248f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.00410430
lea ecx, [ebx + 0x2c]
push eax
mov byte [ebp - 4], 6
call fcn.0040248f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, esi
call fcn.00410525
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x42c407
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.00402431
add eax, 0x10
mov dword [esi], eax
pop ecx
mov esi, ebx
call fcn.0042c438
lea ecx, [ebp - 0x64]
call fcn.0040fdd1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
call fcn.0053cf18
ret 0xc
Function at 0x487625
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x487649
cmp dword [edi + 0x74], 0
jne 0x487649
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00439647
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.004875e6
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 0x4c5a9b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4c5ab5
call fcn.00439647
mov esi, dword [eax + 0xc]
push dword [0x5ced84]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4c5ad3
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4c5acb
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4c5b00
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4c5acd
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004c59c9
mov esi, eax
jmp 0x4c5af2

Function at 0x514e28
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00447c4e
call fcn.00411e9e
cmp eax, esi
pop esi
jne 0x514e44
mov ecx, 0x5ccc68
jmp fcn.0044fcbe
ret

Function at 0x51873e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x518756
mov edi, dword [esi + 0xc]
jmp 0x518796
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x51876f
call fcn.0044a330
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x518784
call fcn.0044a330
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x518796
call fcn.0044a330
call fcn.00439647
cmp dword [eax + 0x3c], 0
je 0x5187ab
push edi
mov ecx, ebx
call fcn.005175f2
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00518658
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5187c9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x5187d5
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x53792d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5c9030]
jne 0x537937
repz ret
jmp fcn.00540de6
Function at 0x54dad8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5c9030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0054080e
and dword [ebp - 0x14], 0
cmp dword [0x5d1384], 0
mov dword [ebp - 0x18], eax
jne 0x54db8b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x54dc33
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x596178
push ebx
call edi
test eax, eax
je 0x54dc33
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x596168
push ebx
mov dword [0x5d1384], eax
call edi
push eax
call esi
push 0x596154
push ebx
mov dword [0x5d1388], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5d138c], eax
call edi
push eax
call esi
mov dword [0x5d1394], eax
test eax, eax
je 0x54db8b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5d1390], eax
mov eax, dword [0x5d1390]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x54dbe4
cmp dword [0x5d1394], ecx
je 0x54dbe4
push eax
call esi
push dword [0x5d1394]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x54dbe4
test ebx, ebx
je 0x54dbe4
call edi
test eax, eax
je 0x54dbdb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x54dbdb
test byte [ebp - 8], 1
jne 0x54dbe4
or dword [ebp + 0x10], 0x200000
jmp 0x54dc17
mov eax, dword [0x5d1388]
cmp eax, dword [ebp - 0x18]
je 0x54dc17
push eax
call esi
test eax, eax
je 0x54dc17
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x54dc17
mov eax, dword [0x5d138c]
cmp eax, dword [ebp - 0x18]
je 0x54dc17
push eax
call esi
test eax, eax
je 0x54dc17
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5d1384]
call esi
test eax, eax
je 0x54dc33
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x54dc35
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053792d
leave
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, reloc.kernel32.dll_FileTimeToSystemTime
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x4033fc], eax
mov eax, dword [ebp + 4]
mov dword [0x40323a], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401020
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x40323a]
mov dword [ebp - 0x48], eax
mov eax, 0x4016df
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x40323a]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.lukifas
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403448], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403448]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010bc
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010b5
mov esp, ebp
ret
Function at 0x100010a0
Capabilities:
Terminate thread

Disassembly:
add ecx, 8
jmp 0x1000a730
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov edi, dword [esi + 0x138]
mov dword [esi], 0x1002f484
cmp edi, ebx
je 0x1000a807
cmp byte [edi + 0xc], bl
je 0x1000a76c
mov byte [edi + 0xc], bl
mov eax, dword [edi + 0x90]
cmp eax, ebx
je 0x1000a76c
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x1000a7ed
push 0x64
push eax
call ebp
cmp eax, 0x102
jne 0x1000a7ed
mov ecx, dword [edi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov byte [edi + 0xc], bl
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
jne 0x1000a7ed
mov edx, dword [edi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [edi + 0xd]
mov dword [edi + 4], ebx
cmp al, bl
je 0x1000a7ed
cmp edi, ebx
je 0x1000a7ed
mov ecx, edi
mov dword [edi], 0x1002f458
mov byte [edi + 0xc], bl
call fcn.10001630
lea ecx, [edi + 0x90]
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
call fcn.1000c410
push edi
call fcn.1002eb22
add esp, 4
mov eax, dword [esi + 0x138]
cmp eax, ebx
je 0x1000a807
mov edx, dword [eax + 0x94]
lea ecx, [eax + 0x94]
push 1
call dword [edx]
lea edi, [esi + 0xb4]
mov ecx, edi
call fcn.1000b790
cmp byte [esi + 0xc], bl
je 0x1000a82d
mov byte [esi + 0xc], bl
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x1000a82d
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x1000a8b2
push 0x64
push eax
call ebp
cmp eax, 0x102
jne 0x1000a8b2
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov byte [esi + 0xc], bl
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
jne 0x1000a8b2
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebp
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x1000a8b8
cmp esi, ebx
je 0x1000a8b8
mov ecx, esi
mov dword [esi], 0x1002f458
mov byte [esi + 0xc], bl
call fcn.10001630
lea ecx, [esi + 0x90]
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
call fcn.1000c410
push esi
call fcn.1002eb22
add esp, 4
jmp 0x1000a8b8
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.1000b620
mov ecx, dword [esi + 0xa8]
push ecx
call fcn.1002eb22
mov eax, dword [esi + 0xa4]
add esp, 4
cmp eax, ebx
je 0x1000a8e1
push eax
call ebp
mov dword [esi + 0xa4], ebx
mov eax, dword [esi + 0xa0]
cmp eax, ebx
je 0x1000a8f4
push eax
call fcn.1002eb22
add esp, 4
mov dword [esi + 0xa0], ebx
mov ecx, esi
mov dword [esi], 0x1002f458
mov byte [esi + 0xc], bl
call fcn.10001630
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x1000a91d
push eax
call ebp
mov dword [esi + 0x90], ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret