joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1864
call fcn.0052f5a0
mov eax, dword [0x5eaea4]
xor eax, esp
mov dword [esp + 0x1860], eax
push ebx
push esi
push edi
mov ecx, 1
mov edx, 0x5f22dc
mov eax, 0x3e7
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4635ef
mov eax, dword [ebp + 8]
lea edi, [esp + 0x868]
test eax, eax
mov ecx, 0x5d7bcc
cmovne ecx, eax
lea eax, [ebp + 0xc]
push eax
xor esi, esi
mov eax, edi
push esi
push ecx
push 0x7ff
push eax
call fcn.00455d70
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0055149e
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x46341d
cmp eax, 0x7ff
ja 0x46341d
jne 0x463431
jmp 0x463422
mov esi, 0x8007007a
xor eax, eax
mov word [esp + 0x1866], ax
mov eax, 0x7ff
lea eax, [esp + eax*2 + 0x868]
mov dword [esp + 0x14], eax
test esi, esi
jns 0x46346d
push 0x500
lea eax, [esp + 0x14]
mov edx, 0x1000
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x878]
call fcn.00463160
cmp esi, 0x8007007a
jne 0x46346f
mov eax, dword [esp + 0x14]
mov edi, eax
lea eax, [esp + 0x868]
sub edi, eax
and edi, 0xfffffffe
test edi, edi
jle 0x4635ef
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x24]
push eax
movzx eax, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push str.__02d:_02d:_02d_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov esi, eax
push 0x5f22c4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
je 0x4635e4
mov ecx, dword [0x5f22c0]
test cl, 2
je 0x46352b
mov edx, dword [0x5ebce4]
cmp edx, 0xffffffff
je 0x46352b
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esi + esi]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [esp + 0x34]
push eax
push edx
call esi
push 0
lea eax, [esp + 0x18]
push eax
push edi
lea eax, [esp + 0x874]
push eax
push dword [0x5ebce4]
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 4
push 0x5d8c24
push dword [0x5ebce4]
call esi
mov ecx, dword [0x5f22c0]
test cl, 1
je 0x4635e4
push 0x800
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.005469e0
add esp, 0xc
lea eax, [esp + 0x868]
push eax
lea eax, [esp + 0x2c]
push eax
push str._s__s
push 0x500
push 0
push 0
lea eax, [esp + 0x80]
push 0x800
push eax
call fcn.00462f90
add esp, 0x20
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
push 0
push 0
push 0
mov ebx, eax
lea eax, [esp + 0x78]
push ebx
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x4635e4
lea ecx, [edi*2 + 2]
call fcn.0045a030
push 0
push 0
push edi
mov esi, eax
lea eax, [esp + 0x74]
push esi
push ebx
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x4635db
mov edx, esi
call fcn.00463660
push eax
call fcn.00463910
add esp, 4
push esi
call fcn.0054a56a
add esp, 4
push 0x5f22c4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x186c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052ebb7
mov esp, ebp
pop ebp
ret
Function at 0x467720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572f10
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5eaea4]
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 dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp + 0xc]
mov esi, edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x28], ecx
jb 0x467771
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x467791
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x467780
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
and ecx, edx
mov esi, dword [ebx + 4]
mov dword [ebp - 0x24], ecx
lea eax, [eax + ecx*8]
mov dword [ebp - 0x1c], eax
cmp esi, dword [eax]
je 0x467811
mov esi, dword [eax + 4]
mov esi, dword [esi]
cmp esi, dword [eax]
je 0x467811
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
jb 0x4677c6
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x4677d0
mov ecx, dword [edi]
cmp dword [edi + 0x10], eax
mov eax, dword [ebp - 0x1c]
jne 0x4677b1
push dword [edi + 0x10]
call fcn.00452f90
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x4677b1
mov eax, dword [ebp - 0x20]
mov dword [eax], esi
mov byte [eax + 4], 0
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.0052ebb7
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 4]
push edi
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax + 4]
push ecx
push eax
mov dword [ebp - 0x18], ecx
call fcn.00459b10
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x4678cc
inc eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x467881
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
push dword [ebp - 0x24]
mov ecx, ebx
push esi
push edi
call fcn.00459c00
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00459b60
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x4677f3
push str.list_T__too_long
call fcn.0052c00e
int3
Function at 0x467ae0
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5eaea4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0xffffffff
push eax
push ecx
push 0x13
push 0
push 2
mov dword [ebp - 0xc], 0x4000
call dword [sym.imp.MPR.dll_WNetOpenEnumW]
test eax, eax
jne 0x467c04
mov esi, dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
add esi, 0x40
push esi
push 8
push dword [0x5f22e0]
call edi
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x467b26
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
jne 0x467bec
xor edi, edi
cmp dword [ebp - 8], edi
jbe 0x467bd2
lea esi, [ebx + 0x14]
nop
test byte [esi - 8], 2
je 0x467b70
lea ecx, [esi - 0x14]
call fcn.00467ae0
jmp 0x467bc6
push dword [esi]
push str.___Found_Share_Path:__s
call fcn.00463390
mov ebx, dword [esi]
sub esp, 0x10
mov edx, esp
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, ebx
lea ecx, [eax + 2]
mov dword [ebp - 0x14], ecx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x467ba0
sub eax, dword [ebp - 0x14]
mov ecx, edx
sar eax, 1
push eax
push ebx
call fcn.0044a8b0
mov ecx, 1
call fcn.00473330
add esp, 0x18
inc edi
add esi, 0x20
cmp edi, dword [ebp - 8]
jb 0x467b60
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
je 0x467b54
push ebx
push 0
push dword [0x5f22e0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x10]
call dword [sym.imp.MPR.dll_WNetCloseEnum]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052ebb7
mov esp, ebp
pop ebp
ret
Function at 0x4689c0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5eaea4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5f21a8], 0
push ebx
push esi
push edi
jne 0x4689ef
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052ebb7
mov esp, ebp
pop ebp
ret
push str.___CreateHostTable...
call fcn.00463390
mov eax, dword [0x5f21a4]
add esp, 4
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
xor bl, bl
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
nop dword [eax]
push 0x20
mov byte [ebp - 0x19], bl
call fcn.0052edc8
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov eax, 0x14
mov ecx, esi
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x468a40
mov eax, dword [ebp - 0x1c]
push 1
push 0
push 0
push 6
push 1
mov dword [esi + 0x18], eax
push 2
mov byte [esi + 0x1c], 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
jne 0x468a7f
push 0x20
push esi
call fcn.0052edf8
add esp, 8
jmp 0x468b10
mov ecx, 0x10
lea eax, [ebp - 0x14]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x468a87
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 2
push eax
mov dword [ebp - 0x10], ecx
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x468ac1
push dword [esi + 0x14]
call edi
push 0x20
push esi
call fcn.0052edf8
add esp, 8
jmp 0x468b10
push 0
push 2
push dword [0x5f2300]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
je 0x468aaf
mov esi, dword [0x5f218c]
lea eax, [ebp - 0x18]
push eax
mov edi, dword [esi + 4]
push edi
push esi
call fcn.0045a460
mov edx, dword [0x5f2190]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x468b62
inc edx
mov dword [0x5f2190], edx
mov dword [esi + 4], eax
mov dword [edi], eax
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
inc bl
cmp bl, 0xff
jb 0x468a20
mov eax, dword [0x5f21a4]
push 0xc
mov edx, dword [eax]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [0x5f21a8]
call fcn.0052edf8
push 4
push dword [ebp - 0x20]
call fcn.0052edf8
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.0052ebb7
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0052c00e
int3
Function at 0x469d60
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5eaea4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 8
lea edx, [ebp - 8]
push ebx
push esi
push 0
push edx
push 0
push 0x20106
push 0
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x469dc0
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov edx, dword [ebp + 0x1c]
sete bl
cmp edx, 8
jb 0x469df9
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x469def
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469e55
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x469e43
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x469e39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469e55
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0052ebb7
mov esp, ebp
pop ebp
ret
call fcn.0054a8a1
int3
Function at 0x46a810
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5eaea4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 8]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
push eax
push 0x5dcd68
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x46a854
xor esi, esi
jmp 0x46a896
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
neg eax
mov dword [ebp - 0x20], 1
push 0
sbb eax, eax
push 0
and eax, 2
push 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x46a8a4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0052ebb7
mov esp, ebp
pop ebp
ret 8

