joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d8860
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x4d8879
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d8885
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x4d8880
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4f9b43
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x55a69d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055a2a2

Function at 0x55a6a8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055a423

Function at 0x5639de
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005631b8

Function at 0x5639e9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005633f3

Function at 0x563e55
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00563bdc
Function at 0x10031aa5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x74c
mov eax, 0x1005ef63
call fcn.10044e15
mov edi, ecx
cmp dword [edi + 0x24], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x758], eax
jne 0x10031afa
push 0x10004af8
push 0x3a
lea ecx, [ebp - 0x73c]
call fcn.1004fc8b
mov esi, eax
push 0x10061eac
lea eax, [ebp - 0x3b4]
mov ecx, 0xe2
lea edi, [ebp - 0x3b4]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1004fc8b
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x744], 7
mov dword [ebp - 0x740], 1
jb 0x10031b18
mov eax, dword [esi]
jmp 0x10031b1a
mov eax, esi
lea ecx, [ebp - 0x740]
push ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x744]
push ecx
push ebx
push eax
push dword [edi + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, eax
cmp ecx, 2
je 0x10031c70
cmp dword [ebp - 0x744], 7
jne 0x10031c70
test ecx, ecx
je 0x10031b6f
push esi
lea eax, [edi + 8]
push eax
push 0x100049c8
push ecx
push 0xf
lea ecx, [ebp - 0x73c]
call fcn.1004fc8b
jmp 0x10031ada
mov eax, dword [ebp - 0x740]
add eax, 2
mov dword [ebp - 0x740], eax
mov dword [ebp - 0x754], ebx
mov dword [ebp - 0x750], ebx
mov dword [ebp - 0x74c], ebx
push eax
lea ecx, [ebp - 0x754]
mov dword [ebp - 4], ebx
call fcn.1004fc8b
mov ebx, dword [ebp - 0x750]
sub ebx, dword [ebp - 0x754]
mov dword [ebp - 4], 1
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
cmp dword [esi + 0x14], 8
jb 0x10031bc8
mov ecx, dword [esi]
jmp 0x10031bca
mov ecx, esi
lea edx, [ebp - 0x740]
push edx
push eax
lea eax, [ebp - 0x744]
push eax
push 0
push ecx
push dword [edi + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x10031bf9
push esi
lea ecx, [edi + 8]
push ecx
push 0x100049c8
push eax
jmp 0x10031b5d
mov edi, dword [ebp - 0x758]
xor esi, esi
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
and dword [ebp - 0x1c], 0
xor ecx, ecx
lea eax, [eax + esi*2]
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.1004fc8b
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.1004fc8b
mov eax, dword [ebp - 0x1c]
push 0
inc eax
push 1
lea ecx, [ebp - 0x2c]
add esi, eax
mov byte [ebp - 4], 1
call fcn.1004fc8b
mov ecx, ebx
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x754]
cmp byte [ecx + esi*2], 0
jne 0x10031c01
lea ecx, [ebp - 0x754]
call fcn.1005e30d
mov al, 1
jmp 0x10031c72
xor al, al
call fcn.10044e98
ret 8
Function at 0x1003ca27
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x1006075f
call fcn.10044dac
mov ebx, dword [ebp + 8]
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x1003ca50
cmp dword [0x1009b838], edi
je 0x1003cb3a
push 2
pop ebx
jmp 0x1003ca6a
cmp edi, 1
jne 0x1003cb3a
mov eax, ebx
call fcn.1003d8f8
test al, al
je 0x1003cb3a
xor ebx, ebx
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x1c], ebx
call fcn.1003d91a
mov ecx, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xc]
shr eax, 1
and eax, 0x10
or eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 8]
jmp 0x1003cb1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1003cab1
mov eax, dword [ebx]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov esi, eax
call fcn.1003d111
test eax, eax
je 0x1003cb4e
push 0x1c049f
push 0
call fcn.1004fc8b
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
and dword [eax + 0x10069520], 0
push ebx
mov ecx, 0x1009b848
call fcn.1004fc8b
movzx eax, word [esi + 0xc]
and dword [ebp - 0x14], 0
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call fcn.1003d228
mov esi, eax
test esi, esi
je 0x1003ca9d
mov ebx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.1003d93b
inc edi
cmp edi, 2
jl 0x1003ca38
mov eax, esi
call fcn.10044e84
ret 0x18
push ebx
mov ecx, 0x1009b848
call fcn.1004fc8b
mov ebx, dword [ebp + 8]
test esi, esi
jne 0x1003cb2e
movzx ecx, word [ebx + 0xc]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x20], eax
je 0x1003cb89
cmp dword [ebp - 0x20], 3
jne 0x1003cb84
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x1003cb84
and cl, 0xf
cmp cl, 4
je 0x1003cb89
push 2
pop esi
jmp 0x1003cb2e
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0xd]
mov dword [eax], 1
call fcn.1003d93b
xor eax, eax
jmp 0x1003cb46
Function at 0x1003d012
Capabilities:
Query or enumerate registry value

