joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100dfc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x78]
test eax, eax
je 0x100dfc64
push dword [edi + 0x74]
call eax
add esp, 4
mov esi, dword [edi + 0x54]
test esi, esi
je 0x100dfcc9
nop dword [eax + eax]
mov ebx, dword [esi + 4]
xor edx, edx
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x100dfcc2
mov ecx, dword [eax + 8]
cmp eax, esi
je 0x100dfc96
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x100dfc85
jmp 0x100dfcc2
test edx, edx
jne 0x100dfc9f
mov dword [ebx + 0x54], ecx
jmp 0x100dfca2
mov dword [edx + 8], ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100dfcaf
push esi
call eax
add esp, 4
push esi
call fcn.100e01a0
mov eax, dword [ebp - 4]
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 0xc
mov esi, dword [edi + 0x54]
test esi, esi
jne 0x100dfc70
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x6c]
mov dword [ebp - 8], eax
test eax, eax
je 0x100dfd54
test ebx, ebx
je 0x100dfd54
mov ebx, dword [eax]
test ebx, ebx
je 0x100dfd44
mov edi, dword [ebp + 8]
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x100dfcf9
push esi
call eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100dfd0c
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100dfd1d
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [esi + 0x28], 0
mov eax, dword [edi + 8]
push esi
push edi
call eax
mov eax, dword [edi + 8]
push ebx
push edi
call eax
mov eax, dword [ebp - 4]
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x100dfce3
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0x30]
mov dword [edi + 0x58], 0
test eax, eax
je 0x100dfd68
push edi
call eax
add esp, 4
push ebx
push edi
call fcn.100dfbb0
mov eax, dword [ebp - 0xc]
add esp, 8
mov eax, dword [eax + 0x34]
test eax, eax
je 0x100dfd82
push edi
call eax
add esp, 4
mov esi, dword [edi + 0x68]
mov eax, dword [edi + 8]
mov dword [ebp + 0xc], eax
test esi, esi
je 0x100dfdb8
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x100dfda5
push esi
call ecx
mov eax, dword [ebp + 0x10]
add esp, 4
test dword [ebp + 0xc], 0x400
jne 0x100dfdb8
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov eax, dword [edi + 0x80]
mov dword [edi + 0x68], 0
test eax, eax
je 0x100dfddd
push eax
mov eax, dword [ebx + 8]
push ebx
call eax
add esp, 8
mov dword [edi + 0x80], 0
mov eax, dword [ebx + 8]
push edi
push ebx
call eax
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e2e20
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x100e2e36
lea eax, [esi + 0x28]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push ebx
push 0
push 0x80
push 3
push 0
push 1
push Ordinal_2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100e2e65
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 8], eax
je 0x100e2f5f
mov ecx, dword [ebp - 8]
test ecx, ecx
jg 0x100e2f5f
mov eax, dword [ebp - 0xc]
jl 0x100e2e9c
cmp eax, 0x7fffffff
ja 0x100e2f5f
or eax, ecx
je 0x100e2f5f
push 0
push 0
push 0
push 2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
je 0x100e2f5f
mov ecx, dword [ebp - 0xc]
push 0
push 0
push 0
push 4
push edi
mov dword [esi + 4], ecx
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
mov dword [esi], eax
call dword [ebp + 8]
cmp dword [esi], 0
je 0x100e2eed
mov eax, 0x100e2fc0
jmp 0x100e2f2e
push dword [esi + 4]
mov eax, dword [esi + 0x1c]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x100e2f5f
xor edi, edi
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 4]
sub eax, edi
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100e2f50
add edi, dword [ebp - 4]
cmp edi, dword [esi + 4]
jne 0x100e2f05
mov eax, 0x100e2f90
push ebx
mov dword [esi + 0x18], eax
call dword [ebp + 8]
mov eax, dword [esi]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [esi + 0x10], eax
xor eax, eax
pop ebx
mov dword [esi + 0x14], 0
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi]
mov eax, dword [esi + 0x1c]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
call dword [ebp + 8]
pop edi
pop ebx
mov dword [esi], 0
mov eax, 0x51
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10136dc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
test edx, edx
jne 0x10136dd3
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
not eax
cmp esi, 8
jb 0x10136e8e
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1016daa8]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1016daa8]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1016daa8]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1016daa8]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1016daa8]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1016daa8]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1016daa8]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1016daa8]
sub edi, 1
jne 0x10136de7
pop edi
test esi, esi
je 0x10136eac
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1016daa8]
sub esi, 1
jne 0x10136e92
not eax
pop esi
pop ebp
ret
Function at 0x1013a6c2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1013a69e
pop esi
leave
ret 8
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x5fa86868
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x756e2d3d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rdata
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x18b71276
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x72637604
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
jmp 0x403a1c
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405220], eax
mov dword [0x4051a8], 0x403098
mov dword [0x4051a4], 2
jmp 0x403a4c
mov dword [0x4051ac], 0
mov dword [0x4051b0], 0
mov dword [0x4051a0], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051b4], eax
mov dword [0x4051c8], 0x40426e
mov dword [0x4051c0], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051b8], eax
mov dword [0x4051cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051bc], eax
push 0x4051a0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.justam
push 0x40426e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405218], eax
push 5
push dword [0x405218]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405218]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x403b1f
push 0
push 0
push 0
push 0x4051d0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x403b4c
push 0x4051d0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4051d0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x403b1f
mov eax, dword [0x4051d8]
jmp 0x403b59
call 0x402be1
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x181d4e03
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x21fd6a8c
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10024a30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084c70
mov eax, dword fs:[0]
push eax
mov eax, 0x1170
call fcn.10030d40
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x117c]
mov ecx, 0x45c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x100a2784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1120], 0
push 0x10087ea3
lea ecx, [ebp - 0x1048]
call fcn.10002170
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x350], 0xffffffff
je 0x10024b6d
push 0x1000
push 0
lea eax, [ebp - 0x1020]
push eax
call fcn.100338b0
add esp, 0xc
mov esi, esp
push 0
push 0x1000
lea eax, [ebp - 0x1020]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x350]
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp esi, esp
call fcn.1002ec40
mov dword [ebp - 0x1054], eax
cmp dword [ebp - 0x1054], 0
jle 0x10024b6d
lea eax, [ebp - 0x1020]
push eax
lea ecx, [ebp - 0x1148]
call fcn.10002170
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1054]
push ecx
push 0
lea edx, [ebp - 0x1148]
push edx
lea ecx, [ebp - 0x1170]
call fcn.10028440
mov dword [ebp - 0x1178], eax
mov eax, dword [ebp - 0x1178]
mov dword [ebp - 0x117c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x117c]
push ecx
lea ecx, [ebp - 0x1048]
call fcn.1001dac0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1170]
call fcn.10002220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1148]
call fcn.10002220
lea eax, [ebp - 0x1048]
push eax
mov ecx, dword [ebp + 8]
call fcn.100107c0
mov ecx, dword [ebp - 0x1120]
or ecx, 1
mov dword [ebp - 0x1120], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1048]
call fcn.10002220
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x10024bdc]
call fcn.1002ec70
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002f700
add esp, 0x117c
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret 4

