joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441120
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x495668
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.0048e525
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440ac0
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.0048e453
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.0048ad17
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.0048ad17
push 1
push 0
push 0
mov ecx, esi
call fcn.0048acbf
push 1
push 0
push 1
mov ecx, esi
call fcn.0048acbf
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048e597
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4412a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x495688
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.0048e525
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440ac0
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.0048e453
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 0x441364
cmp dword [esp + 0x40], 1
jne 0x441362
cmp ecx, eax
jge 0x441364
mov eax, ecx
cmp eax, 0xc8
jge 0x441370
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00441120
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.0048e597
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441af0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4956f3
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.00489135
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.0048e7cd
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048fce9
test eax, eax
je 0x441c0c
mov ecx, dword [esp + 0x3c]
call fcn.0048e7fa
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 0x441bd0
push edi
mov ecx, esi
call fcn.0048be62
mov ecx, esi
call fcn.00441d70
cmp dword [esp + 0x38], 1
jne 0x441c05
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.0048bf9d
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 0x444650
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444683
push esi
call fcn.00452990
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44467c
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 0x444709
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4446f2
mov eax, dword [esi + 8]
test eax, eax
je 0x4446a7
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 0x4446ee
cmp eax, 2
je 0x4446f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44469a
cmp eax, 3
je 0x4446cd
cmp eax, 1
jne 0x44469a
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 0x44469a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44469a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444730
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x444718
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444730
add esp, 4
pop esi
ret

Function at 0x444fa0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x444fc1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x444fc1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x444fc1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x462280
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4d2ac0]
xor edx, edx
cmp eax, edx
jne 0x4622a6
xor eax, eax
mov byte [eax + 0x4d29c0], al
inc eax
cmp eax, 0x100
jl 0x46228e
mov dword [0x4d2ac0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4d29c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x462337
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46230a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4622d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4623b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x462403
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4623ea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x468db0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x495b8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004696d0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x49edd4
call fcn.004878c7
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x468e43
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004878c7
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x468e3c
push 0
mov ecx, eax
call fcn.0045feb0
mov dword [esi + 0xc], eax
jmp 0x468e45
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x468e45
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x489f2a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x489f62
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.00487fe1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00487fb9
jmp 0x489f6e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48b61f
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 0x48b661
call fcn.004910d9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48b661
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48b658
xor eax, eax
jmp 0x48b669
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048b66f
pop edi
pop esi
pop ebx
ret 4
Function at 0x491609
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x491637
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x491655
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049156f
jmp 0x491655
mov eax, dword [esi + 0x14]
test eax, eax
je 0x491655
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049156f
test edi, edi
mov eax, edi
jne 0x49163f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x4eccbc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4eca52
add edi, 0x494a25bf
and edi, edi
call fcn.004eccff
mov edx, edi
inc edx
or edi, edi
xor dword [ebx], ecx
sub edx, 0x3bb1f3c8
add ebx, 1
sub edx, 0x5793660a
dec edi
sub edx, 0x325ef649
cmp ebx, esi
jl fcn.004eccbc
mov edi, edx
mov edx, 0xbaf24e9
ret

Function at 0x438ca7
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x438a14
dec edx
call fcn.00438cd5
and edx, edx
xor dword [ecx], ebx
dec edx
add ecx, 1
add eax, eax
cmp ecx, edi
jne fcn.00438ca7
add eax, 0x46d5341a
push eax
pop eax
sub eax, eax
ret
Function at 0x401364
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x40af50
sub eax, eax
test esi, esi
je 0x40143c
sub eax, 1
test ecx, ecx
je 0x40143a
test esi, 3
je 0x4013a2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x401387
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x401421
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x4013ac
mov ecx, edx
test ecx, ecx
je 0x40143a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x401427
not eax
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x402926
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x40e994]
sub esp, 0x42c
mov eax, dword [eax + 4]
push ebx
push esi
push edi
xor ebx, ebx
mov esi, edx
push ebx
mov edi, ecx
call eax
test eax, eax
jns 0x40294e
xor al, al
jmp 0x402a5f
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push ebx
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 8]
mov eax, dword [0x40e998]
push ecx
push edi
push ebx
mov eax, dword [eax + 4]
mov byte [ebp - 0x20], 1
call eax
test eax, eax
js 0x402a55
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x402a55
mov ecx, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push 0x400
lea edx, [ebp - 0x428]
mov dword [ebp - 0x10], ebx
mov eax, dword [ecx]
mov esi, ebx
push edx
mov edi, ebx
mov dword [ebp - 0x18], esi
push ecx
mov dword [ebp - 0x14], edi
call dword [eax + 0xc]
test eax, eax
js 0x4029fc
cmp dword [ebp - 4], ebx
jbe 0x4029f9
push dword [ebp - 4]
lea eax, [ebp - 0x428]
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.00406153
mov ecx, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push 0x400
lea edx, [ebp - 0x428]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
mov edi, dword [ebp - 0x14]
test eax, eax
jns 0x4029c1
mov esi, dword [ebp - 0x18]
push ecx
push ecx
mov eax, esp
lea ecx, [ebp - 4]
sub edi, esi
mov dword [eax], esi
mov dword [eax + 4], edi
call fcn.004055a4
mov eax, dword [ebp - 4]
pop ecx
pop ecx
push ebx
test eax, eax
je 0x402a64
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
mov eax, dword [eax + 4]
push edx
sub eax, ecx
push eax
push ecx
mov edi, dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402a3d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp - 4]
call fcn.00404ba3
test esi, esi
je 0x402a55
mov edx, dword [ebp - 0x10]
mov ecx, esi
sub edx, esi
call fcn.00405dc4
lea ecx, [ebp - 0x24]
call fcn.00404bdc
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
jmp 0x402a26

