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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1864
call fcn.0052d270
mov eax, dword [0x5e8ea4]
xor eax, esp
mov dword [esp + 0x1860], eax
push ebx
push esi
push edi
mov ecx, 1
mov edx, 0x5f02b8
mov eax, 0x3e7
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x46151f
mov eax, dword [ebp + 8]
lea edi, [esp + 0x868]
test eax, eax
mov ecx, 0x5d5a3c
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.00453da0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0054f16e
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x46134d
cmp eax, 0x7ff
ja 0x46134d
jne 0x461361
jmp 0x461352
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 0x46139d
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.00461090
cmp esi, 0x8007007a
jne 0x46139f
mov eax, dword [esp + 0x14]
mov edi, eax
lea eax, [esp + 0x868]
sub edi, eax
and edi, 0xfffffffe
test edi, edi
jle 0x46151f
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 0x5f02a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
je 0x461514
mov ecx, dword [0x5f029c]
test cl, 2
je 0x46145b
mov edx, dword [0x5e9ccc]
cmp edx, 0xffffffff
je 0x46145b
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 [0x5e9ccc]
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 4
push 0x5d6a2c
push dword [0x5e9ccc]
call esi
mov ecx, dword [0x5f029c]
test cl, 1
je 0x461514
push 0x800
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.005446b0
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.00460ec0
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 0x461514
lea ecx, [edi*2 + 2]
call fcn.00457fc0
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 0x46150b
mov edx, esi
call fcn.00461590
push eax
call fcn.00461840
add esp, 4
push esi
call fcn.0054823a
add esp, 4
push 0x5f02a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x186c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052c886
mov esp, ebp
pop ebp
ret
Function at 0x4655a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5709b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5e8ea4]
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 0x4655f1
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x465611
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x465600
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 0x465691
mov esi, dword [eax + 4]
mov esi, dword [esi]
cmp esi, dword [eax]
je 0x465691
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
jb 0x465646
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x465650
mov ecx, dword [edi]
cmp dword [edi + 0x10], eax
mov eax, dword [ebp - 0x1c]
jne 0x465631
push dword [edi + 0x10]
call fcn.00451020
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x465631
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.0052c886
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.00457aa0
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x46574c
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 0x465701
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.00457b90
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00457af0
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x465673
push str.list_T__too_long
call fcn.00529cde
int3
Function at 0x465960
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5e8ea4]
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 0x465a84
mov esi, dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
add esi, 0x40
push esi
push 8
push dword [0x5f02bc]
call edi
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4659a6
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 0x465a6c
xor edi, edi
cmp dword [ebp - 8], edi
jbe 0x465a52
lea esi, [ebx + 0x14]
nop
test byte [esi - 8], 2
je 0x4659f0
lea ecx, [esi - 0x14]
call fcn.00465960
jmp 0x465a46
push dword [esi]
push str.___Found_Share_Path:__s
call fcn.004612c0
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 0x465a20
sub eax, dword [ebp - 0x14]
mov ecx, edx
sar eax, 1
push eax
push ebx
call fcn.0044a890
mov ecx, 1
call fcn.004711c0
add esp, 0x18
inc edi
add esi, 0x20
cmp edi, dword [ebp - 8]
jb 0x4659e0
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 0x4659d4
push ebx
push 0
push dword [0x5f02bc]
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.0052c886
mov esp, ebp
pop ebp
ret
Function at 0x466840
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5e8ea4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5f0184], 0
push ebx
push esi
push edi
jne 0x46686f
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c886
mov esp, ebp
pop ebp
ret
push str.___CreateHostTable...
call fcn.004612c0
mov eax, dword [0x5f0180]
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.0052ca97
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 0x4668c0
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 0x4668ff
push 0x20
push esi
call fcn.0052cac7
add esp, 8
jmp 0x466990
mov ecx, 0x10
lea eax, [ebp - 0x14]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x466907
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 0x466941
push dword [esi + 0x14]
call edi
push 0x20
push esi
call fcn.0052cac7
add esp, 8
jmp 0x466990
push 0
push 2
push dword [0x5f02dc]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
je 0x46692f
mov esi, dword [0x5f0168]
lea eax, [ebp - 0x18]
push eax
mov edi, dword [esi + 4]
push edi
push esi
call fcn.004583f0
mov edx, dword [0x5f016c]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x4669e2
inc edx
mov dword [0x5f016c], 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 0x4668a0
mov eax, dword [0x5f0180]
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 [0x5f0184]
call fcn.0052cac7
push 4
push dword [ebp - 0x20]
call fcn.0052cac7
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.0052c886
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00529cde
int3
Function at 0x467be0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5e8ea4]
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 0x467c40
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 0x467c79
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467c6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467cd5
push edx
push ecx
call fcn.0052cac7
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 0x467cc3
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467cb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467cd5
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0052c886
mov esp, ebp
pop ebp
ret
call fcn.00548571
int3
Function at 0x468690
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5e8ea4]
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 0x5daad0
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x4686d4
xor esi, esi
jmp 0x468716
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 0x468724
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0052c886
mov esp, ebp
pop ebp
ret 8

