joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003aaec
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1400ccc48]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov ebx, edx
mov rdi, rcx
call fcn.14003a8a4
or edx, 0xffffffff
test ebx, ebx
je 0x14003ab3b
sub ebx, 1
je 0x14003ab33
cmp ebx, 1
je 0x14003ab2b
mov r8d, edx
jmp 0x14003ab41
mov r8d, 4
jmp 0x14003ab41
mov r8d, 3
jmp 0x14003ab41
mov r8d, 2
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov r9d, edx
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x14003ab9d
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140043a90
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret
lea rdx, str.cannot_change_service_startup_mode
lea rcx, [rsp + 0x60]
call fcn.140003adc
nop
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x80]
call fcn.14000c428
lea rdx, [0x1400ca130]
lea rcx, [rsp + 0x80]
call fcn.140044d60
int3

Function at 0x14003abdc
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x1400ccc48]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
call fcn.14003a8a4
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x14003acc5
xor edi, edi
lea rdx, [rbp - 0x29]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14003ac53
cmp dword [rbp - 0x25], 2
jne 0x14003ac53
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
add edi, 0xfa
cmp edi, 0x7530
jl 0x14003ac22
lea rdx, [rbp - 0x29]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14003acfa
cmp dword [rbp - 0x25], 4
jne 0x14003ac90
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140043a90
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, str.service_failed_to_start_within_a_reasonable_time
lea rcx, [rbp - 0x49]
call fcn.140003adc
nop
xor r9d, r9d
mov r8, rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.14000c404
lea rdx, [0x1400ca130]
lea rcx, [rbp - 9]
call fcn.140044d60
nop
lea rdx, str.cannot_start_service
lea rcx, [rbp - 0x49]
call fcn.140003adc
nop
xor r9d, r9d
mov r8, rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.14000c404
lea rdx, [0x1400ca130]
lea rcx, [rbp - 9]
call fcn.140044d60
nop
lea rdx, str.cannot_query_status_of_starting_service
lea rcx, [rbp - 0x49]
call fcn.140003adc
nop
xor r9d, r9d
mov r8, rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.14000c404
lea rdx, [0x1400ca130]
lea rcx, [rbp - 9]
call fcn.140044d60
int3
Function at 0x14003ad30
Capabilities:
Stop service

Disassembly:
push rbx
sub rsp, 0xc0
mov rax, qword [0x1400ccc48]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
call fcn.14003a8a4
lea r8, [rsp + 0x40]
mov edx, 1
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14003ad84
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140043a90
add rsp, 0xc0
pop rbx
ret
lea rdx, str.cannot_stop_service
lea rcx, [rsp + 0x20]
call fcn.140003adc
nop
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14000c404
lea rdx, [0x1400ca130]
lea rcx, [rsp + 0x60]
call fcn.140044d60
int3
Function at 0x140b8c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140b8c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b8c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b8c06f
add dl, dl
jne 0x140b8c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b8c0f6
xor eax, eax
add dl, dl
jne 0x140b8c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b8c1ad
add dl, dl
jne 0x140b8c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b8c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b8c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b8c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b8c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b8c07e
mov eax, 1
add dl, dl
jne 0x140b8c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b8c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b8c0fb
sub eax, ebx
mov ebx, 1
jne 0x140b8c14c
mov ecx, 1
add dl, dl
jne 0x140b8c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b8c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b8c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b8c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b8c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b8c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b8c15d
cmp eax, 0x7d00
jae 0x140b8c19b
cmp eax, 0x500
jb 0x140b8c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b8c07e
cmp eax, 0x7f
ja 0x140b8c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b8c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b8c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b8c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400083b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rbx, rdx
mov rsi, rcx
lea rdi, [rcx + 0x28]
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
nop
lea rcx, [rsi + 0x30]
mov rdx, rbx
call fcn.140008e3c
cmp qword [rsi + 0x40], 0
jne 0x1400084d2
mov ebx, 0x12c
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
and qword [rbp - 0x30], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftDDDiagnosticsHub
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400084bc
lea rcx, [rbp - 0x18]
call fcn.14000776c
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x18], rcx
test eax, eax
jne 0x1400084bc
and dword [rbp + 0x20], eax
mov dword [rbp + 0x30], 4
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x38]
xor r8d, r8d
lea rdx, str.CollectorService.IdleShutdownInSeconds
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400084bc
cmp dword [rbp + 0x38], 4
jne 0x1400084bc
mov ebx, dword [rbp + 0x20]
test ebx, ebx
jne 0x1400084bc
lea r8, str.Service_idle_shutdown_has_been_disabled
lea rdx, str.onecorecomdiagnostics_standardcollector_basecollection_standardcollector.service_standardcollectorhost.cpp
mov rcx, qword [0x140017848]
call fcn.14000b534
jmp 0x1400084c8
lea rcx, [rsi + 0x18]
mov edx, ebx
call fcn.140005d70
nop
lea rcx, [rbp - 0x18]
call fcn.14000776c
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
fstp xword [rbp + 0x3b]
jle 0x140025fe1