Function at 0x46a8f0
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [ecx + 0x18], 8
push esi
lea esi, [ecx + 4]
mov eax, esi
jb 0x46a8fe
mov eax, dword [esi]
push 0x80
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
jb 0x46a915
mov esi, dword [esi]
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
ret
Function at 0x46b8e0
Capabilities:
Check os version
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5733f8
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5eaea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x5f2348]
cmp eax, dword [edx + 4]
jle 0x46b983
push 0x5f2348
call fcn.0052f24f
add esp, 4
cmp dword [0x5f2348], 0xffffffff
jne 0x46b983
push 0x110
lea eax, [ebp - 0x138]
mov dword [ebp - 0x13c], 0x114
push 0
push eax
call fcn.005469e0
add esp, 0xc
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x138], 6
push 0x5f2348
sbb eax, eax
neg eax
mov dword [0x5f2338], eax
call fcn.0052f205
add esp, 4
cmp dword [esi + 0x18], 8
lea edx, [esi + 4]
jb 0x46b98e
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46b9a7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0044a8b0
mov dword [ebp - 4], 0
cmp dword [0x5f2338], 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
je 0x46ba49
test ecx, ecx
je 0x46ba98
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x2e
jne 0x46ba49
cmp ecx, edx
jae 0x46ba0e
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, esi
mov dword [eax + ecx*2], 0x2e
jmp 0x46ba26
push 0x2e
mov byte [ebp - 0x140], 0
push dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044c1d0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x46ba7a
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [eax + ecx*2], 0x5c
jmp 0x46ba92
test ecx, ecx
je 0x46ba98
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x46ba98
cmp ecx, edx
jae 0x46ba7a
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, esi
mov dword [eax + ecx*2], 0x5c
jmp 0x46ba92
push 0x5c
mov byte [ebp - 0x140], 0
push dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044c1d0
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
cmp edx, 8
lea eax, [ebp - 0x28]
push 0x80
cmovae eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 8
jb 0x46baf7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46baed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46bb13
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052ebb7
mov esp, ebp
pop ebp
ret
call fcn.0054a8a1
int3
Function at 0x46bd60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5734cb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5eaea4]
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
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [0x5dce38]
mov ebx, eax
mov dword [ebp - 0x18], ecx
mov cx, word [0x5dce3c]
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x14], cx
test ebx, ebx
je 0x46bf53
nop dword [eax + eax]
mov edi, ebx
test bl, 1
je 0x46bf3e
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005469e0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x46bf3e
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x46be70
lea eax, [ebp - 0x220]
mov dl, 3
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x46be23
add dl, 0xff
je 0x46be2d
add eax, 2
test cx, cx
jne 0x46be16
jmp 0x46be70
mov ebx, eax
lea ecx, [ebp - 0x220]
sub ebx, ecx
sar ebx, 1
nop dword [eax]
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
je 0x46be51
cmp ecx, 0x5c
jne 0x46be40
movzx edx, word [eax + 2]
lea eax, [eax + 2]
inc bl
movzx ecx, bl
mov word [ebp + ecx*2 - 0x220], dx
test dx, dx
jne 0x46be51
mov ebx, dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46be96
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044a8b0
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x5f233c
call fcn.0045fb70
lea ecx, [ebp - 0x18]
mov edx, eax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46bee0
sub ecx, esi
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044a8b0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x228]
cmp edx, 8
jb 0x46bf3e
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46bf34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46bf6f
push edx
push ecx
call fcn.0052edf8
add esp, 8
inc word [ebp - 0x18]
shr ebx, 1
mov dword [ebp - 0x224], ebx
cmp edi, 2
jae 0x46bdc0
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.0052ebb7
mov esp, ebp
pop ebp
ret
call fcn.0054a8a1
int3
Function at 0x46bf80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57350c
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5eaea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5f2344]
cmp eax, dword [ecx + 4]
jle 0x46c020
push 0x5f2344
call fcn.0052f24f
add esp, 4
cmp dword [0x5f2344], 0xffffffff
jne 0x46c020
mov dword [ebp - 4], 0
mov dword [0x5f233c], 0
mov dword [0x5f2340], 0
call fcn.00461990
push 0x5762a0
mov dword [0x5f233c], eax
call fcn.0052f091
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x5f2344
call fcn.0052f205
add esp, 4
cmp dword [0x5f2340], 0
jne 0x46c02e
call fcn.0046bd60
cmp dword [edi + 0x10], 0
lea esi, [edi + 0x10]
je 0x46c0a6
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x46c041
mov eax, dword [edi]
push 0xb
push str.SystemRoot
push eax
call fcn.00552c92
add esp, 0xc
test eax, eax
jne 0x46c0b0
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005469e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c085
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
push 0xb
push ecx
mov ecx, edi
call fcn.00470620
mov eax, 1
jmp 0x46c17c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x46c0ba
mov eax, dword [edi]
push 4
push str.___
push eax
call fcn.00552c92
add esp, 0xc
test eax, eax
jne 0x46c102
mov eax, dword [esi]
mov ecx, 4
cmp eax, ecx
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x46c0e2
mov edi, dword [edi]
sub eax, ecx
mov dword [esi], eax
lea eax, [eax*2 + 2]
push eax
lea eax, [edi + ecx*2]
push eax
push edi
call fcn.00546dc0
add esp, 0xc
mov eax, 1
jmp 0x46c17c
mov eax, dword [0x5f233c]
mov esi, dword [eax]
cmp esi, eax
je 0x46c17a
nop dword [eax]
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x46c11b
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x46c125
mov ecx, dword [edi]
push dword [esi + 0x20]
push eax
push ecx
call fcn.00552c92
add esp, 0xc
test eax, eax
je 0x46c197
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x46c15c
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x46c158
cmp esi, dword [eax + 8]
jne 0x46c158
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x46c148
mov esi, eax
jmp 0x46c172
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x46c172
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x46c166
cmp esi, dword [0x5f233c]
jne 0x46c110
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052ebb7
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x20]
add esi, 0x28
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x46c1a8
mov esi, dword [esi]
push ecx
push esi
push eax
push ecx
mov ecx, edi
call fcn.00470620
mov eax, 1
jmp 0x46c17c
Function at 0x46e360
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x5eaea4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call fcn.004703d0
push 0
push 2
mov dword [ebp - 0x270], str.spoolsv.exe
mov dword [ebp - 0x26c], str.sihost.exe
mov dword [ebp - 0x268], str.fontdrvhost.exe
mov dword [ebp - 0x264], str.cmd.exe
mov dword [ebp - 0x260], str.dwm.exe
mov dword [ebp - 0x25c], str.LogonUI.exe
mov dword [ebp - 0x258], str.lsass.exe
mov dword [ebp - 0x254], str.csrss.exe
mov dword [ebp - 0x250], str.smss.exe
mov dword [ebp - 0x24c], str.winlogon.exe
mov dword [ebp - 0x248], str.services.exe
mov dword [ebp - 0x244], str.conhost.exe
mov dword [ebp - 0x240], str.everything.exe
mov dword [ebp - 0x23c], 0x5f1bf0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x238], ebx
test ebx, ebx
je 0x46e4e0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x46e4d9
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push esi
nop word [eax + eax]
xor esi, esi
push dword [ebp + esi*4 - 0x270]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x46e46e
inc esi
cmp esi, 0xe
jl 0x46e452
jmp 0x46e4c1
push 4
call fcn.0052edc8
mov ecx, dword [ebp - 0x228]
add esp, 4
mov dword [ebp - 0x234], eax
mov dword [eax], ecx
lea eax, [ebp - 0x234]
mov esi, dword [0x5f21ac]
push eax
mov ebx, dword [esi + 4]
push ebx
push esi
call fcn.0045a460
mov edx, dword [0x5f21b0]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x46e4ef
inc edx
mov dword [0x5f21b0], edx
mov dword [esi + 4], eax
mov dword [ebx], eax
mov ebx, dword [ebp - 0x238]
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x46e450
pop esi
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0052ebb7
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0052c00e
int3