joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422b74
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4296b0]
cmp byte [eax + 0x85], 0
jne 0x422be5
cmp dword [0x4296e8], 0
jne 0x422ba6
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x422b30
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4296e8], eax
cmp dword [0x4296e4], 0
jne 0x422bc1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4296e4], eax
cmp dword [0x4296ec], 0
jne 0x422be5
push esp
push 0
push 0
push 0x422ad4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4296ec], eax
pop edx
ret

Function at 0x422cd4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x422ceb
add esp, 0xfffffff0
call fcn.00402d4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040f030
mov dl, 1
mov eax, dword [0x409b98]
call fcn.00402b70
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x409b98]
call fcn.00402b70
mov dword [ebx + 0x88], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x40], 0x80000018
mov dword [ebx + 0x58], 0x1f4
mov dword [ebx + 0x5c], 0x32
mov dword [ebx + 0x60], 0x9c4
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, dword [0x410240]
call fcn.00412fec
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x422e44
mov eax, dword [0x428910]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00413384
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x424468
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x428910]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004081f0
test eax, eax
je 0x422dcc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004067e0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00408218
test eax, eax
je 0x422de0
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403810
mov eax, dword [0x4288a0]
cmp byte [eax], 0
jne 0x422e11
mov eax, ebx
call fcn.00422f28
mov byte [ebx + 0x3d], 1
mov byte [ebx + 0x3e], 1
mov byte [ebx + 0x3f], 1
mov byte [ebx + 0x7e], 1
xor eax, eax
mov dword [ebx + 0x80], eax
cmp byte [ebp - 1], 0
je 0x422e39
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42317c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4296b0]
cmp dword [eax + 0x24], 0
je 0x42320c
cmp dword [ebx + 0x74], 0
jne 0x423209
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x423110
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x70]
cmp dword [eax + 8], 0
je 0x423209
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4231d8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x423209
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x70]
call fcn.0040ac08
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4231e4
inc dword [ebx + 0x74]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x423af4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x84], 0
je 0x423b29
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004036c8
jmp 0x423b33
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.0040367c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4246d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x424710
mov eax, esi
call fcn.00419a74
test al, al
je 0x424710
mov eax, dword [ebx + 0x64]
call fcn.004198dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x424710
push 0
mov eax, dword [ebx + 0x64]
call fcn.004198dc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x427724
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4277b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.004273ac
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403a24
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42779f
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x428974]
call fcn.004045bc
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x42727c]
call fcn.004078e8
call fcn.004030c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4277bc
lea eax, [ebp - 0x10]
call fcn.004035e4
ret
Function at 0x4277c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x427863
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403a24
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42783d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x428a40]
call fcn.004045bc
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x42727c]
call fcn.004078e8
call fcn.004030c0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004273dc
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42786a
lea eax, [ebp - 0x10]
call fcn.004035e4
ret
Function at 0x4026b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x4026db
mov edx, dword [ebp + 8]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4026c4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret
Function at 0x406ab0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4bc100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x210]
push esi
mov eax, edx
mov esi, 0x104
push edi
mov dword [ebx], 0
sub ecx, eax
mov dword [ebx + 4], 0
lea eax, [esi + 0x7ffffefa]
test eax, eax
je 0x406b03
movzx eax, word [ecx + edx]
test ax, ax
je 0x406b03
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x406ae5
test esi, esi
lea eax, [edx - 2]
cmovne eax, edx
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x104
lea eax, [ebp - 0x210]
nop dword [eax + eax]
cmp word [eax], 0
je 0x406b2e
add eax, 2
sub ecx, 1
jne 0x406b20
mov edx, 0x104
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x406b86
lea ecx, [ebp - 0x210]
lea ecx, [ecx + esi*2]
sub edx, esi
je 0x406b79
mov edi, 0x4a8654
mov eax, 0x7ffffffe
sub edi, ecx
nop dword [eax]
test eax, eax
je 0x406b79
movzx esi, word [edi + ecx]
test si, si
je 0x406b79
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x406b60
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x210]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x406bc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x406baf
xor edi, edi
jmp 0x406bf3
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc9
call fcn.004066a0
add esp, 4
mov edi, eax
jmp 0x406bf3
lea edx, [ebp - 0x214]
mov dword [ebp - 0x214], 0
mov ecx, esi
call fcn.00406910
mov edi, eax
test edi, edi
jns 0x406c0a
push edi
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xcf
call fcn.00406650
add esp, 8
test esi, esi
jne 0x406c18
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046dafc
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
xor edi, edi
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x406bf7
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0x942
call fcn.004066f0
int3

