joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003faf0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10075b78
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x1003fb29
inc eax
mov dword [esi + 0x10], eax
jmp 0x1003fc3c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x1003fb3d
mov eax, 0xffffffc7
jmp 0x1003fc3e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x1003fb4e
cmp dword [esi + 8], eax
jne 0x1003fb3d
cmp dword [esi + 8], eax
jne 0x1003fb67
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x1003fb67
mov eax, 0xffffffc7
jmp 0x1003fc3e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x1003fb7b
push eax
mov ecx, ebx
call fcn.1003f320
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.10011110
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x1003fbac
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.10011130
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.1003ea90
test eax, eax
mov dword [esp + 0x38], eax
je 0x1003fbdf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1007a190
call fcn.10011310
mov eax, dword [esp + 0x38]
jmp 0x1003fc3e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.1003f950
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x1003fc23
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.1003f970
mov esi, eax
test esi, esi
jne 0x1003fc53
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.1003f950
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x1003fbf5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1007a190
call fcn.10011310
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1007a190
call fcn.10011310
mov eax, esi
jmp 0x1003fc3e

Function at 0x10042d70
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x10042dd0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x10042dd0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x10042dd0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x10042dd0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x10042e10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x10048d60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100761a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.1006f0ca
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.10048700
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.1006eff8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.1006b8a2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.1006b8a2
push 1
push 0
push 0
mov ecx, esi
call fcn.1006b84a
push 1
push 0
push 1
mov ecx, esi
call fcn.1006b84a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1006f13c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10048ee0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100761c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.1006f0ca
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.10048700
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.1006eff8
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x10048fa4
cmp dword [esp + 0x40], 1
jne 0x10048fa2
cmp ecx, eax
jge 0x10048fa4
mov eax, ecx
cmp eax, 0xc8
jge 0x10048fb0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.10048d60
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1006f13c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x10049720
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10076233
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.10069cbf
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.1006f372
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.1007088e
test eax, eax
je 0x1004983c
mov ecx, dword [esp + 0x3c]
call fcn.1006f39f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10049800
push edi
mov ecx, esi
call fcn.1006c9ec
mov ecx, esi
call fcn.100499a0
cmp dword [esp + 0x38], 1
jne 0x10049835
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.1006cb27
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x1004c250
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1004c283
push esi
call fcn.1004f340
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1004c27c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1004c309
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1004c2f2
mov eax, dword [esi + 8]
test eax, eax
je 0x1004c2a7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1004c2ee
cmp eax, 2
je 0x1004c2f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1004c29a
cmp eax, 3
je 0x1004c2cd
cmp eax, 1
jne 0x1004c29a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1004c29a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1004c29a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1004c330
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1004c318
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1004c330
add esp, 4
pop esi
ret

Function at 0x1006aab5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1006aaed
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10068b6c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10068b44
jmp 0x1006aaf9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1006c1a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1006c1e8
call fcn.10071c79
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1006c1e8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1006c1df
xor eax, eax
jmp 0x1006c1f0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1006c1f6
pop edi
pop esi
pop ebx
ret 4
Function at 0x121100fc
Capabilities:
Packed with generic packer

Disassembly:
lsl eax, esi
add al, 0x35
stc
sub bh, byte [ebp - 0x14]
scasb al, byte es:[edi]
idiv dword [bx + si]
jnp 0x1211010d
lodsd eax, dword [esi]
jns fcn.121100fc
jge 0x12110091
cmp eax, 0x2a
sub dword [eax + 0x7f], 0x78f56552
mov edx, 0x679e54fa
xchg byte [ecx - 6], ch
clc
sub al, byte [ecx + 0x65527f68]
cmc
Function at 0x1006225
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
cmp byte [ecx], al
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
je 0x100625b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x100625f
xor eax, eax
jmp 0x1006275
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
push 0x400
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4

Function at 0x1007528
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x1007563
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1007540
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x100757f
dec esi
je 0x1007578
dec esi
jne 0x1007584
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc

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, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401f30
Capabilities:
Get graphical window text
Log keystrokes
Open clipboard
Write clipboard data

Disassembly:
push ecx
mov al, byte [0x415f20]
push ebx
mov bl, 0x40
push ebp
push esi
cmp al, bl
push edi
mov ebp, ecx
jne 0x4020bd
push 0x41518c
push str.QufPanelWnd
call dword [sym.imp.USER32.dll_FindWindowA]
push 0
push str.ComboBox
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
test esi, esi
je 0x401f8a
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x415f21
push 0
push 0xc
push esi
call edi
push 0
push 0xd
push 0x100
push esi
call edi
mov esi, dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
jne 0x4020bd
cmp byte [0x415f20], bl
jne 0x4020bd
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4020bd
lea eax, [esp + 0x10]
push eax
push 0x4020d0
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4020bd
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 1
push 0x201
push ecx
call esi
mov edx, dword [esp + 0x10]
push 0
push 0
push 0x202
push edx
call esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0x104
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov edx, eax
mov edi, 0x415f21
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0
push 0
push 0x11
call esi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x11
call edi
push 0
push 0
push 0
push 0x56
call esi
push eax
push 0x56
call edi
push 0
push 2
push 0
push 0x56
call esi
push eax
push 0x56
call edi
push 0
push 2
push 0
push 0x11
call esi
push eax
push 0x11
call edi
push 0
push 0
push 0
push 0xd
call esi
push eax
push 0xd
call edi
push 0
push 2
push 0
push 0xd
call esi
push eax
push 0xd
call edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40b5b0
Capabilities:
Terminate process

