joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d3c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0x104
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1000d402
mov eax, 1
jmp 0x1000d404
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1000d430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000d46b
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
jmp 0x1000d46d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000d480
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 2
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000d4c5
mov eax, 1
jmp 0x1000d4c7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000ee30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1000ee4a
jmp 0x1000eeaf
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 0xc]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000eea9
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
push eax
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1000eec0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1000eedd
jmp 0x1000ef7d
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000eef9
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1000ef7d
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0x78
mov edx, dword [ebp - 0xc]
sub edx, 1
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1000bdc0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010120
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10010180
lea ecx, [ebp - 0x10]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010410
Capabilities:
Query service configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e849
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x18], eax
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10010464
jmp 0x100105dc
push 0x1000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x14]
push edx
push 0x1000
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10010499
jmp 0x100105dc
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
add eax, 0x1c7
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 2
jne 0x100104d9
mov edx, dword [ebp + 8]
mov dword [edx + 0x2d0], 1
jmp 0x10010546
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 4
jne 0x100104f1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2d0], 2
jmp 0x10010546
mov edx, dword [ebp - 0x20]
cmp dword [edx + 4], 0
jne 0x10010509
mov eax, dword [ebp + 8]
mov dword [eax + 0x2d0], 3
jmp 0x10010546
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 3
jne 0x10010521
mov edx, dword [ebp + 8]
mov dword [edx + 0x2d0], 4
jmp 0x10010546
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 1
jne 0x10010539
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2d0], 5
jmp 0x10010546
mov edx, dword [ebp + 8]
mov dword [edx + 0x2d0], 6
push str.LocalSystem
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x1001056d
mov edx, dword [ebp + 8]
mov dword [edx + 0x2d4], 1
jmp 0x1001057a
mov eax, dword [ebp + 8]
mov dword [eax + 0x2d4], 2
push SysStringLen
lea ecx, [ebp - 0x2c]
call fcn.1000cea0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
push str.SYSTEMCurrentControlSetServices_s
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000d040
mov ecx, dword [ebp + 8]
add ecx, 0xc3
push ecx
push str.Description
lea ecx, [ebp - 0x2c]
call fcn.1000d3c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.1000cfb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100105f0
Capabilities:
Delete service
Print debug messages
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.10010120
mov byte [ebp - 8], 0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0xc], eax
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x28], 1
je 0x10010654
lea ecx, [ebp - 0x2c]
push ecx
push 1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x30], eax
push 0x10021344
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 0x30], eax
push str._end_DeleteService
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x30], 0
jne 0x1001067f
jmp 0x10010683
mov byte [ebp - 8], 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
and eax, 0xff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100106b0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.10010120
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov byte [ebp - 0xc], 0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x10], eax
push 0xf01ff
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10010709
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0xc], 1
jne 0x10010718
mov dword [ebp - 0x1c], 2
jmp 0x1001073d
cmp dword [ebp + 0xc], 2
jne 0x10010727
mov dword [ebp - 0x1c], 4
jmp 0x1001073d
cmp dword [ebp + 0xc], 4
jne 0x10010736
mov dword [ebp - 0x1c], 3
jmp 0x1001073d
mov dword [ebp - 0x1c], 2
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x10010763
jmp 0x10010767
mov byte [ebp - 0xc], 1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10010790
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.10010120
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov byte [ebp - 0x30], 0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0xc], eax
push 0xf01ff
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x28], 1
jne 0x10010806
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x10010800
jmp 0x10010804
mov byte [ebp - 0x30], 1
jmp 0x1001080a
mov byte [ebp - 0x30], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [ebp - 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10010830
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.10010120
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov byte [ebp - 0x30], 0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0xc], eax
push 0xf01ff
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x28], 1
je 0x100108a6
lea edx, [ebp - 0x2c]
push edx
push 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x100108a2
jmp 0x100108a6
mov byte [ebp - 0x30], 1
mov al, byte [ebp - 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100108c0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.10010120
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov byte [ebp - 0xc], 0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x10], eax
push 0xf01ff
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x2c], 1
je 0x1001092a
lea edx, [ebp - 0x30]
push edx
push 1
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x1001093f
jmp 0x10010943
mov byte [ebp - 0xc], 1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10011060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0x10021394
push 0x10021384
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c], eax
push str.DisconnectNamedPipe
push 0x10021384
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov byte [ebp - 0x18], 0x54
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6d
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0x12], 0x61
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x50
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x63
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 9], 0x73
mov byte [ebp - 8], 0
lea eax, [ebp - 0x18]
push eax
push 0x10021384
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x44], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011150
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e949
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x10021368
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x70]
push ecx
mov edx, dword [ebp - 0x10]
call dword [edx + 0x54]
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x7d0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x60], 0
je 0x100111e5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x60]
push edx
mov eax, dword [ebp - 0x10]
call dword [eax + 0x50]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x64], 0
je 0x100111fb
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp - 0x10]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x68], 0
je 0x10011211
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x68]
push ecx
mov edx, dword [ebp - 0x10]
call dword [edx + 0x50]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6c], 0
je 0x10011227
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x6c]
push edx
mov eax, dword [ebp - 0x10]
call dword [eax + 0x50]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.1000bd70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011c22
Capabilities:
Get disk information
Get disk size
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3cc
push ebx
push esi
push edi
and dword [ebp - 0x208], 0
lea eax, [ebp - 0x100]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea eax, [ebp - 0x100]
mov dword [ebp - 0x208], eax
and dword [ebp - 0x210], 0
and dword [ebp - 0x20c], 0
and dword [ebp - 0x218], 0
and dword [ebp - 0x214], 0
and dword [ebp - 0x21c], 0
and dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 1
jmp 0x10011ca5
push dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x208]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
movsx eax, byte [eax]
test eax, eax
je 0x10011dad
push 0x104
push 0
lea eax, [ebp - 0x204]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x204]
push eax
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x410
push 0x160
lea eax, [ebp - 0x384]
push eax
push 0x80
push dword [ebp - 0x208]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x388], eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x208]
movsx eax, byte [eax]
cmp eax, 0x41
je 0x10011da8
mov eax, dword [ebp - 0x208]
movsx eax, byte [eax]
cmp eax, 0x42
je 0x10011da8
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x10011da8
push 0
push 0x400
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
call fcn.1001dd50
push 0
push 0x400
push edx
push eax
call fcn.1001dd50
mov ecx, dword [ebp - 0x21c]
add ecx, eax
mov dword [ebp - 0x21c], ecx
jmp 0x10011c89
mov eax, dword [ebp - 0x21c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10011db8
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
lea ecx, [ebp - 0x50]
call fcn.10006320
mov dword [ebp - 0x5c], 4
mov dword [ebp - 0x60], 4
lea eax, [ebp - 0x54]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push str.MHz
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x54]
call dword [ebp - 0x1c]
mov eax, dword [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10011ebd
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a4
push ebx
push esi
push edi
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x400
push 0
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x64
push 0
lea eax, [ebp - 0x464]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push str.s__secivreS_tESlortnoCtnerruCMETSYS
lea eax, [ebp - 0x464]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.MSVCRT.dll__strrev]
pop ecx
push eax
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push 1
push str.Host
lea eax, [ebp - 0x400]
push eax
push SysStringLen
call fcn.1000c100
add esp, 0x20
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x10011f75
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_gethostname]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
pop edi
pop esi
pop ebx
leave
ret