Disassembly:
push 4
mov eax, 0x100607d0
call fcn.10044dac
mov esi, dword [ebp + 8]
cmp esi, dword [0x1009b844]
jne 0x1003d030
xor al, al
jmp 0x1003d109
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x1003d041
xor ecx, ecx
cmp dword [0x1009b838], ecx
jmp 0x1003d04c
mov eax, esi
call fcn.1003d8f8
xor ecx, ecx
test al, al
sete cl
test ecx, ecx
jne 0x1003d029
xor edi, edi
lea ecx, [ebp + 0xf]
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], edi
call fcn.1003d91a
mov dword [ebp - 4], edi
movzx edi, bl
neg edi
sbb edi, edi
and edi, 2
xor ebx, ebx
jmp 0x1003d0ca
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1003d080
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ebx, eax
call fcn.1003d111
test eax, eax
je 0x1003d0ef
push 0x1c04c2
xor ebx, ebx
push ebx
call fcn.1004fc8b
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp + 8]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x1009b848
mov dword [eax + 0x10069520], ebx
call fcn.1004fc8b
mov dword [ebp + 8], ebx
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
push ebx
or eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call fcn.1003d228
mov ebx, eax
test ebx, ebx
je 0x1003d074
jmp 0x1003d0fc
push dword [ebp + 8]
mov ecx, 0x1009b848
call fcn.1004fc8b
lea ecx, [ebp + 0xf]
call fcn.1003d93b
test ebx, ebx
sete al
call fcn.10044e84
ret 8
Function at 0x1003d95c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x10060826
call fcn.10044dac
mov esi, dword [ebp + 8]
cmp esi, dword [0x1009b844]
jne 0x1003d97a
xor eax, eax
jmp 0x1003dadf
and dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
or edi, 0xffffffff
test ebx, ebx
jne 0x1003d99d
cmp dword [0x1009b838], ebx
je 0x1003da9f
push 2
pop edi
jmp 0x1003d9b7
cmp ebx, 1
jne 0x1003da9f
mov eax, esi
call fcn.1003d8f8
test al, al
je 0x1003da9f
xor edi, edi
and dword [ebp - 0x10], 0
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x20], edi
call fcn.1003d91a
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
push eax
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, edi
jmp 0x1003da62
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1003d9eb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], 2
mov edi, eax
jae 0x1003da17
cmp dword [ebp - 0x1c], 1
je 0x1003da14
cmp dword [ebp - 0x1c], 2
jne 0x1003da17
push 2
pop edi
mov eax, edi
call fcn.1003d111
test eax, eax
je 0x1003da7f
push 0x1c0496
xor edi, edi
push edi
call fcn.1004fc8b
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x1009b848
mov dword [eax + 0x10069520], edi
call fcn.1004fc8b
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
call fcn.1003d228
mov edi, eax
test edi, edi
je 0x1003d9df
jmp 0x1003da90
push dword [ebp - 0x10]
mov ecx, 0x1009b848
call fcn.1004fc8b
test edi, edi
je 0x1003daab
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.1003d93b
mov ecx, dword [ebp - 0x18]
inc ebx
cmp ebx, 2
jl 0x1003d985
jmp 0x1003daba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.1003d93b
mov ecx, dword [ebp - 0x18]
test edi, edi
jne 0x1003dad5
cmp dword [ebp - 0x1c], 2
je 0x1003dacd
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x1003dadd
push ecx
call fcn.1004fc8b
jmp 0x1003dadb
push esi
call fcn.1004fc8b
mov ecx, eax
mov eax, ecx
call fcn.10044e84
ret 4
Function at 0x100443d6
Capabilities:
Accept command line arguments