Disassembly:
mov dword [ecx], 0x4118a4
jmp 0x40b980
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esi + 4]
test eax, eax
je 0x40b8fb
push eax
call edi
mov dword [esi + 4], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40b937
mov ecx, dword [esi + 8]
neg ecx
sbb ecx, ecx
and ecx, 0x2a8
add ecx, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x40b92a
mov edx, dword [esi + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov eax, dword [esi + 0xc]
push eax
call edi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x40b948
push eax
call edi
mov dword [esi + 8], 0
pop edi
pop esi
ret
jmp 0x40b8e0

Function at 0x40b5c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x420
push ebx
push ebp
push esi
mov esi, dword [esp + 0x434]
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, ecx
mov eax, dword [esi + 0x2c]
push edi
or al, 0x81
lea edi, [ebx + 0x14]
mov dword [esi + 0x2c], eax
push edi
lea eax, [esp + 0x24]
push str.__s_
push eax
mov dword [esi], 0x44
mov word [esi + 0x30], 0
call ebp
mov al, byte [esp + 0x440]
add esp, 0xc
lea ecx, [esp + 0x10]
xor edx, edx
push ecx
push esi
test al, al
push 0
push 0
setne dl
push 0
push edx
push 0
lea eax, [esp + 0x3c]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x40b673
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push edi
lea ecx, [esp + 0x230]
push str.Cant_create_process___s__error__d_
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x228]
push 0
push 0x415e84
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x420
ret 8
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], edx
pop ebp
xor eax, eax
pop ebx
add esp, 0x420
ret 8
Function at 0x40b6a0
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov ebp, ecx
push edi
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x40b6e4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 2
push 0
lea eax, [ebp + 8]
push 0
push eax
call esi
mov ecx, dword [esp + 0x20]
push eax
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push eax
call edi
test eax, eax
jne 0x40b713
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edx
call ebx
lea eax, [esp + 0x20]
push 0x1000
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x40b746
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
push 2
push 0
lea eax, [ebp + 4]
push 0
push eax
call esi
mov ecx, dword [esp + 0x20]
push eax
push ecx
call esi
push eax
call edi
test eax, eax
jne 0x40b769
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov edx, dword [esp + 0x10]
push edx
call ebx
push 2
push 1
lea eax, [esp + 0x24]
push 0
push eax
call esi
mov ecx, dword [esp + 0x24]
push eax
push ecx
call esi
push eax
call edi
test eax, eax
jne 0x40b794
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov edx, dword [esp + 0x18]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x6c], ecx
push edx
push 1
mov ecx, ebp
mov dword [esp + 0x60], 0x100
mov dword [esp + 0x70], eax
call fcn.0040b5c0
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call ebx
mov ecx, dword [esp + 0x14]
push ecx
call ebx
mov edx, dword [esp + 0x1c]
push edx
call ebx
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebp
sete al
pop ebx
add esp, 0x60
ret

Function at 0x40b800
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
mov eax, dword [esi + 4]
test eax, eax
je 0x40b85b
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0x114]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_vsprintf]
add esp, 0xc
mov byte [esp + eax + 8], 0xd
inc eax
lea ecx, [esp + 4]
push 0
push ecx
mov byte [esp + eax + 0x10], 0xa
inc eax
push eax
lea edx, [esp + 0x14]
mov byte [esp + eax + 0x14], 0
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
add esp, 0x104
ret
Function at 0x40bca0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push ecx
push 0x415e88
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
ret 0x10

Function at 0x40c3f0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x120c
call fcn.004102a0
mov eax, dword [esp + 0x1210]
push ebx
push ebp
push esi
push edi
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x40c48d
lea ecx, [esp + 0x10]
lea edx, [esp + 0x21c]
push ecx
push 0x1000
push edx
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x40c486
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, 0xfffffffc
jbe 0x40c486
mov ebp, dword [esp + 0x1224]
lea esi, [esp + 0x21c]
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push 0x104
push eax
push ecx
push ebx
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x40c477
lea edx, [esp + 0x14]
push ebp
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40c49a
mov eax, dword [esp + 0x10]
inc edi
shr eax, 2
add esi, 4
cmp edi, eax
jb 0x40c450
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x120c
ret
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + edi*4 + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120c
ret
Function at 0x40ce10
Capabilities:
Enumerate process modules

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x18]
push eax
push 8
mov dword [esp + 0x10], 0
mov dword [edi], 0x428
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ce3e
pop edi
xor eax, eax
pop esi
pop ecx
ret
push ebx
push ebp
push edi
push esi
call sub.KERNEL32.DLL_Module32FirstW
test eax, eax
je 0x40ce82
mov ebp, dword [esp + 0x1c]
lea ebx, [edi + 0x20]
push ebx
push ebp
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x40ce7a
push edi
push esi
call sub.KERNEL32.DLL_Module32NextW
test eax, eax
jne 0x40ce52
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret
Function at 0x4100f0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push esi
push edi
push 0
push 0
push 0
push 0
push str.IE6.0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x41010e
pop edi
pop esi
ret
mov eax, dword [esp + 0xc]
push 0
push 0x4000000
push 0
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x410137
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
push ecx
push edx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
pop edi
mov eax, 1
pop esi
ret