Function at 0x100253b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc8], 0
mov esi, esp
push str.._Config1.txt
push 0xff
push 0x100a3f90
push str.188.165.118.40
push 0x1008a5c8
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.1002ec40
push 0x100a3f90
mov ecx, dword [ebp + 8]
call fcn.10002170
mov eax, dword [ebp - 0xc8]
or eax, 1
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.1002ec40
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0
mov edx, dword [sym.imp.kernel32.dll_GetModuleHandleA]
call edx
sub esp, 4
mov dword [0x40201f], eax
jmp 0x4010e6
mov dword [esp], 0x402037
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
jmp 0x401603
mov edx, dword [sym.imp.user32.dll_DispatchMessageA]
call edx
sub esp, 4
jmp 0x40101d
leave
mov eax, dword [0x40203f]
mov dword [esp], eax
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov dword [esp + 0x1c], 0x64
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [0x40201f]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
jmp 0x401090
mov edx, dword [sym.imp.user32.dll_CreateWindowExA]
call edx
sub esp, 0x30
test eax, eax
je 0x40104e
jmp 0x40101d
mov dword [0x402023], eax
mov dword [esp], 0
mov dword [esp + 4], 0x7f00
call dword [sym.imp.user32.dll_LoadCursorA]
sub esp, 8
jmp 0x4010c3
mov dword [0x402027], eax
mov eax, 0x40200f
mov dword [esp], eax
call dword [sym.imp.user32.dll_RegisterClassA]
sub esp, 4
test eax, eax
je 0x40104e
jmp 0x401637
push 0x7f02
push 0
mov edx, dword [sym.imp.user32.dll_LoadIconA]
call edx
sub esp, 8
jmp 0x4010a4
call dword [sym.imp.user32.dll_GetMessageA]
sub esp, 0x10
cmp eax, 1
jb 0x40104e
jne 0x40101d
mov dword [esp], 0x402037
call dword [sym.imp.user32.dll_TranslateMessage]
sub esp, 4
mov dword [esp], 0x402037
jmp 0x401041
mov dword [esp], 0
mov dword [esp + 4], 0x402000
mov dword [esp + 8], 0x40200a
mov dword [esp + 0xc], 0x80000
mov dword [esp + 0x10], pe_nt_image_headers32
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], 0x100
jmp 0x401065