Disassembly:
push 8
push 0x10065410
call fcn.100491c2
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10044464
call fcn.10049190
test eax, eax
jne 0x100443fa
xor eax, eax
jmp 0x10044530
call fcn.10048570
test eax, eax
jne 0x1004440a
call fcn.100491ae
jmp 0x100443f3
call fcn.10049144
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x100a4814], eax
call fcn.1004fc8b
mov dword [0x1009c15c], eax
call fcn.1004fc8b
test eax, eax
jns 0x10044434
call fcn.10048249
jmp 0x10044403
call fcn.1004fc8b
test eax, eax
js 0x1004445d
call fcn.10048d7a
test eax, eax
js 0x1004445d
push 0
call fcn.1004fc8b
pop ecx
test eax, eax
jne 0x1004445d
inc dword [0x1009c158]
jmp 0x1004452d
call fcn.10048d27
jmp 0x1004442d
xor edi, edi
cmp eax, edi
jne 0x100444c3
cmp dword [0x1009c158], edi
jle 0x100443f3
dec dword [0x1009c158]
mov dword [ebp - 4], edi
cmp dword [0x1009c4d4], edi
jne 0x10044488
call fcn.10048ab5
cmp dword [ebp + 0x10], edi
jne 0x1004449c
call fcn.10048d27
call fcn.10048249
call fcn.100491ae
mov dword [ebp - 4], 0xfffffffe
call fcn.100444af
jmp 0x1004452d
cmp eax, 2
jne 0x10044521
call fcn.10048215
push 0x214
push 1
call fcn.1004fc8b
pop ecx
pop ecx
mov esi, eax
cmp esi, edi
je 0x100443f3
push esi
push dword [0x10099c00]
push dword [0x1009c4b4]
call dword [sym.imp.kernel32.dll_DecodePointer]
call eax
test eax, eax
je 0x10044515
push edi
push esi
call fcn.1004828a
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi], eax
or dword [esi + 4], 0xffffffff
jmp 0x1004452d
push esi
call fcn.1004fc8b
pop ecx
jmp 0x100443f3
cmp eax, 3
jne 0x1004452d
push edi
call fcn.1004fc8b
pop ecx
xor eax, eax
inc eax
call fcn.10049207
ret 0xc