Function at 0x468770
Capabilities:
Delete file
Set file attributes

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570e98
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5e8ea4]
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 [0x5f0320]
cmp eax, dword [edx + 4]
jle 0x469803
push 0x5f0320
call fcn.0052cf1e
add esp, 4
cmp dword [0x5f0320], 0xffffffff
jne 0x469803
push 0x110
lea eax, [ebp - 0x138]
mov dword [ebp - 0x13c], 0x114
push 0
push eax
call fcn.005446b0
add esp, 0xc
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x138], 6
push 0x5f0320
sbb eax, eax
neg eax
mov dword [0x5f0310], eax
call fcn.0052ced4
add esp, 4
cmp dword [esi + 0x18], 8
lea edx, [esi + 4]
jb 0x46980e
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 0x469827
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0044a890
mov dword [ebp - 4], 0
cmp dword [0x5f0310], 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
je 0x4698c9
test ecx, ecx
je 0x469918
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x2e
jne 0x4698c9
cmp ecx, edx
jae 0x46988e
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 0x4698a6
push 0x2e
mov byte [ebp - 0x140], 0
push dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044c1b0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x4698fa
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 0x469912
test ecx, ecx
je 0x469918
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x469918
cmp ecx, edx
jae 0x4698fa
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 0x469912
push 0x5c
mov byte [ebp - 0x140], 0
push dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044c1b0
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 0x469977
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46996d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469993
push edx
push ecx
call fcn.0052cac7
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.0052c886
mov esp, ebp
pop ebp
ret
call fcn.00548571
int3
Function at 0x469be0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570f6b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5e8ea4]
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 [0x5daba0]
mov ebx, eax
mov dword [ebp - 0x18], ecx
mov cx, word [0x5daba4]
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x14], cx
test ebx, ebx
je 0x469dd3
nop dword [eax + eax]
mov edi, ebx
test bl, 1
je 0x469dbe
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005446b0
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 0x469dbe
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x469cf0
lea eax, [ebp - 0x220]
mov dl, 3
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x469ca3
add dl, 0xff
je 0x469cad
add eax, 2
test cx, cx
jne 0x469c96
jmp 0x469cf0
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 0x469cd1
cmp ecx, 0x5c
jne 0x469cc0
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 0x469cd1
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 0x469d16
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044a890
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x5f0314
call fcn.0045daa0
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 0x469d60
sub ecx, esi
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044a890
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x228]
cmp edx, 8
jb 0x469dbe
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x469db4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469def
push edx
push ecx
call fcn.0052cac7
add esp, 8
inc word [ebp - 0x18]
shr ebx, 1
mov dword [ebp - 0x224], ebx
cmp edi, 2
jae 0x469c40
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.0052c886
mov esp, ebp
pop ebp
ret
call fcn.00548571
int3
Function at 0x469e00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570fac
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5e8ea4]
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 [0x5f031c]
cmp eax, dword [ecx + 4]
jle 0x469ea0
push 0x5f031c
call fcn.0052cf1e
add esp, 4
cmp dword [0x5f031c], 0xffffffff
jne 0x469ea0
mov dword [ebp - 4], 0
mov dword [0x5f0314], 0
mov dword [0x5f0318], 0
call fcn.0045f8c0
push 0x573ce0
mov dword [0x5f0314], eax
call fcn.0052cd60
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x5f031c
call fcn.0052ced4
add esp, 4
cmp dword [0x5f0318], 0
jne 0x469eae
call fcn.00469be0
cmp dword [edi + 0x10], 0
lea esi, [edi + 0x10]
je 0x469f26
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x469ec1
mov eax, dword [edi]
push 0xb
push str.SystemRoot
push eax
call fcn.00550962
add esp, 0xc
test eax, eax
jne 0x469f30
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005446b0
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 0x469f05
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
push 0xb
push ecx
mov ecx, edi
call fcn.0046e4b0
mov eax, 1
jmp 0x469ffc
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x469f3a
mov eax, dword [edi]
push 4
push str.___
push eax
call fcn.00550962
add esp, 0xc
test eax, eax
jne 0x469f82
mov eax, dword [esi]
mov ecx, 4
cmp eax, ecx
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x469f62
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.00544a90
add esp, 0xc
mov eax, 1
jmp 0x469ffc
mov eax, dword [0x5f0314]
mov esi, dword [eax]
cmp esi, eax
je 0x469ffa
nop dword [eax]
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x469f9b
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x469fa5
mov ecx, dword [edi]
push dword [esi + 0x20]
push eax
push ecx
call fcn.00550962
add esp, 0xc
test eax, eax
je 0x46a017
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x469fdc
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x469fd8
cmp esi, dword [eax + 8]
jne 0x469fd8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x469fc8
mov esi, eax
jmp 0x469ff2
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x469ff2
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x469fe6
cmp esi, dword [0x5f0314]
jne 0x469f90
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.0052c886
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 0x46a028
mov esi, dword [esi]
push ecx
push esi
push eax
push ecx
mov ecx, edi
call fcn.0046e4b0
mov eax, 1
jmp 0x469ffc
Function at 0x46c1e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x5e8ea4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call fcn.0046e260
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], 0x5efe58
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x238], ebx
test ebx, ebx
je 0x46c360
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x46c359
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 0x46c2ee
inc esi
cmp esi, 0xe
jl 0x46c2d2
jmp 0x46c341
push 4
call fcn.0052ca97
mov ecx, dword [ebp - 0x228]
add esp, 4
mov dword [ebp - 0x234], eax
mov dword [eax], ecx
lea eax, [ebp - 0x234]
mov esi, dword [0x5f0188]
push eax
mov ebx, dword [esi + 4]
push ebx
push esi
call fcn.004583f0
mov edx, dword [0x5f018c]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x46c36f
inc edx
mov dword [0x5f018c], 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 0x46c2d0
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.0052c886
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00529cde
int3