Function at 0x401673
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push dword [0x401188]
pop ebx
mov eax, eax
push 4
push 0x1000
push ebx
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
test eax, eax
jne 0x4016aa
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 4], eax
lea esi, [ebp - 8]
push esi
push 0x40
push ebx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
nop
jne 0x4016c6
call dword [sym.imp.kernel32.dll_GetLastError]
mov eax, dword [ebp - 4]
leave
ret
Function at 0x401000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 0xc], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0x7c], edx
mov dword [esi + 0x88], 0xffffffff
lea edx, [esi + 0x80]
mov dword [esi + 0x84], 0x406410
mov edi, dword fs:[0]
mov dword [esi + 0x80], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 8
mov dword [esi + 0x14], edx
mov edx, eax
add edx, 0x44
mov dword [esi + 0x18], edx
add eax, 0x5c
mov dword [esi + 0x1c], eax
mov dword [esi + 0x78], ecx
mov dword [esi + 0x88], 2
mov eax, esp
mov dword [eax], 0x4161f0
lea ecx, [esi + 0x60]
call fcn.00406590
sub esp, 4
jmp 0x401085
mov dword [esi + 0x5c], 0x40f2e7d0
mov dword [esi + 0x58], 0
mov byte [esi + 0x57], 0
mov dword [esi + 0x88], 3
mov eax, esp
mov dword [eax], 0x4161f0
lea ecx, [esi + 0x3c]
call fcn.00406590
sub esp, 4
jmp 0x4010b9
mov dword [esi + 0x88], 4
mov eax, esp
mov dword [eax], 0x4161f0
lea ecx, [esi + 0x24]
call fcn.00406590
sub esp, 4
jmp 0x4010db
lea ecx, [esi + 0x24]
lea eax, [esi + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00406650
mov byte [esi + 0x13], al
lea ecx, [esi + 0x24]
call fcn.00406680
lea ecx, [esi + 0x3c]
call fcn.00406680
mov al, byte [esi + 0x13]
test al, 1
jne 0x401110
jmp 0x401134
mov dword [esi + 0x20], 0x2c
cmp dword [esi + 0x20], 0
jle 0x40112f
mov eax, dword [esi + 0x20]
add eax, 0xffffffff
mov dword [esi + 0x20], eax
jmp 0x401117
jmp 0x401134
lea ecx, [esi + 0x60]
call fcn.00406680
mov ecx, dword [esi + 0x14]
call fcn.00406680
mov ecx, dword [esi + 0x18]
call fcn.00406680
mov ecx, dword [esi + 0x1c]
call fcn.00406680
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov al, 1
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x74
Function at 0x4012d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0x84], edx
mov dword [esi + 0x90], 0xffffffff
lea edx, [esi + 0x88]
mov dword [esi + 0x8c], 0x406430
mov edi, dword fs:[0]
mov dword [esi + 0x88], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 8
mov dword [esi + 0xc], edx
add eax, 0x2c
mov dword [esi + 0x10], eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x90], 1
mov eax, esp
mov dword [eax], str.uoywxpyrziluhnqwneyrvkdnlfrizubacdhxhahomckbvuhlbedpocqlxfxnkwdvndjowchfrdxoofwwtctnzuag
lea ecx, [esi + 0x68]
call fcn.00406590
sub esp, 4
jmp 0x401353
mov dword [esi + 0x64], 0x40de3080
mov dword [esi + 0x60], 0
mov dword [esi + 0x90], 2
mov eax, esp
mov dword [eax], str.lhilzwal
lea ecx, [esi + 0x48]
call fcn.00406590
sub esp, 4
jmp 0x401383
mov dword [esi + 0x90], 3
mov eax, esp
mov dword [eax], 0x416264
lea ecx, [esi + 0x30]
call fcn.00406590
sub esp, 4
jmp 0x4013a5
mov dword [esi + 0x90], 4
mov eax, esp
mov dword [eax], str.uuantvrwbpjynivqpmuysudfnlqbvciqshpfyhuojrozwwqcpxnlxadgksvypu
lea ecx, [esi + 0x18]
call fcn.00406590
sub esp, 4
jmp 0x4013c7
mov byte [esi + 0x17], 0
lea ecx, [esi + 0x18]
call fcn.00406680
lea ecx, [esi + 0x30]
call fcn.00406680
lea ecx, [esi + 0x48]
call fcn.00406680
lea ecx, [esi + 0x68]
call fcn.00406680
mov ecx, dword [esi + 0xc]
call fcn.00406680
mov ecx, dword [esi + 0x10]
call fcn.00406680
mov eax, dword [esi + 0x88]
mov dword fs:[0], eax
mov al, 1
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x44
Function at 0x402180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0xa4], edx
mov dword [esi + 0xb0], 0xffffffff
lea edx, [esi + 0xa8]
mov dword [esi + 0xac], 0x4064d0
mov edi, dword fs:[0]
mov dword [esi + 0xa8], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 4
mov dword [esi + 0x10], edx
mov edx, eax
add edx, 0x34
mov dword [esi + 0x14], edx
add eax, 0x50
mov dword [esi + 0x18], eax
mov dword [esi + 0xa0], ecx
mov dword [esi + 0x9c], 0x40d58880
mov dword [esi + 0x98], 0
mov dword [esi + 0x94], 0x40e086a0
mov dword [esi + 0x90], 0
mov dword [esi + 0xb0], 2
mov eax, esp
mov dword [eax], 0x416377
lea ecx, [esi + 0x78]
call fcn.00406590
sub esp, 4
jmp 0x402233
mov dword [esi + 0x74], 0x40e1a5c0
mov dword [esi + 0x70], 0
mov dword [esi + 0xb0], 3
mov eax, esp
mov dword [eax], str.ifyeyulckwqhendsxpbccpys
lea ecx, [esi + 0x58]
call fcn.00406590
sub esp, 4
jmp 0x402263
mov byte [esi + 0x57], 0
mov dword [esi + 0xb0], 4
mov eax, esp
mov dword [eax], str.ifyeyulckwqhendsxpbccpys
lea ecx, [esi + 0x3c]
call fcn.00406590
sub esp, 4
jmp 0x402289
mov dword [esi + 0xb0], 5
mov eax, esp
mov dword [eax], str.ifyeyulckwqhendsxpbccpys
lea ecx, [esi + 0x24]
call fcn.00406590
sub esp, 4
jmp 0x4022ab
lea ecx, [esi + 0x24]
lea eax, [esi + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00406650
mov byte [esi + 0xf], al
lea ecx, [esi + 0x24]
call fcn.00406680
lea ecx, [esi + 0x3c]
call fcn.00406680
mov al, byte [esi + 0xf]
test al, 1
jne 0x4022e0
jmp 0x402304
mov dword [esi + 0x20], 0x5b
cmp dword [esi + 0x20], 0
jle 0x4022ff
mov eax, dword [esi + 0x20]
add eax, 0xffffffff
mov dword [esi + 0x20], eax
jmp 0x4022e7
jmp 0x402304
mov dword [esi + 0x1c], 0x26
cmp dword [esi + 0x1c], 0
jle 0x402323
mov eax, dword [esi + 0x1c]
add eax, 0xffffffff
mov dword [esi + 0x1c], eax
jmp 0x40230b
lea ecx, [esi + 0x58]
call fcn.00406680
lea ecx, [esi + 0x78]
call fcn.00406680
mov ecx, dword [esi + 0x10]
call fcn.00406680
mov ecx, dword [esi + 0x14]
call fcn.00406680
mov ecx, dword [esi + 0x18]
call fcn.00406680
mov eax, dword [esi + 0xa8]
mov dword fs:[0], eax
mov al, 1
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x68