Function at 0x140008788
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs rcx, 0xcbf29ce484222325
test r8, r8
je 0x1400087b8
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x14000879a
mov rax, rcx
ret
Function at 0x140007478
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x30
and qword [rbp + 0x38], 0
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
je 0x14000749f
and qword [rdx], 0
mov r8, qword [rcx + 0x38]
lea r12, [0x1402b6800]
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov qword [rsp + 0x20], r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x140248bbc]
mov rdx, r12
lea rcx, [rbp + 0x38]
call fcn.1401bf0dc
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140007671
mov edx, 0xfffffff0
lea r8d, [rdx + 0x12]
call fcn.1401bf580
mov r9, qword [rbp + 0x38]
lea rcx, [0x1402b9800]
mov r8d, reloc.WS2_32.dll_recv
lea r15d, [r8 - 0xf]
mov edx, r15d
call fcn.1401c4260
mov rax, qword [0x1402b9800]
cmp rax, qword [0x1402b2a50]
jne 0x140007668
mov rax, qword [0x1402b9808]
cmp rax, qword [0x1402b2a58]
jne 0x140007668
mov rcx, qword [rbp + 0x38]
lea edx, [r15 - 0x15]
mov r8d, r15d
call fcn.1401bf580
mov r9, qword [rbp + 0x38]
lea r8d, [r15 + 3]
mov edx, r15d
lea rcx, [rbp + 0x30]
call fcn.1401c4260
cmp rax, 4
jne 0x140007668
mov ecx, dword [rbp + 0x30]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, qword [rbp + 0x38]
lea edx, [r15 - 5]
sub edx, eax
mov dword [rbp + 0x30], eax
mov r8d, r15d
call fcn.1401bf580
movsxd rdx, dword [rbp + 0x30]
mov eax, 0xffffffff
mov rcx, rdx
cmp rdx, rax
jae 0x1400075b5
cmp rax, rdx
je 0x1400075b5
mov eax, 0xffffffe7
cmp rdx, rax
jae 0x1400075b5
add rcx, 0x18
call fcn.1401c4328
mov edx, dword [rbp + 0x30]
jmp 0x1400075b7
xor eax, eax
movsxd rdx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call fcn.14008de4c
mov rdi, rax
test rbx, rbx
je 0x1400075d3
mov qword [rbx], rax
movsxd r8, dword [rbp + 0x30]
mov rdx, r15
mov r9, qword [rbp + 0x38]
mov rcx, rdi
call fcn.1401c4260
movsxd rcx, dword [rbp + 0x30]
cmp rax, rcx
jne 0x140007668
test rbx, rbx
jne 0x140007668
mov rcx, qword [rsi + 0x38]
lea rdx, str..msh
and qword [rbp + 0x40], rbx
xor r8d, r8d
call fcn.14000312c
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x1000
mov r8, rax
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x140249d00]
mov rdx, r12
lea rcx, [rbp + 0x40]
call fcn.1401bf0dc
mov r9, qword [rbp + 0x40]
test r9, r9
je 0x140007660
movsxd r8, dword [rbp + 0x30]
mov rdx, r15
mov rcx, rdi
call fcn.1401c3b30
mov rcx, qword [rbp + 0x40]
call fcn.1401bf1c4
mov rcx, rdi
call fcn.14008df34
mov rcx, qword [rbp + 0x38]
call fcn.1401bf1c4
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007828
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1402b1ed0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov edi, ecx
xor r9d, r9d
mov ecx, 0xbd0
xor r8d, r8d
xor edx, edx
call fcn.14008e120
xor edx, edx
lea rcx, str.Shcore.dll
mov r8d, 0x800
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rbx + 0x70], rax
test rax, rax
je 0x1400078a4
lea rdx, str.SetProcessDpiAwareness
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x78], rax
test rax, rax
jne 0x1400078a4
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [rbx + 0x70], 0
mov ecx, 0x18
mov dword [rbx + 0x994], 4
call fcn.14008e538
mov rcx, rax
mov qword [rbx], rax
call fcn.140096540
or edi, 0x118
mov qword [rbx + 0x30], rax
xor edx, edx
mov dword [rbx + 0x90], edi
mov r8d, 0x800
lea rcx, str.Ws2_32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
test rax, rax
je 0x140007910
lea rdx, str.GetHostNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140007957
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
lea rcx, [rbx + 0x94]
mov edx, 0xff
call qword [sym.imp.WS2_32.dll_gethostname]
test rdi, rdi
je 0x140007930
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
movzx edx, byte [rsp + 0x41]
mov ecx, edx
sub ecx, 0x80
je 0x1400079a8
cmp ecx, 0x7f
je 0x14000799f
mov dword [rbx + 0x9a4], edx
jmp 0x1400079b2
mov edx, 0x104
lea rcx, [rsp + 0x50]
call rax
test eax, eax
jne 0x140007922
and qword [rsp + 0x38], 0
lea rax, [rbx + 0x94]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
mov dword [rsp + 0x28], 0xff
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x140007922
and dword [rbx + 0x9a4], 0
jmp 0x1400079b2
mov dword [rbx + 0x9a4], 3
mov rax, qword [rbx]
mov edx, reloc.WS2_32.dll_recv
test rax, rax
lea rcx, [rax + 0x998]
mov rax, rbx
cmove rcx, rdx
mov qword [rcx], rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401bc130
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x14000c290
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, qword [0x1402b53c0]
xor eax, eax
and dword [rsp + 0x30], 0
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x34], rax
mov qword [rsp + 0x3c], rax
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f8a
mov dword [0x1402da99c], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f03
mov dword [0x1402da984], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f89
mov dword [0x1402da98c], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f8b
mov dword [0x1402daa10], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f01
mov dword [0x1402da978], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f88
mov dword [0x1402da990], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f86
mov dword [0x1402da998], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f83
mov dword [0x1402da9a0], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f85
mov dword [0x1402da988], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f82
mov dword [0x1402da980], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f84
mov dword [0x1402daa14], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f04
mov dword [0x1402da97c], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
mov edx, 0x7f02
mov dword [0x1402da994], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
call fcn.14000bcd8
lea rcx, [rsp + 0x30]
mov dword [0x1402da9a4], eax
mov dword [rsp + 0x30], 0x18
call qword [sym.imp.USER32.dll_GetCursorInfo]
mov rcx, qword [rsp + 0x38]
call fcn.14000bcd8
mov ecx, eax
call fcn.14000bc10
mov ecx, 0x1d
mov dword [reloc.WS2_32.dll_connect], eax
call fcn.1401c4328
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 5]
call fcn.14008de4c
mov ecx, 0x58
mov rbx, rax
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, 5
mov word [rbx], ax
call qword [sym.imp.WS2_32.dll_htons]
mov dl, byte [reloc.WS2_32.dll_connect]
xor r8d, r8d
mov byte [rbx + 4], dl
mov rcx, rdi
mov rdx, rbx
mov word [rbx + 2], ax
call fcn.1400948f4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenThread]
and qword [rsp + 0x28], 0
lea r8, [0x14000c15c]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
mov qword [0x1402b5390], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x60]
mov qword [0x1402b53b0], rax
add rsp, 0x50
pop rdi
ret
Function at 0x14000d7dc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [0x1402b5558], 0
mov rbp, r9
mov ebx, edx
mov rdi, rcx
je 0x14000d859
cmp edx, 2
jl 0x14000d843
movzx ecx, word [rcx]
call qword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 0xa
jne 0x14000d843
and qword [rsp + 0x28], 0
lea r8, [0x14000c8e0]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14000d843
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1402b5558]
mov r8d, ebx
mov rdx, rdi
call fcn.1400980e0
mov eax, ebx
jmp 0x14000d87e
xor esi, esi
jmp 0x14000d86c
add esi, eax
mov edx, ebx
sub edx, esi
movsxd rcx, esi
add rcx, rdi
mov r9, rbp
lea r8, [0x140001884]
call fcn.14000cf7c
test eax, eax
jne 0x14000d85d
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000db1c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x7580
call fcn.1401bc6a0
sub rsp, rax
mov rax, qword [0x1402b1ed0]
xor rax, rsp
mov qword [rsp + 0x7570], rax
mov rsi, qword [rcx]
xor r15d, r15d
mov rbp, qword [rcx + 8]
mov edi, r15d
mov ebx, r15d
mov dword [rsp + 0x30], r15d
jmp 0x14000dbde
mov rcx, qword [0x1402b2a70]
lea rdx, [rsp + 0x40]
mov r8d, 0x7530
movsxd rax, ebx
sub r8d, ebx
mov qword [rsp + 0x20], r15
add rdx, rax
lea r9, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000dbed
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14000dbed
cmp dword [0x1402b2a64], r15d
jne 0x14000dbed
add ebx, eax
mov r14d, ebx
jmp 0x14000dbaf
add edi, eax
mov edx, ebx
movsxd rax, edi
lea rcx, [rsp + 0x40]
sub edx, edi
add rcx, rax
mov r9, rbp
mov r8, rsi
call fcn.14000cf7c
test eax, eax
jne 0x14000dbad
cmp edi, ebx
mov eax, r15d
cmove ebx, r15d
cmp edi, r14d
cmovne eax, edi
mov edi, eax
cmp dword [0x1402b2a64], r15d
je 0x14000db66
jmp 0x14000dbf7
mov dword [0x1402b2a64], 1
xor eax, eax
mov rcx, qword [rsp + 0x7570]
xor rcx, rsp
call fcn.1401bc130
lea r11, [rsp + 0x7580]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14000e790
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, r9
mov r8, rcx
test rdx, rdx
je 0x14000e7eb
cmp dword [0x1402b53d8], 1
jne 0x14000e7ba
cmp dword [0x1402b2a64], 0
jne 0x14000e7ba
xor eax, eax
jmp 0x14000e85d
mov eax, dword [rsp + 0x60]
lea r9, [0x140001884]
and dword [0x1402b53d4], 0
mov dword [0x1402b2a68], eax
mov dword [reloc.WS2_32.dll_accept], 5
mov qword [rsp + 0x60], rdi
add rsp, 0x30
pop rdi
jmp fcn.14000e588
xor edx, edx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 0x14]
call fcn.14008e120
cmp dword [0x1402b53d8], 1
lea rcx, [0x140001884]
mov dword [0x1402b5404], 1
mov qword [rax], rcx
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
jne 0x14000e839
cmp dword [0x1402b2a64], 0
jne 0x14000e839
mov rcx, rax
call fcn.1401c3c8c
jmp 0x14000e7b3
and qword [rsp + 0x28], 0
lea r8, [fcn.14000e38c]
and dword [rsp + 0x20], 0
mov r9, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x14000e864
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x1402b5558]
mov dword [0x1402b2a64], 1
test rbx, rbx
je 0x14000e8a3
mov rcx, rbx
call fcn.14008e07c
test eax, eax
je 0x14000e89b
mov rcx, qword [rbx + 0x50]
mov edx, 0x42b
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
and qword [0x1402b5558], 0
add rsp, 0x20
pop rbx
ret

