joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4186d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp + 0xc]
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x418755
cmp dword [edi + 8], 0
jne 0x41870e
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x418755
cmp dword [edi + 8], 0
jne 0x41870e
push edi
mov ecx, ebx
call fcn.004186a0
test eax, eax
je 0x418755
lea eax, [edi + 0x24]
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
jne 0x41874c
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x41874c
cmp dword [edi + 8], esi
jne 0x418745
push edi
mov ecx, ebx
call fcn.004186a0
test eax, eax
lea eax, [edi + 0x24]
jne 0x418716
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc

Function at 0x418a20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2050
call fcn.004a1390
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1002
lea eax, [ebp - 0x200c]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.004b8fe0
push 0x1002
lea eax, [ebp - 0x1008]
push 0
push eax
call fcn.004b8fe0
add esp, 0x14
mov edx, 0x800
push esi
push ecx
lea ecx, [ebp - 0x200c]
call fcn.004192f0
push ecx
push esi
push ecx
mov edx, 0x800
lea ecx, [ebp - 0x1008]
call fcn.004192f0
cmp word [ebp - 0x1008], 0x22
jne 0x418ac3
lea eax, [ebp - 0x1006]
push 0x22
push eax
call fcn.004b7e94
xor ecx, ecx
add esp, 4
mov edx, 0x800
mov word [eax], cx
lea eax, [ebp - 0x1006]
push eax
push ecx
lea ecx, [ebp - 0x1008]
call fcn.004192f0
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x40
lea eax, [ebp - 0x204c]
mov dword [ebp - 0x2050], 0x44
push 0
push eax
call fcn.004b8fe0
add esp, 0xc
lea eax, [ebp - 0x2050]
push edi
push eax
lea eax, [ebp - 0x1008]
push eax
push 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x200c]
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049fc55
mov esp, ebp
pop ebp
ret
Function at 0x419460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3a88
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
call fcn.00409aa0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push str..pipe_
push eax
call fcn.0040e720
mov esi, dword [ebp + 0x18]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0xffffffff
jne 0x41952b
cmp eax, 0xe7
jne 0x41951f
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x4194d7
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x419564
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x4c]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
test esi, esi
jne 0x41955c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x419564
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x419579
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409950
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x4195a0
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.00409950
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4210a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4c9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52610c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0
push dword [esi]
mov edx, dword [esi + 8]
push dword [esi + 0xc]
push dword [esi + 4]
push dword [esi]
call fcn.004215c0
add esp, 0x10
test al, al
mov eax, esi
jne 0x421162
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x421c21
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x421c10
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x427e20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ecx + 0x3c]
add esi, ecx
push edi
mov edi, edx
movzx eax, word [esi + 6]
movzx ecx, word [esi + 0x14]
add esi, 0x18
cdq
add ecx, esi
mov ebx, eax
mov dword [ebp - 8], ecx
mov eax, edx
xor esi, esi
mov dword [ebp - 4], eax
test eax, eax
jb 0x427e78
ja 0x427e54
test ebx, ebx
je 0x427e78
add ecx, 0xc
mov edx, dword [ecx]
cmp edi, edx
jb 0x427e66
mov eax, dword [ecx + 4]
add eax, edx
cmp edi, eax
jbe 0x427e82
inc esi
add ecx, 0x28
mov eax, esi
cdq
cmp edx, dword [ebp - 4]
ja 0x427e78
jb 0x427e57
cmp eax, ebx
jb 0x427e57
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
lea eax, [esi + esi*4]
mov ecx, dword [edx + eax*8 + 0x14]
sub ecx, dword [edx + eax*8 + 0xc]
lea eax, [edi + ecx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428120
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov dword [ebp - 0x234], ecx
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4281ca
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4281ca
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call ebx
test eax, eax
je 0x4281c9
nop dword [eax + eax]
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.004c70a0
add esp, 8
test eax, eax
je 0x4281c3
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call ebx
test eax, eax
jne 0x428190
jmp 0x4281c9
mov edi, dword [ebp - 0x228]
pop ebx
test esi, esi
je 0x4281da
cmp esi, 0xffffffff
je 0x4281da
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0049fc55
mov esp, ebp
pop ebp
ret
Function at 0x4288d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x517e28
push 0x4b9700
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x52610c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
test ebx, ebx
je 0x428a80
mov dword [ebp - 0x20], 0
mov esi, ebx
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x428920
sub esi, ecx
sar esi, 1
mov dword [ebp - 4], 0
lea eax, [esi*2 + 2]
push eax
call fcn.004c1047
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x428a79
push ebx
lea edx, [esi + 1]
mov ecx, edi
call fcn.00419340
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp word [edi], 0x5c
jne 0x4289c5
cmp word [edi + 2], 0x5c
jne 0x4289c5
lea esi, [edi + 4]
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
nop dword [eax]
movzx eax, word [esi]
test ax, ax
je 0x428997
cmp eax, 0x5c
je 0x428997
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x428980
cmp word [esi], 0
je 0x4289a3
add esi, 2
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x4289b7
cmp eax, 0x5c
je 0x4289b7
push esi
call ebx
mov esi, eax
jmp 0x4289a0
cmp word [esi], 0
je 0x4289f0
add esi, 2
mov dword [ebp - 0x1c], esi
jmp 0x4289f0
cmp word [edi + 2], 0x3a
jne 0x4289e5
lea esi, [edi + 4]
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x4289e5
cmp eax, 0x5c
jne 0x4289e5
add esi, 2
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
nop dword [eax + eax]
movzx eax, word [esi]
test ax, ax
je 0x428a41
cmp eax, 0x5c
jne 0x428a37
xor eax, eax
mov word [esi], ax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x428a2b
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x428a2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x428a2f
push edi
jmp 0x428a71
test al, 0x10
je 0x428a28
mov eax, 0x5c
mov word [esi], ax
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x4289f0
mov dword [ebp - 4], 0xfffffffe
push edi
call fcn.004c1052
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004c1052
add esp, 4
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428e10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x3e8
lea eax, [ebp - 0x4bc]
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x4c4], esi
push 0
push eax
mov dword [ebp - 0x4c0], ebx
call fcn.004b8fe0
xor eax, eax
push 0xc8
push eax
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.004b8fe0
add esp, 0x18
test ebx, ebx
je 0x428f9b
test esi, esi
je 0x428f9b
push edi
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x428f4e
xor edi, edi
cmp word [ebp - 0x4bc], di
je 0x428f4e
lea esi, [ebp - 0x4bc]
xor ebx, ebx
nop dword [eax + eax]
push 0x5084bc
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x428f2a
push 0x5084c4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x428f2a
movzx eax, word [esi]
mov word [ebp - 0xc], ax
movzx eax, word [ebp + ebx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x428f56
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [ebp - 0x4c0]
mov esi, eax
push esi
lea eax, [ebp - 0xd4]
push eax
push ebx
call fcn.004c7215
add esp, 0xc
test eax, eax
je 0x428f69
add edi, 4
lea esi, [ebp - 0x4bc]
lea ebx, [edi + edi]
add esi, ebx
cmp word [esi], 0
jne 0x428eb0
mov ebx, dword [ebp - 0x4c0]
mov esi, dword [ebp - 0x4c4]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x4c4]
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebx + esi*2]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0049fc55
mov esp, ebp
pop ebp
ret
Function at 0x428fb0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x414]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.004b8fe0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.004b8fe0
add esp, 0x18
xor eax, eax
mov word [ebp - 0x20c], ax
push esi
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42902c
push 0x104
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
jne 0x42903e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x414]
call fcn.00428e10
push esi
test eax, eax
je 0x429026
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00410620
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0049fc55
mov esp, ebp
pop ebp
ret
Function at 0x429080
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5372
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x52610c]
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 edi, edx
mov dword [ebp - 0x248], edi
mov ebx, ecx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x24c], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.0042bd10
mov dword [ebx], eax
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x244], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x240], esi
cmp esi, 0xffffffff
je 0x4291f8
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4291f8
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x4291f8
mov eax, dword [edi]
mov edx, eax
mov esi, dword [ebp - 0x234]
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x42917c
cmp dword [ecx + 0x10], esi
jae 0x429172
mov ecx, dword [ecx + 8]
jmp 0x429176
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x429168
cmp edx, eax
je 0x429185
cmp esi, dword [edx + 0x10]
jae 0x429187
mov edx, eax
cmp edx, eax
jne 0x4291d2
lea eax, [ebp - 0x218]
mov ecx, 0x8b
mov dword [ebp - 0x484], eax
lea esi, [ebp - 0x23c]
lea edi, [ebp - 0x480]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x484]
mov ecx, ebx
push eax
call fcn.0042c7e0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x254]
mov ecx, ebx
push eax
call fcn.0042c860
mov edi, dword [ebp - 0x248]
mov esi, dword [ebp - 0x240]
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x429155
test esi, esi
je 0x429203
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
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.0049fc55
mov esp, ebp
pop ebp
ret
Function at 0x4298a0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x52610c]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
push ecx
push 8
mov dword [esp + 0x14], edx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x429960
cmp esi, 0xffffffff
je 0x429959
push 0x428
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.004b8fe0
add esp, 0xc
mov dword [esp + 0x10], 0x428
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x429959
mov edi, dword [sym.imp.KERNEL32.dll_Module32NextW]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x30]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x42993e
test dx, dx
je 0x42993a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x42993e
add ecx, 4
add eax, 4
test dx, dx
jne 0x429918
xor eax, eax
jmp 0x429943
sbb eax, eax
or eax, 1
test eax, eax
je 0x429955
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x429910
jmp 0x429959
mov ebx, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x43c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret
Function at 0x42a670
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5621
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x52610c]
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, edx
mov esi, ecx
mov dword [ebp - 0x4a8], esi
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x42a6e1
mov eax, dword [ebx]
jmp 0x42a6e3
mov eax, ebx
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004c73ce
push 0x50851c
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004c6e5b
add esp, 0x18
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42a742
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x42a831
test byte [ebp - 0x498], 0x10
je 0x42a7f6
cmp word [ebp - 0x46c], 0x2e
je 0x42a7f6
push 0x507d60
mov edx, ebx
lea ecx, [ebp - 0x248]
call fcn.0042be50
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x230]
call fcn.00414b10
add esp, 8
push eax
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 2
call fcn.00420b20
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x42a7b8
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403f40
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x42a7f6
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403f40
lea eax, [ebp - 0x498]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42a742
test edi, edi
je 0x42a817
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x4a4]
mov dword [esi], eax
mov eax, dword [ebp - 0x4a0]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x49c]
mov dword [esi + 8], eax
mov eax, esi
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.0049fc55
mov esp, ebp
pop ebp
ret
Function at 0x42ab30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x2c], 0x290039
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x30], 0x23004d
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2e]
xor eax, ecx
mov dword [ebp - 0x28], 0x210021
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x2c]
xor eax, ecx
mov dword [ebp - 0x24], 0x290063
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x2a]
xor eax, ecx
mov dword [ebp - 0x20], 0x210021
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x28]
xor eax, ecx
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x26]
xor eax, ecx
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x24]
xor eax, ecx
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x22]
xor eax, ecx
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x20]
xor eax, ecx
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x1e]
xor eax, ecx
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x1a]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.RtlGetNtVersionNumbers
xorps xmm0, xmm0
mov dword [ebp - 0x1e], 0
push eax
movups xmmword [ebp - 0x2e], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42ac0e
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x38]
push ecx
call eax
cmp dword [ebp - 0x38], 0xa
movzx eax, word [ebp - 0x34]
jne 0x42ac2f
cmp eax, 0x4e20
jbe 0x42ac2f
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret
Function at 0x42ac40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e56ed
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x52610c]
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, edx
mov dword [ebp - 0x438], ebx
mov edi, ecx
mov dword [ebp - 0x43c], edi
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x440], 0
push 0
mov dword [ebp - 0x448], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.004108f0
mov dword [edi], eax
push 0x208
lea eax, [ebp - 0x418]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x440], 1
call fcn.004b8fe0
add esp, 0xc
mov dword [ebp - 0x444], 0x104
lea eax, [ebp - 0x468]
mov dword [ebp - 0x434], 0
push eax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x434]
push eax
push 0
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x418]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x42ae3a
xor esi, esi
cmp dword [ebp - 0x434], esi
jbe 0x42ae3a
nop dword [eax]
lea eax, [ebp - 0x468]
mov dword [ebp - 0x43c], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42ae2d
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x420], eax
mov word [ebp - 0x430], ax
cmp word [ebp - 0x210], ax
je 0x42adbf
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42adb0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x430]
call fcn.00403dd0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x430]
mov ebx, dword [edi]
push eax
push dword [ebx + 4]
push ebx
call fcn.00414c60
mov ecx, eax
mov eax, 0x7fffffe
sub eax, dword [edi + 4]
cmp eax, 1
jb 0x42ae58
inc dword [edi + 4]
mov dword [ebx + 4], ecx
mov eax, dword [ecx + 4]
mov byte [ebp - 4], 0
mov dword [eax], ecx
mov eax, dword [ebp - 0x41c]
cmp eax, 8
jb 0x42ae27
inc eax
lea ecx, [ebp - 0x430]
push eax
push dword [ebp - 0x430]
call fcn.00403f40
mov ebx, dword [ebp - 0x438]
inc esi
cmp esi, dword [ebp - 0x434]
jb 0x42ad50
mov eax, edi
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.0049fc55
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0049c65e
int3