joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400067da
Capabilities:
Parse pe header

Disassembly:
jmp 0x140114650
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140114670
xor al, al
jmp 0x1401146f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140114683
xor al, al
jmp 0x1401146f1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1401146ad
xor al, al
jmp 0x1401146f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1401146c1
xor al, al
jmp 0x1401146f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1401146d3
xor al, al
jmp 0x1401146f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1401146ef
xor al, al
jmp 0x1401146f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140006f00
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1402122c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp], 0
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
jmp 0x14021231e
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 0x28
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x14021235d
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x38], rax
jb 0x14021235b
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 8]
mov eax, eax
cmp qword [rsp + 0x38], rax
jae 0x14021235b
mov rax, qword [rsp + 8]
jmp 0x14021235f
jmp 0x140212308
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400072fc
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400afa90
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x188
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x1a0]
add rax, 0x18
mov qword [rsp + 0x150], rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x150]
call fcn.1400072e8
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x1a0]
mov rcx, rax
call fcn.14000231f
mov dword [rsp + 0x100], eax
mov rax, qword [rsp + 0x1a0]
mov rcx, rax
call fcn.140004683
mov qword [rsp + 0x108], rax
xor r8d, r8d
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x30]
call fcn.14000519b
mov qword [rsp + 0x160], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x160]
call fcn.140004ab6
mov qword [rsp + 0x168], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x168]
call fcn.140002513
mov qword [rsp + 0x170], rax
lea rax, str.__:_
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], 0xa
lea rax, [rsp + 0x120]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x130]
lea rcx, [rsp + 0x120]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [rsp + 0x130]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x100]
mov r8, qword [rsp + 0x170]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xd0]
call fcn.1400068ac
mov rcx, rax
call fcn.140001b86
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0xd0]
call fcn.14000278e
lea rcx, [rsp + 0x80]
call fcn.14000278e
lea rcx, [rsp + 0x58]
call fcn.140008440
lea rcx, [rsp + 0x30]
call fcn.140008440
lea rcx, [rsp + 0xa8]
call fcn.14000278e
mov rax, qword [rsp + 0x1a0]
add rax, 0x18
mov rcx, rax
call fcn.1400025f9
nop
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x188
pop rdi
pop rsi
ret
Function at 0x14000745f
Capabilities:
Terminate process

Disassembly:
jmp 0x14018bfa0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14018bfce
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140008684
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140007987
Capabilities:
Delete service

Disassembly:
jmp 0x1400b0f60
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2d0
lea rdi, [rsp + 0x20]
mov ecx, 0xac
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2e0]
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x1b0], rax
mov rdx, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400093a9
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x250], rax
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x258], rax
xor r9d, r9d
mov r8, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x258]
lea rcx, [rsp + 0x30]
call fcn.140006e60
nop
lea rcx, [rsp + 0x30]
call fcn.14000187f
movzx eax, al
test eax, eax
jne 0x1400b1080
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x88]
call fcn.140001460
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x268], rax
mov rdx, qword [rsp + 0x268]
lea rcx, [rsp + 0x1b8]
call fcn.140003fc6
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0x1b8]
call fcn.140009be2
nop
lea rcx, [rsp + 0x88]
call fcn.14000278e
nop
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x210], rax
mov rdx, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x210]
call fcn.1400093a9
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x2e0]
mov rcx, rax
call fcn.140003bb1
mov qword [rsp + 0x288], rax
lea rcx, [rsp + 0x30]
call fcn.140005ce5
mov qword [rsp + 0x290], rax
mov r8d, 0x10000
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x298], rax
xor r9d, r9d
mov r8, qword [rsp + 0x280]
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0xc0]
call fcn.140006e60
nop
lea rcx, [rsp + 0xc0]
call fcn.14000187f
movzx eax, al
test eax, eax
jne 0x1400b11b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x118]
call fcn.140001460
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x2a8], rax
mov rdx, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x218]
call fcn.140003fc6
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0x218]
call fcn.140009be2
nop
lea rcx, [rsp + 0x118]
call fcn.14000278e
nop
lea rcx, [rsp + 0xc0]
call fcn.140005ce5
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1400b1233
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x140]
call fcn.140001460
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x2b8], rax
mov rdx, qword [rsp + 0x2b8]
lea rcx, [rsp + 0x230]
call fcn.140003fc6
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0x230]
call fcn.140009be2
nop
lea rcx, [rsp + 0x140]
call fcn.14000278e
nop
lea rcx, [rsp + 0xc0]
call fcn.1400027f7
nop
lea rcx, [rsp + 0x30]
call fcn.1400027f7
mov rcx, rsp
lea rdx, [0x14025a130]
call fcn.140007996
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x2d0
pop rdi
ret
Function at 0x140007cf7
Capabilities:
Create directory

Disassembly:
jmp 0x1400cbb60
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400cbb9d
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x1400cbc12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x1400cbc00
mov edx, 1
mov ecx, 2
call fcn.140001406
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.140003486
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400cbc00
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.140001faa
movzx eax, al
test eax, eax
jne 0x1400cbc00
mov dword [rsp + 0x20], 0xb7
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x68
ret
Function at 0x140008751
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401cb520
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140008918
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140135e50
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401357a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140135e99
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140304020]
jmp 0x140135ea8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x14000944e
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401115f0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.140006fa0
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x1402835a8]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.140004c00
test eax, eax
jne 0x140111687
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140111687
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140111680
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1402df7b0], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x14001dc50
Capabilities:
Get graphical window text

Disassembly:
jmp 0x14001dc50
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x64]
call fcn.1400054e3
mov qword [rsp + 0x70], rax
xor eax, eax
mov word [rsp + 0x66], ax
movsxd rax, dword [rsp + 0x20]
mov r9, qword [rsp + 0x70]
lea r8, [rsp + 0x66]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140007937
nop
lea rcx, [rsp + 0x38]
call fcn.140005317
mov r8d, dword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x38]
call fcn.140005317
mov rdx, rax
mov rcx, qword [rsp + 0x90]
call fcn.140003b11
mov eax, dword [rsp + 0x68]
or eax, 1
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x38]
call fcn.14000114f
mov rax, qword [rsp + 0x90]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1402357a0]
call fcn.140007996
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x140023d10
Capabilities:
Get hostname

Disassembly:
jmp 0x140023d10
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x158
lea rdi, [rsp + 0x20]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x170]
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov dword [rsp + 0x120], 0
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov dword [rsp + 0x64], 0x10
lea rdx, [rsp + 0x64]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x140023e25
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.140001460
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov r8, qword [rsp + 0x130]
lea rdx, str.GetComputerNameW_failed:
lea rcx, [rsp + 0xa0]
call fcn.140009354
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0xd0]
call fcn.140003fc6
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0xd0]
call fcn.140009be2
nop
lea rcx, [rsp + 0xa0]
call fcn.14000278e
lea rcx, [rsp + 0x78]
call fcn.14000278e
nop
mov eax, dword [rsp + 0x64]
shl rax, 1
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0x20
jae 0x140023e41
jmp 0x140023e46
call fcn.140006c12
xor eax, eax
mov rcx, qword [rsp + 0xe8]
mov word [rsp + rcx + 0x28], ax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x100]
call fcn.140005718
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x170]
call fcn.1400036b6
mov eax, dword [rsp + 0x120]
or eax, 1
mov dword [rsp + 0x120], eax
mov rax, qword [rsp + 0x170]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140237820]
call fcn.140007996
mov rax, rdi
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x158
pop rdi
pop rsi
ret
Function at 0x140023ef0
Capabilities:
Get hostname

Disassembly:
jmp 0x140023ef0
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x348
lea rdi, [rsp + 0x20]
mov ecx, 0xca
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x360]
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x338], rax
mov dword [rsp + 0x310], 0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x254], 0x104
lea r8, [rsp + 0x254]
lea rdx, [rsp + 0x30]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x140024016
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x268]
call fcn.140001460
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x318]
mov qword [rsp + 0x320], rax
mov r8, qword [rsp + 0x320]
lea rdx, str.GetComputerNameExW_failed:
lea rcx, [rsp + 0x290]
call fcn.140009354
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x330], rax
mov rdx, qword [rsp + 0x330]
lea rcx, [rsp + 0x2c0]
call fcn.140003fc6
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0x2c0]
call fcn.140009be2
nop
lea rcx, [rsp + 0x290]
call fcn.14000278e
lea rcx, [rsp + 0x268]
call fcn.14000278e
nop
mov eax, dword [rsp + 0x254]
shl rax, 1
mov qword [rsp + 0x2d8], rax
cmp qword [rsp + 0x2d8], 0x208
jae 0x140024038
jmp 0x14002403d
call fcn.140006c12
xor eax, eax
mov rcx, qword [rsp + 0x2d8]
mov word [rsp + rcx + 0x30], ax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x2f0], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2f0]
call fcn.140005718
lea rcx, [rsp + 0x300]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x300]
mov rcx, qword [rsp + 0x360]
call fcn.1400036b6
mov eax, dword [rsp + 0x310]
or eax, 1
mov dword [rsp + 0x310], eax
mov rax, qword [rsp + 0x360]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1402378c0]
call fcn.140007996
mov rax, rdi
mov rcx, qword [rsp + 0x338]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x348
pop rdi
pop rsi
ret

Function at 0x1400244e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
lea rdi, [rsp + 0x30]
mov ecx, 0x98
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a0]
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov dword [rsp + 0x278], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x23
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x140024582
lea rdx, str.SHGetFolderPathW_CSIDL_COMMON_APPDATA__failed
lea rcx, [rsp + 0x260]
call fcn.140007d47
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0x260]
call fcn.140009be2
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x2a8]
call fcn.140002ee6
mov eax, dword [rsp + 0x278]
or eax, 1
mov dword [rsp + 0x278], eax
mov rax, qword [rsp + 0x2a8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140237a30]
call fcn.140007996
mov rax, rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x290
pop rdi
ret
Function at 0x1400854d0
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400854d0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov qword [rsp], 0
jmp 0x1400854f9
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140085543
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x1400854ee
mov rax, qword [rsp + 0x20]
add rsp, 0x10
pop rdi
ret

Function at 0x1400afa90
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400afa90
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x188
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x1a0]
add rax, 0x18
mov qword [rsp + 0x150], rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x150]
call fcn.1400072e8
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x1a0]
mov rcx, rax
call fcn.14000231f
mov dword [rsp + 0x100], eax
mov rax, qword [rsp + 0x1a0]
mov rcx, rax
call fcn.140004683
mov qword [rsp + 0x108], rax
xor r8d, r8d
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x30]
call fcn.14000519b
mov qword [rsp + 0x160], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x160]
call fcn.140004ab6
mov qword [rsp + 0x168], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x168]
call fcn.140002513
mov qword [rsp + 0x170], rax
lea rax, str.__:_
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], 0xa
lea rax, [rsp + 0x120]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x130]
lea rcx, [rsp + 0x120]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [rsp + 0x130]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x100]
mov r8, qword [rsp + 0x170]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xd0]
call fcn.1400068ac
mov rcx, rax
call fcn.140001b86
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0xd0]
call fcn.14000278e
lea rcx, [rsp + 0x80]
call fcn.14000278e
lea rcx, [rsp + 0x58]
call fcn.140008440
lea rcx, [rsp + 0x30]
call fcn.140008440
lea rcx, [rsp + 0xa8]
call fcn.14000278e
mov rax, qword [rsp + 0x1a0]
add rax, 0x18
mov rcx, rax
call fcn.1400025f9
nop
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x188
pop rdi
pop rsi
ret
Function at 0x1400b0f60
Capabilities:
Delete service

Disassembly:
jmp 0x1400b0f60
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2d0
lea rdi, [rsp + 0x20]
mov ecx, 0xac
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2e0]
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x1b0], rax
mov rdx, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400093a9
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x250], rax
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x258], rax
xor r9d, r9d
mov r8, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x258]
lea rcx, [rsp + 0x30]
call fcn.140006e60
nop
lea rcx, [rsp + 0x30]
call fcn.14000187f
movzx eax, al
test eax, eax
jne 0x1400b1080
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x88]
call fcn.140001460
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x268], rax
mov rdx, qword [rsp + 0x268]
lea rcx, [rsp + 0x1b8]
call fcn.140003fc6
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0x1b8]
call fcn.140009be2
nop
lea rcx, [rsp + 0x88]
call fcn.14000278e
nop
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x210], rax
mov rdx, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x210]
call fcn.1400093a9
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x2e0]
mov rcx, rax
call fcn.140003bb1
mov qword [rsp + 0x288], rax
lea rcx, [rsp + 0x30]
call fcn.140005ce5
mov qword [rsp + 0x290], rax
mov r8d, 0x10000
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x298], rax
xor r9d, r9d
mov r8, qword [rsp + 0x280]
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0xc0]
call fcn.140006e60
nop
lea rcx, [rsp + 0xc0]
call fcn.14000187f
movzx eax, al
test eax, eax
jne 0x1400b11b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x118]
call fcn.140001460
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x2a8], rax
mov rdx, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x218]
call fcn.140003fc6
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0x218]
call fcn.140009be2
nop
lea rcx, [rsp + 0x118]
call fcn.14000278e
nop
lea rcx, [rsp + 0xc0]
call fcn.140005ce5
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1400b1233
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x140]
call fcn.140001460
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x2b8], rax
mov rdx, qword [rsp + 0x2b8]
lea rcx, [rsp + 0x230]
call fcn.140003fc6
lea rdx, [0x1402d7ca8]
lea rcx, [rsp + 0x230]
call fcn.140009be2
nop
lea rcx, [rsp + 0x140]
call fcn.14000278e
nop
lea rcx, [rsp + 0xc0]
call fcn.1400027f7
nop
lea rcx, [rsp + 0x30]
call fcn.1400027f7
mov rcx, rsp
lea rdx, [0x14025a130]
call fcn.140007996
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x2d0
pop rdi
ret