Function at 0x10044d52
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10099bf8]
jne 0x10045df9
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1009c280], eax
mov dword [0x1009c27c], ecx
mov dword [0x1009c278], edx
mov dword [0x1009c274], ebx
mov dword [0x1009c270], esi
mov dword [0x1009c26c], edi
mov word [0x1009c298], ss
mov word [0x1009c28c], cs
mov word [0x1009c268], ds
mov word [0x1009c264], es
mov word [0x1009c260], fs
mov word [0x1009c25c], gs
pushfd
pop dword [0x1009c290]
mov eax, dword [ebp]
mov dword [0x1009c284], eax
mov eax, dword [ebp + 4]
mov dword [0x1009c288], eax
lea eax, [ebp + 8]
mov dword [0x1009c294], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1009c1d0], 0x10001
mov eax, dword [0x1009c288]
mov dword [0x1009c184], eax
mov dword [0x1009c178], 0xc0000409
mov dword [0x1009c17c], 1
mov eax, dword [0x10099bf8]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10099bfc]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1009c1c8], eax
push 1
call fcn.1004cb7b
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10010bdc
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1009c1c8], 0
jne 0x10045ee5
push 1
call fcn.1004cb7b
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x1004fc8b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1004fc9a
pop dword [ebp - 0x44]
mov eax, 0xa65db181
sub eax, 0x9658b4e7
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x1ae12393
sub dword [ebp - 0x54], 0xcc8ede48
mov dword [ebp - 0x50], 0x98328d50
add dword [ebp - 0x50], 0x9a00bef5
mov dword [ebp - 0x4c], 0xcdeacc18
add dword [ebp - 0x4c], 0x7e617816
mov dword [ebp - 0x48], 0xff6fa006
sub dword [ebp - 0x48], 0xff6fa006
lea eax, [ebp - 0x54]
push eax
mov eax, 0xa04934d4
sub eax, 0x9049224c
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xff836150
sub dword [ebp - 0x54], 0x8b10f7fa
mov dword [ebp - 0x50], 0x4513f5e5
sub dword [ebp - 0x50], 0x3a79470
mov dword [ebp - 0x4c], 0xd2d9ee1f
add dword [ebp - 0x4c], 0x90957e4d
mov dword [ebp - 0x48], 0xd7201ea6
sub dword [ebp - 0x48], 0xd7201ea6
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x4a9d8
push 0
call eax
mov ecx, 0x4f76e25b
add ecx, 0xb089687c
mov edi, eax
mov edx, 0x1b433c74
sub edx, 0xb361874
add edx, dword [ebp - 0x44]
mov esi, 0x67a0be62
mov ebx, dword [edx]
xor dword [ebp - 0x18], edx
xor ebx, esi
add dword [ebp - 0x1c], ecx
mov dword [edi], ebx
add dword [ebp - 0x30], ecx
add edi, 0xb33f9e
add edi, 0xff4cc066
add edx, 0x6152e6f0
add edx, 0x9ead1914
loop 0x1004fdb1
add eax, 0x65b2db2
sub eax, 0x65a0f83
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x8715b72e
add ecx, 0x88ea48d2
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x10003b3b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10003b4a
pop dword [ebp - 0x38]
mov eax, 0x10003b4a
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x4f121c7d
sub dword [ebp - 0x48], 0xbfd732
mov dword [ebp - 0x44], 0x38b16188
add dword [ebp - 0x44], 0xf981eabd
mov dword [ebp - 0x40], 0x90f07758
add dword [ebp - 0x40], 0xbb5bccd6
mov dword [ebp - 0x3c], 0x6929ac7a
sub dword [ebp - 0x3c], 0x6929ac7a
lea eax, [ebp - 0x48]
push eax
mov eax, 0xa5501f5f
add eax, 0x6ab030e5
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x9839b600
sub dword [ebp - 0x48], 0x23c74caa
mov dword [ebp - 0x44], 0xd99e7505
sub dword [ebp - 0x44], 0x98321390
mov dword [ebp - 0x40], 0x65cd1db2
add dword [ebp - 0x40], 0xfda24eba
mov dword [ebp - 0x3c], 0x46159cdd
sub dword [ebp - 0x3c], 0x46159cdd
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x9839166d
add eax, 0x77c739e3
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3401a
push 0
call eax
mov ecx, 0x1c8979b
sub ecx, 0x1c85ab8
xor edi, edi
add edi, eax
mov esi, 0x10009800
add esi, dword [ebp - 0x38]
mov ebx, 0x54dfd217
add ebx, 0x864193de
mov edx, dword [esi]
add dword [ebp - 0x18], 0x85db3f24
xor edx, ebx
add dword [ebp - 0x28], 0x1b674290
mov dword [edi], edx
xor dword [ebp - 0xc], edx
add edi, 0x66f128ac
sub edi, 0x66f128a8
add esi, 0xcea2841f
add esi, 0x315d7be5
loop 0x10003c63
add eax, 0xe65f
mov ebx, eax
add eax, 0x7893106
add eax, 0xf876ceff
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

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

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x402db1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x402dd4
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x402dd4
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x402dde
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x402e20
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402e82
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x402e7d
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x402e68
test dl, dl
je 0x402e64
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x402e68
add ecx, 2
add eax, 2
test dl, dl
jne 0x402e48
xor eax, eax
jmp 0x402e6d
sbb eax, eax
or eax, 1
test eax, eax
je 0x402e8e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x402e35
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
Function at 0x40339b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x403470
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x403470
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x403470
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x4033f6
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x403470
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40343b
test dl, dl
je 0x403437
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40343b
add ecx, 2
add eax, 2
test dl, dl
jne 0x40341b
xor eax, eax
jmp 0x403440
sbb eax, eax
or eax, 1
test eax, eax
jne 0x403452
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x40345d
inc esi
cmp esi, ebp
jae 0x403470
mov edx, dword [esp + 0x10]
jmp 0x403411
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x4036d4
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4036df
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x4036f3
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x4036f7
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x403730
cmp dword [edi + ecx], 0x4550
jne 0x403730
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x403730
test byte [edi + ecx + 0x16], 2
je 0x403730
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x403735
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x403771
xor eax, eax
jmp 0x403754
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x40377a
inc edx
movzx eax, dx
cmp eax, edi
jl 0x403754
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret