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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140016040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000dac5
cmp byte [rcx + 0x72], 0
je 0x14000dac5
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x14000dac1
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000da86
sub eax, 1
je 0x14000da8a
cmp eax, 2
jne 0x14000dac1
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000e9a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000dab8
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000dac1
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14000da6e
xor al, al
jmp 0x14000da6e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000e9a0
add rsp, 0x60
pop rbx
ret

Function at 0x14000f5dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f626
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f626
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f626
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f626
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f626
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000f628
xor al, al
add rsp, 0x28
ret

Function at 0x140001908
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001952
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001952
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001952
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001952
cmp dword [rcx + 0x84], 0xe
jbe 0x140001952
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001954
xor al, al
add rsp, 0x28
ret
Function at 0x1400023d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x2b0
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
lea rdx, str.StreamlabsLicenseServer.exe
lea rcx, [rsp + 0x40]
call fcn.140008040
nop
xor sil, sil
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call fcn.140010290
mov dword [rsp + 0x60], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000251f
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
nop dword [rax]
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x20]
call fcn.140008040
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x14000246f
mov rax, qword [rax]
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
cmp rdx, qword [rcx + 0x10]
jne 0x1400024ab
test rdx, rdx
je 0x1400024a7
sub r8, rax
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x1400024ab
add rax, 2
sub rdx, 1
jne 0x140002493
mov bl, 1
jmp 0x1400024ad
xor bl, bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400024ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000258c
call fcn.14000dd90
test bl, bl
jne 0x140002512
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140002515
jmp 0x140002450
mov sil, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000255d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002558
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002586
call fcn.14000dd90
movzx eax, sil
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14000dd70
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140014204
nop
call fcn.140014204
nop
int3
Function at 0x140002a80
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], bx
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], bx
jne 0x140002ad0
lea rcx, [rsp + 0x70]
call fcn.140003160
nop
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae r8, qword [rsp + 0x70]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0xd4], xmm0
movups xmmword [rsp + 0xe4], xmm0
mov dword [rsp + 0xf4], eax
mov dword [rsp + 0x90], 0x68
lea rax, [rdi + 0x21c8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor edx, edx
mov rcx, qword [rdi + 0x21e0]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x140002c1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140002ba3
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x140002c1c
call fcn.1400037c0
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rcx + rax + 0x40]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x68], rcx
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rcx, [rsp + 0x60]
call fcn.140003500
mov r8, qword [rax]
mov dl, 0xa
mov rcx, rax
call qword [r8 + 0x40]
movzx esi, al
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140002c07
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x140002c07
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
movzx edx, sil
mov rcx, rdi
call fcn.140003d70
mov rcx, rdi
call fcn.140003cb0
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x140002c5d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c84
call fcn.14000dd90
mov eax, ebx
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14000dd70
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140014204
int3
Function at 0x140002cd0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, 1
xchg byte [0x14004e3d0], al
lea rcx, [0x14004e388]
call fcn.14000ac64
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rcx, [0x14004e3d8]
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x48], 0
call fcn.14000b028
test eax, eax
jne 0x140002e52
mov byte [rsp + 0x48], 1
mov rbx, qword [0x14004e328]
lea rax, [0x14004c2b0]
mov qword [rsp + 0x50], rax
call fcn.14000b090
mov rdi, rax
call fcn.14000b074
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
lea rdx, [rax + rcx]
mov qword [rsp + 0x38], rdx
test rbx, rbx
jle 0x140002d9d
imul rcx, rbx, 0xf4240
movabs r8, 0x7fffffffffffffff
mov rax, r8
sub rax, rcx
cmp rdx, rax
jge 0x140002d98
lea rax, [rcx + rdx]
mov qword [rsp + 0x38], rax
jmp 0x140002d9d
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [0x14004e428]
call fcn.140003fb0
call sub.KERNEL32.dll_GetCurrentProcessId
mov edi, eax
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x30], 0
nop dword [rax]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, str.StreamlabsLicenseServer.exe
lea rdx, [rsp + 0x38]
call fcn.140006210
test al, al
jne 0x140002df8
cmp byte [rsp + 0x30], al
je 0x140002e29
mov r8d, dword [rsp + 0x38]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140002dd0
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002dd0
cmp byte [rsp + 0x48], 0
je 0x140002e3a
mov rcx, qword [rsp + 0x40]
call fcn.14000b04c
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000dd70
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov ecx, eax
call fcn.14000b3ec
int3
Function at 0x140004820
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov ebp, r8d
movzx esi, dx
mov rdi, rcx
xor r14d, r14d
mov qword [rsp + 0x58], r14
call fcn.14000a4f0
test al, al
jne 0x1400048ed
lea rcx, [rsp + 0x60]
call fcn.140004780
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
lea r9, [rsp + 0x60]
cmovae r9, qword [rsp + 0x60]
mov qword [rsp + 0x38], rdx
call fcn.14000a620
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400048d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000496f
call fcn.14000dd90
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov rdx, qword [0x14004c2a0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140004947
mov qword [rsp + 0x50], rdi
mov ecx, 1
mov r8d, ecx
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r14d
mov word [rsp + 0x28], cx
mov qword [rsp + 0x20], r14
mov r9d, ebp
movzx edx, si
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000dd70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140014204
nop
int3
Function at 0x1400059a0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
xorps xmm0, xmm0
xor edx, edx
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x140005a05
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err__d_n
call fcn.140008f20
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000dd70
add rsp, 0x50
pop rdi
ret
mov r8d, 0x10024
mov qword [rsp + 0x60], rbx
lea rdx, [0x14004c2f0]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x140005a44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService_failed_w_err__d_n
call fcn.140008f20
mov rcx, rdi
jmp 0x140005b17
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140005ad5
lea rdx, [0x14004c2f0]
lea rcx, str.Stopping__s.
call fcn.140008ec0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140005ab2
mov eax, dword [rsp + 0x24]
cmp eax, 3
jne 0x140005ab6
lea rcx, [0x14004170c]
call fcn.140008f20
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140005a80
mov eax, dword [rsp + 0x24]
lea rdx, [0x14004c2f0]
lea rcx, str._n_s_is_stopped._n
cmp eax, 1
je 0x140005ad0
lea rcx, str._n_s_failed_to_stop._n
call fcn.140008ec0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140005af8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.DeleteService_failed_w_err__d_n
call fcn.140008f20
jmp 0x140005b0b
lea rdx, [0x14004c2f0]
lea rcx, str._s_is_removed._n
call fcn.140008ec0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000dd70
add rsp, 0x50
pop rdi
ret
Function at 0x140005b40
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x190
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x180], rax
xor edi, edi
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x40]
call fcn.140006e30
nop
lea rdx, [0x1400413e8]
lea rcx, [rsp + 0x50]
call fcn.140007880
mov rcx, rax
lea rdx, [0x14004c2f0]
call fcn.140007880
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x40]
call fcn.140006df0
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x58]
call fcn.140007510
mov ebx, 2
mov dword [rsp + 0x30], ebx
lea r9, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
cmovae r9, qword [rsp + 0x140]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
lea r8, str.sc.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x158]
cmp rdx, 8
jb 0x140005c4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005cf7
call fcn.14000dd90
mov qword [rsp + 0x150], rdi
mov qword [rsp + 0x158], 7
mov word [rsp + 0x140], di
mov rdx, qword [rsp + 0x178]
cmp rdx, 8
jb 0x140005caa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ca5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005cf1
call fcn.14000dd90
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x178], 7
mov word [rsp + 0x160], di
lea rcx, [rsp + 0x40]
call fcn.140005d00
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14000dd70
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x190
pop rdi
ret
call fcn.140014204
nop
call fcn.140014204
int3
Function at 0x14000a8b0
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov esi, edx
mov rbx, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x14000a904
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed___d__n
call fcn.140008f20
jmp 0x14000aa1f
mov r8d, 0xf01ff
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x14000a937
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService_failed___d__n
call fcn.140008f20
jmp 0x14000aa16
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], esi
mov edx, 3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x14000a966
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_set_delayed_start_w_err__d_n
call fcn.140008f20
mov dword [rsp + 0x54], 0x3e8
lea r8, [rsp + 0x28]
mov dword [rsp + 0x50], 1
xorps xmm0, xmm0
mov rax, qword [rsp + 0x50]
mov edx, 2
mov qword [rsp + 0x58], rax
mov rcx, rbx
mov qword [rsp + 0x60], rax
xor eax, eax
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
movdqu xmmword [rsp + 0x2c], xmm0
mov qword [rsp + 0x40], 3
mov dword [rsp + 0x28], 0x15180
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x14000a9da
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_set_error_actions_w_err__d_n
call fcn.140008f20
lea r8, [rsp + 0x24]
mov dword [rsp + 0x24], 1
mov edx, 4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x14000aa0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_set_error_actions_flag_w_err__d_n
call fcn.140008f20
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000dd70
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14000aa60
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14000aa89
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14000aa89
xor al, al
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 0x28], 0
lea r8, [0x14000aa40]
mov r9, rbx
mov dword [rsp + 0x20], 2
xor edx, edx
xor ecx, ecx
call fcn.140018ab0
mov rcx, rax
mov qword [rbx + 8], rax
xor al, al
test rcx, rcx
je 0x14000aacb
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
sete al
add rsp, 0x30
pop rbx
ret
Function at 0x1400180d8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140017f6b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140017f6b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140017f6b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140017f6b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140017f6b
cmp dword [rcx + 0x84], 0xe
jbe 0x140017f6b
cmp dword [rcx + 0xf8], 0
je 0x140017f6b
mov ecx, ebx
call fcn.14001800c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140017dfc
cmp dword [rbp + 0x20], 0
je 0x140017fb8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140017fc0
int3
xor r8d, r8d
xor edx, edx
jmp 0x140017f04
Function at 0x180009934
Capabilities:
Hash data using fnv

Disassembly:
mov r10, qword [0x1801a0b90]
movabs rcx, 0xcbf29ce484222325
mov dword [rsp + 0x10], edx
xor r8d, r8d
mov r9, qword [r10 + 0x1c0]
movzx eax, byte [rsp + r8 + 0x10]
movabs r11, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r11
cmp r8, 4
jb 0x180009953
mov r8, qword [r10 + 0x1e8]
and r8, rcx
mov rcx, qword [r10 + 0x1d0]
add r8, r8
mov rax, qword [rcx + r8*8 + 8]
cmp rax, r9
je 0x1800099a7
mov rcx, qword [rcx + r8*8]
jmp 0x1800099a0
cmp rax, rcx
je 0x1800099a7
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x180009997
jmp 0x1800099a9
xor eax, eax
test rax, rax
cmove rax, r9
cmp rax, r9
setne al
ret
Function at 0x18000edcc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov rsi, rdx
mov rbp, rcx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [rcx + r8]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x18000edfd
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov rcx, qword [rbp + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
lea rdx, [rbp + 8]
mov r12, qword [rdx]
cmp rbx, r12
jne 0x18000ee43
mov rbx, r12
mov r14, r12
jmp 0x18000ee8b
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x18000ee55
cmp rbx, rdx
je 0x18000ee81
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x18000ee4c
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12, rbx
mov r14, rbx
lea rdx, [rbp + 8]
movabs rax, 0x492492492492492
cmp qword [rbp + 0x10], rax
je 0x18000efe4
mov qword [rsp + 0x20], rdx
and qword [rsp + 0x28], 0
mov ecx, 0x38
call fcn.18008dae8
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
xor r13d, r13d
mov qword [rax + 0x28], r13
mov qword [rax + 0x30], 0xf
mov byte [rax + 0x18], r13b
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x18000eef1
cvtsi2ss xmm0, rcx
jmp 0x18000ef06
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18000ef19
cvtsi2ss xmm1, rcx
jmp 0x18000ef2e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x18000ef86
mov rcx, rbp
call fcn.18000f9d4
mov rcx, qword [rbp + 0x30]
and rcx, r15
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x18000ef79
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x18000ef71
mov rbx, rax
cmp rax, r8
je 0x18000efba
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x18000ef65
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r12, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x18000efc1
mov qword [rcx + rax*8], rdi
jmp 0x18000efd3
mov qword [rsp + 0x20], rax
jmp 0x18000ef7e
cmp r8, r14
jne 0x18000efcc
mov qword [rcx + rax*8], rdi
jmp 0x18000efd8
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18000efd8
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x18000ee61
lea rcx, str.unordered_map_set_too_long
call fcn.18008c050
int3