Function at 0x402b54
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push 0
push 0
mov edi, ecx
mov esi, edx
push 0xe
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jg 0x402b6f
xor al, al
jmp 0x402ba4
push ecx
inc eax
mov ecx, esi
push eax
call fcn.00404f4b
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x402b83
mov eax, dword [esi]
push eax
push dword [esi + 0x10]
push 0xd
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jle 0x402ba1
push ecx
push edi
mov ecx, esi
call fcn.00404f4b
test edi, edi
setg al
pop edi
pop esi
ret
Function at 0x402d7b
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
and dword [ebp - 0x10], 0
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], esi
cmp dword [edi + 0x34], 0
jne 0x402dbb
lea eax, [ebp - 0x14]
push eax
push 0x402f34
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x402e18
mov dword [edi + 0x34], eax
jmp 0x402e18
push str.SHELLDLL_DefView
lea ecx, [ebp - 0x34]
call fcn.00404fd1
mov esi, dword [edi + 0x34]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
call fcn.00405034
and dword [ebp - 0x38], 0
lea eax, [ebp - 0x50]
push eax
push 0x402ba7
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.00404f75
lea ecx, [ebp - 0x34]
call fcn.00404f75
test esi, esi
je 0x402e15
push 0
push str.DirectUIHWND
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [edi + 0x38], eax
mov esi, dword [ebp - 8]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x38], 0
jne 0x402e42
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, esi
sbb edx, dword [ebp - 0xc]
jne 0x402e3e
cmp eax, 0x2710
jb 0x402d9a
cmp dword [edi + 0x38], 0
pop edi
setne al
pop esi
leave
ret 4

Function at 0x402f3d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 0x18]
cmp dword [esi + 0x8c], edi
je 0x402f82
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00405682
mov ecx, dword [esi + 0x8c]
test ecx, ecx
je 0x402fb0
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
mov eax, dword [eax + 8]
call eax
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.004050b4
mov al, bl
jmp 0x402fab
xor ecx, ecx
cmp byte [esi + 0x30], cl
push 5
pop edx
cmovne ecx, edx
cmp dword [eax + 0x14], 0xf
jbe 0x402f95
mov eax, dword [eax]
push ecx
push edi
push edi
push eax
push 0x40b634
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
setg al
pop edi
pop esi
pop ebx
leave
ret
call fcn.004079ce
int3

Function at 0x40348a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x40350f
push 0x228
lea eax, [ebp - 0x228]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x403504
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x4034e2
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x403515
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4034d8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
leave
ret
mov eax, dword [ebp - 0x224]
jmp 0x403511
Function at 0x403698
Capabilities:
Enumerate processes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x294
lea eax, [esp + 0x1c]
push ebx
push esi
push edi
push eax
mov edi, ecx
call fcn.00401e26
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x403815
push 0x228
lea eax, [esp + 0x78]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x70], 0x22c
lea eax, [esp + 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x403806
cmp dword [esp + 0x3c], 7
lea eax, [esp + 0x28]
cmova eax, dword [esp + 0x28]
push eax
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 4
lea eax, [esp + 0x98]
lea ecx, [esp + 0x14]
push eax
call fcn.004056b1
cmp dword [esp + 0x3c], 7
lea ecx, [esp + 0x28]
lea eax, [esp + 0x10]
cmova ecx, dword [esp + 0x28]
cmp dword [esp + 0x24], 7
push ecx
cmova eax, dword [esp + 0x14]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.004050b4
test esi, esi
jne 0x4037fa
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x10]
call fcn.0040351d
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x403776
mov ecx, dword [edi]
cmp dword [esp + 0x24], 7
lea eax, [esp + 0x10]
push ecx
cmova eax, dword [esp + 0x14]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
mov edx, edi
lea ecx, [esp + 0x58]
call fcn.004035f6
mov esi, eax
cmp dword [esi + 0x14], 7
jbe 0x4037a3
mov esi, dword [esi]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x40]
call fcn.004035f6
cmp dword [eax + 0x14], 7
jbe 0x4037b8
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.004050b4
lea ecx, [esp + 0x58]
call fcn.004050b4
test esi, esi
jne 0x4037f1
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x403838
mov eax, dword [ecx]
lea edx, [esp + 0x70]
push edx
mov eax, dword [eax + 8]
call eax
test al, al
je 0x40382d
lea ecx, [esp + 0x10]
call fcn.004050b4
lea eax, [esp + 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4036f5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28]
call fcn.004050b4
lea ecx, [ebp + 8]
call fcn.00404b43
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
call fcn.004050b4
jmp 0x40380e
call fcn.004079ce
int3
Function at 0x403aad
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
push edi
push 0x2e
pop eax
push 0x62
mov word [ebp - 0x24], ax
mov esi, ecx
pop eax
push 0x70
mov word [ebp - 0x22], ax
pop eax
push 0x68
mov word [ebp - 0x20], ax
pop eax
mov word [ebp - 0x1e], ax
push 0x72
pop eax
mov word [ebp - 0x1c], ax
xor eax, eax
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x70]
push eax
call fcn.00401e66
push eax
lea ecx, [ebp - 0x58]
call fcn.00404dc7
lea ecx, [ebp - 0x70]
call fcn.004050b4
cmp dword [ebp - 0x44], 7
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x403c43
push esi
lea ecx, [ebp - 0x70]
call fcn.00404dc7
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x28], bl
push dword [ebp - 0x28]
push ebx
push 0x40b668
call fcn.0040705a
add esp, 0xc
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00401cf8
push eax
lea ecx, [ebp - 0x88]
call fcn.00404dc7
lea ecx, [ebp - 0x18]
call fcn.004050b4
push str.cmd.exe__c_move
lea ecx, [ebp - 0x40]
call fcn.00404d88
push 1
mov edi, 0x40b690
lea ecx, [ebp - 0x40]
push edi
call fcn.00404cbc
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x18]
call fcn.00404dc7
cmp dword [ebp - 4], 7
lea eax, [ebp - 0x18]
push dword [ebp - 8]
cmova eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push eax
call fcn.00404cbc
lea ecx, [ebp - 0x18]
call fcn.004050b4
push 1
push edi
lea ecx, [ebp - 0x40]
call fcn.00404cbc
push 2
push 0x40b694
lea ecx, [ebp - 0x40]
call fcn.00404cbc
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x18]
call fcn.00404dc7
cmp dword [ebp - 4], 7
lea eax, [ebp - 0x18]
push dword [ebp - 8]
cmova eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push eax
call fcn.00404cbc
lea ecx, [ebp - 0x18]
call fcn.004050b4
push 1
push edi
lea ecx, [ebp - 0x40]
call fcn.00404cbc
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push 5
cmova eax, dword [ebp - 0x40]
push ebx
push eax
push str.cmd.exe
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.00401eba
lea ecx, [ebp - 0x40]
call fcn.004050b4
lea ecx, [ebp - 0x88]
call fcn.004050b4
lea ecx, [ebp - 0x70]
call fcn.004050b4
lea ecx, [ebp - 0x58]
call fcn.004050b4
pop edi
pop esi
pop ebx
leave
ret