Function at 0x14000ea4c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r15
mov r10d, dword [0x1402b5420]
mov ebp, edx
mov r11d, dword [0x1402b5410]
mov eax, r10d
cdq
xor r13d, r13d
idiv r11d
mov r15, r8
mov r12d, ecx
mov r9d, r13d
mov ebx, edx
test edx, edx
je 0x14000ea97
mov r8d, r11d
sub r8d, edx
add r8d, r10d
jmp 0x14000ea9a
mov r8d, r10d
sub r8d, ebp
sub r8d, dword [0x1402b53ec]
test ebx, ebx
je 0x14000eab2
mov eax, r11d
sub eax, ebx
add eax, r10d
jmp 0x14000eab5
mov eax, r10d
sub eax, ebp
cmp r8d, eax
jge 0x14000eb43
mov eax, dword [0x1402b53dc]
cdq
idiv r11d
test edx, edx
je 0x14000eadb
mov eax, r11d
sub eax, edx
add eax, dword [0x1402b53dc]
jmp 0x14000eae1
mov eax, dword [0x1402b53dc]
imul eax, r8d
mov rdi, r13
add eax, r12d
imul eax, dword [0x1402b5430]
movsxd rdx, eax
mov eax, dword [0x1402b5430]
add rdx, r15
imul eax, r11d
movsxd rcx, eax
sar rcx, 2
lea rax, [rdx + rcx*4]
lea rcx, [rcx*4 + 3]
shr rcx, 2
cmp rdx, rax
cmova rcx, r13
test rcx, rcx
je 0x14000eb3b
imul r9d, r9d, 0x1000193
inc rdi
xor r9d, dword [rdx]
lea rdx, [rdx + 4]
cmp rdi, rcx
jb 0x14000eb25
inc r8d
jmp 0x14000eaa4
mov rbx, qword [rsp + 0x18]
mov eax, r9d
mov rbp, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
pop r15
pop r13
ret
Function at 0x1400101c4
Capabilities:
Create thread
Shutdown system

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1402b1ed0]
xor rax, rsp
mov qword [rbp - 8], rax
xor esi, esi
mov r14d, edx
mov ebx, ecx
test ecx, ecx
jne 0x1400101fb
xor eax, eax
jmp 0x140010385
cmp ebx, 6
jne 0x14001021c
lea ecx, [rbx - 4]
call qword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
lea ecx, [rbx - 2]
call qword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov eax, 1
jmp 0x140010385
cmp ebx, 7
jne 0x140010226
lea ecx, [rbx - 6]
jmp 0x14001020c
cmp ebx, 8
jne 0x140010236
or ecx, 0xffffffff
call qword [sym.imp.USER32.dll_MessageBeep]
jmp 0x140010212
cmp ebx, 9
jne 0x14001026c
mov qword [rsp + 0x28], rsi
lea r8, [0x14000c8e0]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140010212
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140010212
cmp ebx, 5
jg 0x1400101f4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 0x20]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400101f4
lea r8, [rbp - 0x14]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rbp - 0x20]
lea r8, [rbp - 0x18]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov dword [rbp - 0x18], 1
mov dword [rbp - 0xc], 2
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400102e8
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400101f4
sub ebx, 1
je 0x140010337
sub ebx, 1
je 0x14001031f
sub ebx, 1
je 0x140010315
sub ebx, 1
je 0x14001030e
cmp ebx, 1
jne 0x140010379
xor ecx, ecx
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_SetSystemPowerState]
jmp 0x140010350
mov ecx, 1
jmp 0x140010303
mov dword [rsp + 0x20], 1
jmp 0x140010323
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
lea r9d, [rdx + 1]
lea r8d, [rdx + 0x1e]
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
jmp 0x140010350
mov edx, 0x80000000
test r14d, r14d
je 0x140010348
mov ecx, 4
jmp 0x14001034a
xor ecx, ecx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x140010379
mov rcx, qword [rbp - 0x20]
lea r8, [rbp - 0x18]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rbp - 0xc], esi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, 1
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401bc130
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret