joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e5a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x5f5ea4]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
push str.___Work_finished.
mov edi, ecx
call fcn.0046adc0
add esp, 4
cmp dword [0x5fc98c], 0
je 0x46e615
push 0x5e0c9c
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x14], 0x5e0c9c
lea eax, [eax*2 + 2]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
push 0xfa
push 2
lea eax, [esp + 0x18]
push eax
push 0xa
push 0x4a
push dword [0x5fc98c]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
or eax, 0xffffffff
mov ecx, 0x5fcfb0
xchg dword [ecx], eax
cmp byte [0x5fc984], 0
je 0x46e64c
mov esi, dword [0x5fcbac]
test esi, esi
je 0x46e64c
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0x1d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push str.___CleanUp.
call fcn.0046adc0
add esp, 4
call fcn.0047bbf0
push str.___Kill_watcher
call fcn.0046adc0
add esp, 4
push dword [0x5fc97c]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x46e694
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x5fc982], 0
je 0x46e6b1
push str.___Self_del
call fcn.0046adc0
add esp, 4
xor cl, cl
call fcn.004771a0
call fcn.00463290
push str.Closing...
call fcn.0046adc0
add esp, 4
call fcn.0046b090
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x46ea60
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x5f5ea4]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0xffffffff
push eax
push ecx
push 0x13
push 0
push 2
mov dword [esp + 0x2c], 0x4000
call dword [sym.imp.MPR.dll_WNetOpenEnumW]
test eax, eax
jne 0x46ec37
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
add esi, 0x40
nop
push esi
push 8
push dword [0x5feaf8]
call edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x46eab0
lea ecx, [esp + 0x18]
push ecx
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x28]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
jne 0x46ec1b
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jbe 0x46ebfb
mov esi, dword [esp + 0x10]
add esi, 0x14
test byte [esi - 8], 2
je 0x46eb06
lea ecx, [esi - 0x14]
call fcn.0046ea60
jmp 0x46ebe4
mov ecx, dword [esi]
mov edx, 4
call fcn.0045dca0
mov edi, eax
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.00462c50
push dword [esi]
push str.___Found_Share_Path:__s
call fcn.0046adc0
add esp, 8
cmp byte [0x5fc965], 0
je 0x46eb7a
mov edi, dword [0x5fe918]
lea ecx, [esp + 0x14]
push ecx
mov eax, dword [edi + 4]
push eax
push edi
mov dword [esp + 0x18], eax
call fcn.0045c860
mov edx, dword [0x5fe91c]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x46ec49
mov ecx, dword [esp + 0xc]
inc edx
mov dword [0x5fe91c], edx
mov dword [edi + 4], eax
mov edi, dword [esp + 0x14]
mov dword [ecx], eax
cmp byte [0x5fc980], 0
je 0x46ebe4
cmp byte [0x5fc971], 0
je 0x46ebe4
mov eax, dword [esi]
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], cx
lea ecx, [eax + 2]
mov dword [esp + 0x24], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46ebb1
sub eax, dword [esp + 0x24]
mov ecx, edx
sar eax, 1
push eax
push dword [esp + 0x30]
call fcn.0044b730
mov edx, edi
mov ecx, 1
call fcn.0047acd0
add esp, 0x18
mov ecx, edi
call fcn.00462e20
cmp byte [0x5fc95d], 0
jne 0x46ec37
inc ebx
add esi, 0x20
cmp ebx, dword [esp + 0x20]
jb 0x46eaf3
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x28]
call dword [sym.imp.MPR.dll_WNetEnumResourceW]
test eax, eax
je 0x46eae0
push dword [esp + 0x10]
push 0
push dword [0x5feaf8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x1c]
call dword [sym.imp.MPR.dll_WNetCloseEnum]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005368a5
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00533cfe
int3
Function at 0x46fae0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5fe97c], 0
push ebx
push esi
push edi
jne 0x46fb0f
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005368a5
mov esp, ebp
pop ebp
ret
push str.___CreateHostTable...
call fcn.0046adc0
mov eax, dword [0x5fe978]
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.00536ab6
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 0x46fb60
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 0x46fb9f
push 0x20
push esi
call fcn.00536ae6
add esp, 8
jmp 0x46fc30
mov ecx, 0x10
lea eax, [ebp - 0x14]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x46fba7
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 0x46fbe1
push dword [esi + 0x14]
call edi
push 0x20
push esi
call fcn.00536ae6
add esp, 8
jmp 0x46fc30
push 0
push 2
push dword [0x5feb18]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
je 0x46fbcf
mov esi, dword [0x5fe960]
lea eax, [ebp - 0x18]
push eax
mov edi, dword [esi + 4]
push edi
push esi
call fcn.0045c860
mov edx, dword [0x5fe964]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x46fc82
inc edx
mov dword [0x5fe964], 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 0x46fb40
mov eax, dword [0x5fe978]
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 [0x5fe97c]
call fcn.00536ae6
push 4
push dword [ebp - 0x20]
call fcn.00536ae6
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.005368a5
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00533cfe
int3
Function at 0x471170
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4711cf
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.AllowTelemetry
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005368a5
mov esp, ebp
pop ebp
ret

Function at 0x4711e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 1
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetControlFileSystem
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x47123f
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.LongPathsEnabled
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005368a5
mov esp, ebp
pop ebp
ret
Function at 0x471250
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0xc]
push edi
push 0
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SOFTWAREMICROSOFTWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4712b8
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.ConsentPromptBehaviorAdmin
push dword [ebp - 0xc]
call edi
push dword [ebp - 0xc]
call ebx
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SOFTWAREMICROSOFTWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4712fb
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.ConsentPromptBehaviorUser
push dword [ebp - 0xc]
call edi
push dword [ebp - 0xc]
call ebx
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SOFTWAREMICROSOFTWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x47133e
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.PromptOnSecureDesktop
push dword [ebp - 0xc]
call edi
push dword [ebp - 0xc]
call ebx
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SOFTWAREMICROSOFTWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x471381
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.EnableLUA
push dword [ebp - 0xc]
call edi
push dword [ebp - 0xc]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005368a5
mov esp, ebp
pop ebp
ret
Function at 0x4713a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5f5ea4]
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 0x471400
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 0x471439
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47142f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471495
push edx
push ecx
call fcn.00536ae6
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 0x471483
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471495
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.005368a5
mov esp, ebp
pop ebp
ret
call fcn.00552581
int3
Function at 0x471cc0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5f5ea4]
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 0x5e6580
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x471d04
xor esi, esi
jmp 0x471d46
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 0x471d54
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005368a5
mov esp, ebp
pop ebp
ret 8

Function at 0x471da0
Capabilities:
Delete file
Set file attributes

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c738
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5f5ea4]
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 [0x5feb64]
cmp eax, dword [edx + 4]
jle 0x472e33
push 0x5feb64
call fcn.00536f3d
add esp, 4
cmp dword [0x5feb64], 0xffffffff
jne 0x472e33
push 0x110
lea eax, [ebp - 0x138]
mov dword [ebp - 0x13c], 0x114
push 0
push eax
call fcn.0054e940
add esp, 0xc
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x138], 6
push 0x5feb64
sbb eax, eax
neg eax
mov dword [0x5feb54], eax
call fcn.00536ef3
add esp, 4
cmp dword [esi + 0x18], 8
lea edx, [esi + 4]
jb 0x472e3e
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 0x472e57
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0044b730
mov dword [ebp - 4], 0
cmp dword [0x5feb54], 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
je 0x472ef9
test ecx, ecx
je 0x472f48
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x2e
jne 0x472ef9
cmp ecx, edx
jae 0x472ebe
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 0x472ed6
push 0x2e
mov byte [ebp - 0x140], 0
push dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044d1e0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x472f2a
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 0x472f42
test ecx, ecx
je 0x472f48
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x472f48
cmp ecx, edx
jae 0x472f2a
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 0x472f42
push 0x5c
mov byte [ebp - 0x140], 0
push dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044d1e0
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 0x472fa7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x472f9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x472fc3
push edx
push ecx
call fcn.00536ae6
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.005368a5
mov esp, ebp
pop ebp
ret
call fcn.00552581
int3
Function at 0x473210
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c80b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5f5ea4]
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 [0x5e6650]
mov ebx, eax
mov dword [ebp - 0x18], ecx
mov cx, word [0x5e6654]
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x14], cx
test ebx, ebx
je 0x473403
nop dword [eax + eax]
mov edi, ebx
test bl, 1
je 0x4733ee
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0054e940
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 0x4733ee
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x473320
lea eax, [ebp - 0x220]
mov dl, 3
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x4732d3
add dl, 0xff
je 0x4732dd
add eax, 2
test cx, cx
jne 0x4732c6
jmp 0x473320
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 0x473301
cmp ecx, 0x5c
jne 0x4732f0
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 0x473301
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 0x473346
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044b730
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x5feb5c
call fcn.004678a0
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 0x473390
sub ecx, esi
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044b730
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x228]
cmp edx, 8
jb 0x4733ee
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4733e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47341f
push edx
push ecx
call fcn.00536ae6
add esp, 8
inc word [ebp - 0x18]
shr ebx, 1
mov dword [ebp - 0x224], ebx
cmp edi, 2
jae 0x473270
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.005368a5
mov esp, ebp
pop ebp
ret
call fcn.00552581
int3
Function at 0x473430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c84c
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5f5ea4]
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 [0x5feb58]
cmp eax, dword [ecx + 4]
jle 0x4734d0
push 0x5feb58
call fcn.00536f3d
add esp, 4
cmp dword [0x5feb58], 0xffffffff
jne 0x4734d0
mov dword [ebp - 4], 0
mov dword [0x5feb5c], 0
mov dword [0x5feb60], 0
call fcn.00469290
push 0x57f910
mov dword [0x5feb5c], eax
call fcn.00536d7f
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x5feb58
call fcn.00536ef3
add esp, 4
cmp dword [0x5feb60], 0
jne 0x4734de
call fcn.00473210
cmp dword [edi + 0x10], 0
lea esi, [edi + 0x10]
je 0x473556
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4734f1
mov eax, dword [edi]
push 0xb
push str.SystemRoot
push eax
call fcn.0055e802
add esp, 0xc
test eax, eax
jne 0x473560
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0054e940
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 0x473535
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
push 0xb
push ecx
mov ecx, edi
call fcn.00478100
mov eax, 1
jmp 0x47362c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x47356a
mov eax, dword [edi]
push 4
push 0x5e6670
push eax
call fcn.0055e802
add esp, 0xc
test eax, eax
jne 0x4735b2
mov eax, dword [esi]
mov ecx, 4
cmp eax, ecx
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x473592
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.0054eaa0
add esp, 0xc
mov eax, 1
jmp 0x47362c
mov eax, dword [0x5feb5c]
mov esi, dword [eax]
cmp esi, eax
je 0x47362a
nop dword [eax]
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x4735cb
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x4735d5
mov ecx, dword [edi]
push dword [esi + 0x20]
push eax
push ecx
call fcn.0055e802
add esp, 0xc
test eax, eax
je 0x473647
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x47360c
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x473608
cmp esi, dword [eax + 8]
jne 0x473608
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4735f8
mov esi, eax
jmp 0x473622
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x473622
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x473616
cmp esi, dword [0x5feb5c]
jne 0x4735c0
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.005368a5
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 0x473658
mov esi, dword [esi]
push ecx
push esi
push eax
push ecx
mov ecx, edi
call fcn.00478100
mov eax, 1
jmp 0x47362c
Function at 0x475810
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x5f5ea4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call fcn.00477ef0
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], 0x5fe3b8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x238], ebx
test ebx, ebx
je 0x475990
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x475989
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 0x47591e
inc esi
cmp esi, 0xe
jl 0x475902
jmp 0x475971
push 4
call fcn.00536ab6
mov ecx, dword [ebp - 0x228]
add esp, 4
mov dword [ebp - 0x234], eax
mov dword [eax], ecx
lea eax, [ebp - 0x234]
mov esi, dword [0x5fe980]
push eax
mov ebx, dword [esi + 4]
push ebx
push esi
call fcn.0045c860
mov edx, dword [0x5fe984]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x47599f
inc edx
mov dword [0x5fe984], 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 0x475900
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.005368a5
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00533cfe
int3