joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437a70
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5610b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5cc5b0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x5cc5b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00440320
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.00437990
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x437aed
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.005020e9
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x437b16
push dword [esp + 0x10]
call fcn.00503a69
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00501f35
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43d040
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5cc5b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x43d0f8
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x43d0f7
push esi
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push 1
push 2
push 0x10
push 0xf01ff
push str.COM_Leg_Service
push str.COMLegService
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
jne 0x43d0d0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501f35
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 3
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501f35
mov esp, ebp
pop ebp
ret
Function at 0x441340
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561c98
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x5cc5b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push 0x5b70b4
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.00436eb0
lea eax, [ebp - 0x3c]
push eax
call fcn.004d9210
add esp, 4
lea ecx, [ebp - 0x70]
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 8], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
call fcn.00436f70
mov dword [esi], vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x445290
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562071
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5cc5b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x2c]
add eax, 0x18
cmp eax, dword [edi + 0x30]
jb 0x4452cd
push ecx
lea ecx, [edi + 0x20]
call fcn.00445990
mov ecx, dword [edi + 0x2c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 0x18]
mov dword [edi + 0x2c], eax
mov dword [ebp - 4], 0
test ecx, ecx
je 0x4452f5
push dword [edi + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00445470
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4466c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56215c
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5cc5b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
mov dword [edi], vtable.nfapi::EventQueue_class_nfapi::NFEvent_.0
lea ecx, [edi + 4]
push 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00447170
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.00455950
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 1
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.00455950
mov dword [edi + 0x14], eax
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 2
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.00460240
mov dword [edi + 0x1c], eax
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 3
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
call fcn.00460240
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
mov dword [edi + 0x24], eax
push 0
mov dword [edi + 0x2c], 0xffffffff
call esi
push 0
push 0
mov dword [edi + 0x2c], eax
push 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push 0
mov dword [edi + 0x40], 0xffffffff
call esi
push 0
push 0
push 1
mov dword [edi + 0x40], eax
push 0
mov dword [edi + 0x44], 0xffffffff
call esi
lea ecx, [edi + 0x48]
mov dword [edi + 0x44], eax
xorps xmm0, xmm0
mov dword [edi + 0x30], 0
movdqu xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.00447080
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x446810
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56215c
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5cc5b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
mov dword [edi], vtable.nfapi::EventQueue_class_nfapi::NFEventOut_.0
lea ecx, [edi + 4]
push 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00447170
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.00455950
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 1
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.00455950
mov dword [edi + 0x14], eax
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 2
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.00460240
mov dword [edi + 0x1c], eax
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 3
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
call fcn.00460240
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
mov dword [edi + 0x24], eax
push 0
mov dword [edi + 0x2c], 0xffffffff
call esi
push 0
push 0
mov dword [edi + 0x2c], eax
push 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push 0
mov dword [edi + 0x40], 0xffffffff
call esi
push 0
push 0
push 1
mov dword [edi + 0x40], eax
push 0
mov dword [edi + 0x44], 0xffffffff
call esi
lea ecx, [edi + 0x48]
mov dword [edi + 0x44], eax
xorps xmm0, xmm0
mov dword [edi + 0x30], 0
movdqu xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.00447080
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4497c0
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], esi
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
test ebx, ebx
jg 0x449801
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x1c]
mov eax, 1
test ebx, ebx
cmove ebx, eax
test ebx, ebx
jle 0x44988a
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push 0x447590
push 0
push 0
call fcn.005041fa
mov edi, eax
add esp, 0x18
mov dword [ebp - 4], edi
test edi, edi
je 0x449882
cmp edi, 0xffffffff
je 0x449882
mov eax, dword [esi + 8]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0x449863
mov ecx, dword [esi + 4]
lea edx, [ebp - 4]
cmp ecx, edx
ja 0x449863
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 0xc]
jne 0x449852
push 1
lea ecx, [esi + 4]
call fcn.00447410
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44987b
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x44987b
cmp eax, dword [esi + 0xc]
jne 0x449872
push 1
lea ecx, [esi + 4]
call fcn.00447410
mov eax, dword [esi + 8]
test eax, eax
je 0x44987b
mov dword [eax], edi
add dword [esi + 8], 4
mov esi, dword [ebp - 8]
dec ebx
jne 0x449802
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x449a10
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5cc5b0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x449aaa
push esi
lea eax, [ebp - 0x18]
push eax
push 0x20
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x449aa6
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x449a9b
mov eax, dword [ebp - 0x20]
push 0
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x449aa1
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call esi
push edi
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00501f35
mov esp, ebp
pop ebp
ret
Function at 0x44a4d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5c7014]
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x5c7010]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
add eax, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
cmp ecx, dword [0x5d38d0]
jb 0x44a51b
ja 0x44a511
cmp eax, dword [0x5d38cc]
jbe 0x44a51b
mov eax, 0xfffffffc
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x5c701c], 0xffffffff
jne 0x44a52e
mov eax, 0xfffffffd
pop esi
mov esp, ebp
pop ebp
ret
push 0x5d3794
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp - 0xc]
push esi
push dword [0x5d38c4]
call fcn.00504a20
mov eax, dword [0x5c7014]
add esp, 0xc
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
movdqu xmmword [ebp - 0x28], xmm0
push eax
push 0
push 8
lea eax, [ebp - 0xc]
push eax
push dword [0x5c701c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44a5a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x44a5a2
push 0x5d3794
mov esi, 0xfffffffc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x14]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x44a5c7
push eax
push dword [0x5c7010]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44a5e8
push dword [0x5c701c]
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x5d3794
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [0x5c701c]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x44a5d3
mov esi, dword [ebp - 4]
neg esi
push 0x5d3794
sbb esi, esi
neg esi
dec esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44a6e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x5d377c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5c701c], 0xffffffff
je 0x44a75f
cmp dword [0x5c7020], 0xffffffff
jne 0x44a75f
mov eax, dword [ebp + 8]
test eax, eax
je 0x44a75f
push dword [0x5c7010]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [0x5d3660], eax
call esi
push dword [0x5c700c]
call esi
push dword [0x5c7008]
call esi
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x44b1e0
push 0
push 0
call fcn.005041fa
add esp, 0x18
test eax, eax
jne 0x44a774
push dword [0x5c700c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [0x5c7020], 0xffffffff
push 0x5d377c
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [0x5c7008]
mov dword [0x5c7020], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x5d377c
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44bc30
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5cc5b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push eax
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00505100
add esp, 0x10
lea eax, [ebp - 0x10c]
push eax
push 3
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44bc96
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501f35
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 8], 0
je 0x44bcca
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 4
push eax
push esi
lea eax, [ebp - 0x114]
push eax
push 0
push 0x5686b8
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x44bce2
push 4
push esi
push 4
push 0
push 0x5686b8
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x10c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
pop esi
sete al
xor ecx, ebp
call fcn.00501f35
mov esp, ebp
pop ebp
ret

Function at 0x44bd10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 3
push 0
push str.SYSTEMCurrentControlSetControlGroupOrderList
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44bd38
xor al, al
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 8], 0
push esi
push edi
je 0x44bdc7
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 8]
push edi
push 0
push eax
push 0
push str.PNP_TDI
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44bd79
mov eax, dword [edi]
add eax, 4
push eax
call fcn.00502a22
mov esi, dword [ebp + 0xc]
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x44bd8a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push edi
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.PNP_TDI
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
je 0x44bdf8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esi]
call fcn.00502874
add esp, 4
mov dword [esi], 0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
cmp edx, 4
jbe 0x44bdd7
shr edx, 2
dec edx
jmp 0x44bdd9
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [eax], edx
push dword [esi]
push dword [ecx]
push 3
push 0
push str.PNP_TDI
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44be10
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SYSTEMCurrentControlSetServicesTcpipParameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44be38
xor al, al
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp byte [ebp + 8], al
push esi
setne al
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.DisableTaskOffload
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop esi
sete al
mov esp, ebp
pop ebp
ret

Function at 0x44be80
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SYSTEMCurrentControlSetServicesTcpip6Parameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44bea8
xor al, al
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, 0x8e
cmp byte [ebp + 8], al
push esi
cmovne eax, ecx
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.DisabledComponents
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop esi
sete al
mov esp, ebp
pop ebp
ret

Function at 0x44bfc0
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5cc5b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push edi
push esi
push str.system32drivers_s.sys
push 0x104
push eax
xor bl, bl
call fcn.00505100
add esp, 0x10
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x44c01e
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501f35
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push str.PNP_TDI
lea eax, [ebp - 0x108]
push eax
push 1
push 1
push 1
push 0xf01ff
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x10c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x10c]
test ecx, ecx
je 0x44c076
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
jmp 0x44c0a5
push 0xf01ff
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x10c], eax
test eax, eax
je 0x44c0b2
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
movzx ebx, bl
mov edx, 1
cmovne ebx, edx
push dword [ebp - 0x10c]
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call eax
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
push esi
call fcn.0044c0e0
mov ecx, dword [ebp - 4]
add esp, 8
xor eax, eax
test bl, bl
setne al
xor ecx, ebp
pop edi
pop esi
dec eax
pop ebx
call fcn.00501f35
mov esp, ebp
pop ebp
ret
Function at 0x44cb80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56267b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5cc5b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x44cbc0
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 4], 0
mov ebx, dword [ebp + 0xc]
mov eax, 0x6400000
cmp ebx, eax
push 0x28
cmova ebx, eax
call fcn.00503ec5
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x44cbf0
mov ecx, eax
call fcn.00456c10
mov esi, eax
jmp 0x44cbf2
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x44cc10
mov ecx, esi
call fcn.004416f0
test al, al
jne 0x44cc17
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor al, al
jmp 0x44ccbf
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [edi + 4], esi
lea esi, [edi + 0xe]
mov dword [edi + 8], ebx
mov word [esi], ax
test ecx, ecx
je 0x44cc63
mov edx, ecx
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44cc31
sub edx, edi
sar edx, 1
cmp edx, 0x104
jbe 0x44cc4f
xor eax, eax
mov word [esi], ax
jmp 0x44cc63
mov edx, esi
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x44cc53
cmp word [esi], 0
jne 0x44ccbd
lea eax, [ebp - 0x28]
push eax
call fcn.00454fc0
mov ecx, eax
call fcn.00455030
cmp dword [ebp - 0x18], 0
je 0x44cca0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x56884c
push 0x104
push esi
call fcn.0044cf20
add esp, 0x10
jmp 0x44ccac
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [ebp - 0x14], 8
jb 0x44ccbd
push dword [ebp - 0x28]
call fcn.00503a69
add esp, 4
mov al, 1
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.00501f35
mov esp, ebp
pop ebp
ret 8
Function at 0x44cd80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5626ae
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5cc5b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 8]
test ecx, ecx
jne 0x44cdc7
xor eax, eax
jmp 0x44ce6d
push dword [ebp + 0xc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov edi, eax
mov dword [ebp - 0x21c], edi
test edi, edi
je 0x44cdc0
cmp byte [esi + 0xc], 0
jne 0x44ce6b
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test edx, edx
jb 0x44ce6b
ja 0x44cdfb
cmp eax, dword [esi + 8]
jbe 0x44ce6b
lea eax, [ebp - 0x218]
push eax
push 0
push 0x568854
lea eax, [esi + 0xe]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x44ce6b
push 8
call fcn.00503ec5
add esp, 4
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x44ce3d
mov ecx, eax
call fcn.00456f00
mov ebx, eax
jmp 0x44ce3f
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x44ce6b
push 0x4000100
push 2
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.004570e0
push 1
test al, al
jne 0x44ce8b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00501f35
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
push 0
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esi + 4]
push ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x22c], edx
mov esi, dword [ecx]
mov esi, dword [esi + 0x18]
call esi
mov ecx, dword [ebp - 0x220]
mov edi, eax
mov dword [ebp - 0x228], edx
mov ecx, dword [ecx + 4]
mov esi, dword [ecx]
mov esi, dword [esi + 0x14]
call esi
cmp edi, eax
jne 0x44cf09
cmp dword [ebp - 0x228], edx
jne 0x44cf09
mov esi, dword [ebp - 0x220]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebp - 0x22c]
mov dword [esi + 4], ebx
mov ecx, ebx
mov eax, dword [ebx]
push dword [ebp - 0x224]
call dword [eax + 8]
mov edi, dword [ebp - 0x21c]
mov byte [esi + 0xc], 1
jmp 0x44ce6b
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov eax, dword [ebp - 0x21c]
jmp 0x44ce6d