Function at 0x40aeb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, esi
cmp dword [esi + 0x14], 0xf
mov ebx, dword [esi + 0x10]
jbe 0x40aecc
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x40aee8
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x40aed7
push edx
push esi
lea eax, [esp + 0x18]
mov ecx, 0x4c144c
push eax
call fcn.00442930
mov ecx, dword [0x4c1450]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
cmp ecx, dword [0x4c1450]
je 0x40af35
push esi
lea eax, [esp + 0x14]
push eax
call fcn.00436c80
mov ecx, 0x4c144c
mov edx, dword [eax]
mov al, byte [ebp + 0xc]
mov byte [edx + 0x20], al
call fcn.0040afd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, str.The_app_doesnt_exist_in_JSON.
mov ecx, 0x4c0448
call fcn.004347a0
push eax
call fcn.00434a40
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40af60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
cmp dword [edx + 0x14], 0xf
push ebx
mov ebx, dword [edx + 0x10]
push esi
push edi
mov edi, edx
jbe 0x40af79
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x40af95
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x40af84
push esi
push edx
lea eax, [ebp - 8]
mov ecx, 0x4c144c
push eax
call fcn.00442930
mov edx, dword [0x4c1450]
pop edi
pop esi
mov eax, dword [eax + 4]
test eax, eax
pop ebx
cmovne edx, eax
cmp edx, dword [0x4c1450]
je 0x40afc7
mov al, byte [edx + 0x20]
mov esp, ebp
pop ebp
ret 4
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x40c5a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, esi
cmp dword [esi + 0x14], 0xf
jbe 0x40c5bb
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [esi + 0x10], ecx
jbe 0x40c5d9
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x10]
jb 0x40c5c7
push edx
push esi
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.00442930
mov eax, dword [eax + 4]
test eax, eax
je 0x40c655
cmp eax, dword [ebx + 4]
je 0x40c655
push esi
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.00436940
mov ecx, dword [eax]
add ecx, 0x20
cmp dword [ecx + 0x14], 0xf
mov edx, dword [ecx + 0x10]
jbe 0x40c610
mov ecx, dword [ecx]
push 5
push str.false
call fcn.00446f40
add esp, 8
test al, al
je 0x40c655
push esi
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.00436940
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
add ecx, 0x20
cmp ecx, eax
je 0x40c64e
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x40c647
mov eax, dword [eax]
push edx
push eax
call fcn.0042f080
mov ecx, ebx
call fcn.0040c7f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40c660
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497947
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x4bc100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov esi, dword [ebx + 0xc]
mov edi, esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], 0
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x1c], eax
jbe 0x40c6bb
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [esi + 0x10], ecx
jbe 0x40c6d9
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x10]
jb 0x40c6c7
push edx
push esi
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.00442930
mov eax, dword [eax + 4]
test eax, eax
jne 0x40c6f3
mov eax, dword [esi + 4]
cmp eax, dword [esi + 4]
je 0x40c714
add eax, 0x20
lea ecx, [ebp - 0x54]
push eax
call fcn.0042b1e0
mov ecx, eax
mov dword [ebp - 4], 0
mov eax, 1
jmp 0x40c747
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push str.false
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x34], xmm0
call fcn.0040e0a0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
mov eax, 2
mov esi, dword [ebp - 0x1c]
push ecx
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0042b1e0
mov eax, dword [ebp - 0x14]
or eax, 4
test al, 2
je 0x40c79b
mov ecx, dword [ebp - 0x20]
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
cmp ecx, 0xf
jbe 0x40c79b
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c78e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7e7
push ecx
push edx
call fcn.0046dfdf
mov eax, dword [ebp - 0x14]
add esp, 8
test al, 1
je 0x40c7cf
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x40c7cf
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c7c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c7e7
push ecx
push edx
call fcn.0046dfdf
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0047bff9
int3
Function at 0x40d4e0
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497a98
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x170
mov eax, dword [0x4bc100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x15c], esi
push 0
push 2
mov dword [ebp - 0x15c], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x160], edi
cmp edi, 0xffffffff
je 0x40d569
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], 0x128
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x40d590
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
push 0x4a8428
mov dword [esi + 0x14], 0
call fcn.00411660
jmp 0x40d707
lea edx, [ebp - 0x134]
lea ecx, [ebp - 0x2c]
call fcn.0040d3f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x17c]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x16c], 0
push str.electrum_
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x168], 0
call fcn.00411660
cmp dword [ebp - 0x168], 7
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x16c]
cmova eax, ecx
cmp dword [ebp - 0x1c], edi
mov edx, edi
mov dword [ebp - 0x15c], ecx
lea ecx, [ebp - 0x2c]
cmovb edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 7
push edi
cmova ecx, dword [ebp - 0x2c]
push eax
call fcn.004340a0
mov edi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x168]
add esp, 8
cmp eax, 7
jbe 0x40d65b
mov edx, dword [ebp - 0x15c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d651
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d727
push ecx
push edx
call fcn.0046dfdf
add esp, 8
mov ecx, dword [ebp - 0x2c]
test edi, edi
je 0x40d6d6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 7
jbe 0x40d6a0
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d696
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d727
push edx
push ecx
call fcn.0046dfdf
add esp, 8
mov edi, dword [ebp - 0x160]
xor eax, eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x158]
push eax
push edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x40d590
jmp 0x40d562
push dword [ebp - 0x160]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046dafc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0047bff9
int3
Function at 0x40d7c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x344
mov eax, dword [0x4bc100]
xor eax, esp
mov dword [esp + 0x340], eax
push ebx
push esi
push edi
push 0
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x40d809
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x340]
xor ecx, esp
call fcn.0046dafc
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x128
push ecx
push eax
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x40d8a6
nop word [eax + eax]
push 0x104
lea eax, [esp + 0x144]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x140]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d860
mov esi, dword [ebx + 0x10]
sub ecx, edx
sar ecx, 1
mov edi, ebx
cmp dword [ebx + 0x14], 7
jbe 0x40d87c
mov edi, dword [ebx]
cmp esi, ecx
jne 0x40d8c9
lea eax, [esp + 0x140]
test esi, esi
je 0x40d8a1
mov ecx, eax
sub edi, ecx
nop
mov dx, word [edi + eax]
cmp dx, word [eax]
jne 0x40d8c9
add eax, 2
sub esi, 1
jne 0x40d890
mov byte [esp + 0x13], 1
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34c]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046dafc
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x40d830
jmp 0x40d8a6
Function at 0x40f470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497f1c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4bc100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1c
mov dword [ebp - 4], 0
call fcn.0046dbef
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0042ada0
mov dword [esi + 0x18], 0x40e180
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 0
push esi
push 0x449520
push 0
push 0
call fcn.004770bd
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40f55c
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.00447b40
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00404c40
cmp dword [ebp - 0x18], 0
jne 0x40f56a
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x40f542
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f538
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f56f
push ecx
push edx
call fcn.0046dfdf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dafc
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.00456f28
call fcn.0047c170
call fcn.0047bff9
int3

Function at 0x40f690
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497fb4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4bc100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push 0x4bcbac
mov dword [ebp - 0x20], 0x4bcbac
call fcn.0045b3a0
add esp, 4
test eax, eax
jne 0x40f7ac
mov eax, dword [0x4bcbd8]
cmp eax, 0x7fffffff
je 0x40f7b3
push ebx
mov dword [ebp - 4], 0
call fcn.00428020
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x40f775
lea esi, [ebx + 8]
xor cl, cl
xchg byte [esi], cl
push 0x20
call fcn.0046dbef
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 1
lea ecx, [edi + 4]
push dword [ebp - 0x14]
mov dword [edi], esi
call fcn.0042b1e0
mov dword [edi + 0x1c], 0x40f580
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 0
push edi
push 0x449590
push 0
push 0
call fcn.004770bd
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40f79e
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.00447ae0
cmp dword [ebx + 4], 0
jne 0x40f7c0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
push 0x4bcbac
call fcn.0045b3b1
add esp, 4
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.0046dafc
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.00456f28
push 5
call fcn.00456f28
dec eax
push 6
mov dword [0x4bcbd8], eax
call fcn.00456f28
call fcn.0047c170
int3