joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008a830
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400ca080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14008a8c5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14008a926
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140064d80
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14009e200
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14008a9e1
sub ecx, 1
je 0x14008aa54
sub ecx, 1
je 0x14008a990
cmp ecx, 1
je 0x14008a973
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400b4ea0]
call fcn.140064d80
jmp 0x14008aa54
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14008a560
test eax, eax
je 0x14008aa54
jmp 0x14008a8fa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14008aa54
sub rax, rsi
cmp rax, rbp
jae 0x14008aa54
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140064f00
jmp 0x14008aa54
cmp r8d, 4
jle 0x14008aa54
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14008aa54
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140064ca0
mov esi, eax
test eax, eax
je 0x14008aa33
mov edx, 5
mov rcx, rbx
call fcn.14008b520
mov eax, esi
jmp 0x14008a8fa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140073780
mov rcx, r14
call fcn.140073a60
test eax, eax
je 0x14008a8f8
mov edx, 5
mov rcx, rbx
call fcn.14008b520
mov eax, Ordinal_46
jmp 0x14008a8fa
Function at 0x14009d7f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14009d832
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14009d879
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14009d8d2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14009d890
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14009d913
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400afe82]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400afe83]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14009d8e0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14009e8c4
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x14001ff10
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14003a05f]
call fcn.140011a6e
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001ff67
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140020073
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14002000c
cmp qword [rbp + 0x28], 0
jle 0x14002000c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001ffac
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400119d3
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x140020062
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140020062
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14001159b
Capabilities:
Terminate process

Disassembly:
jmp 0x140023150
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400116f9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140023c80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140023ca0
xor al, al
jmp 0x140023d21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140023cb3
xor al, al
jmp 0x140023d21
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 0x140023cdd
xor al, al
jmp 0x140023d21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140023cf1
xor al, al
jmp 0x140023d21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140023d03
xor al, al
jmp 0x140023d21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140023d1f
xor al, al
jmp 0x140023d21
mov al, 1
add rsp, 0x38
ret
Function at 0x140011a4b
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001b100
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x14003a05f]
call fcn.140011a6e
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x14001b166
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001b16d
mov al, 1
jmp 0x14001b2bd
call fcn.1400112da
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.1400112da
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140011807
movzx eax, al
test eax, eax
je 0x14001b1be
xor al, al
jmp 0x14001b2bd
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x14001b223
cmp dword [rbp + 0x154], 1
je 0x14001b22e
cmp dword [rbp + 0x154], 3
je 0x14001b2ac
jmp 0x14001b2bb
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14001b27e
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14001b27e
xor al, al
jmp 0x14001b2bd
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001b299
mov dword [rbp + 0x154], 1
jmp 0x14001b2a3
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14001b2bd
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001b2bd
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002b770]
call fcn.14001187f
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1400114d8
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140004f98
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140004dc4

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14000a008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000a008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000a008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x140005894
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x14004ba88]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x30]
mov qword [r8], r15
lea rdx, [rsp + 0x30]
sub rcx, rax
mov r14, r8
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140005905
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140005905
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x1400058e3
test r9, r9
lea rax, [rdx - 2]
lea r8, [0x14003bcb8]
cmovne rax, rdx
lea rcx, [rsp + 0x30]
mov word [rax], r15w
call fcn.14000383c
mov ebx, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, ebx
xor edx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14000597b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140005a44
mov edx, 0xc9
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003bbdc]
call fcn.1400051a8
mov esi, eax
jmp 0x140005a47
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r15d
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.140005700
mov esi, eax
test eax, eax
jns 0x1400059b8
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003bbdc]
mov r9d, eax
mov edx, 0xcf
call fcn.140005170
jmp 0x140005a47
lea r8, [0x14003bcc0]
lea rcx, [rsp + 0x30]
call fcn.14000383c
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x1400059f0
mov edx, 0xd5
jmp 0x140005961
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140005700
mov esi, eax
test eax, eax
jns 0x140005a28
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003bbdc]
mov r9d, eax
mov edx, 0xd7
call fcn.140005170
mov rcx, rbx
call fcn.140005248
jmp 0x140005a47
mov rcx, rbx
call fcn.140005248
movsxd rcx, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x24]
shl rcx, 0x1f
or rax, rcx
mov qword [r14], rax
mov esi, r15d
test rdi, rdi
je 0x140005a54
mov rcx, rdi
call fcn.140005248
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140034200
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140012fb8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14004ba88]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov dword [rbp - 0x29], 0x1001001
lea rax, [rbp - 0x39]
mov dword [rbp - 0x25], 0x5b04b14
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetControlWMISecurity
lea rax, [rbp - 0x31]
mov dword [rbp - 0x21], 0x50
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], 1
mov dword [rbp - 0x1d], 0x5000000
mov dword [rbp - 0x19], 0xc05c
mov dword [rbp - 0x15], 0x1000000
mov dword [rbp - 0x11], 0x4014
mov dword [rbp - 0xd], 0x3000000
mov qword [rbp - 9], 0x4034
mov dword [rbp - 1], 0x2002002
mov dword [rbp + 3], 0x20
mov dword [rbp + 7], 0x1001
mov dword [rbp + 0xb], 0x1000000
mov dword [rbp + 0xf], 0x1004014
mov dword [rbp + 0x13], 0x8018
mov dword [rbp + 0x17], 0xd00d
mov dword [rbp + 0x1b], 0x2002
mov qword [rbp + 0x1f], 0x20021001
mov dword [rbp + 0x27], ebx
mov dword [rbp + 0x2b], 0x30130100
mov qword [rbp + 0x2f], 0x40040000
mov qword [rbp + 0x37], 0x200200
mov dword [rbp - 0x39], ebx
mov qword [rbp - 0x31], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x1400130d7
mov dword [rsp + 0x20], 0x167
lea rdx, str._dropAccessPermissionsToTraceProvider:_Failed_to_create_key
jmp 0x14001311b
mov rcx, qword [rbp - 0x31]
lea rax, [rbp - 0x29]
mov dword [rsp + 0x28], 0x68
lea rdx, str.c688cf83_9945_5ff6_0e1e_1ff1f8a2ec9a
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14001313b
mov dword [rsp + 0x20], 0x175
lea rdx, str._dropAccessPermissionsToTraceProvider:_Failed_to_set_value
movzx ecx, ax
lea r9, str.OctBrokerSvc::_dropAccessPermissionsToTraceProvider
or ecx, 0x80070000
mov r8d, 1
test eax, eax
cmovle ecx, eax
call fcn.140013c08
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140013150
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140034200
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rbp
ret
Function at 0x1400166b8
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], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rdx
mov rbp, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [r9 + rdx]
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
inc r9
cmp r9, 8
jb 0x1400166e4
mov rdx, qword [rbp + 0x30]
and rdx, r8
add rdx, rdx
mov r8, qword [rbp + 0x18]
mov rax, qword [r8 + rdx*8]
lea rsi, [rbp + 8]
mov rbx, qword [rsi]
cmp qword [r8 + rdx*8], rbx
jne 0x140016727
mov rcx, rbx
jmp 0x14001672f
mov rcx, qword [r8 + rdx*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140016747
mov rcx, qword [r14]
cmp qword [rax + 0x10], rcx
je 0x140016742
mov rax, qword [rax]
jmp 0x14001671c
mov rcx, rax
jmp 0x14001674d
mov rax, rbx
mov rcx, rbx
cmp rcx, rbx
jne 0x1400167d1
mov rbx, qword [rbx]
movabs rax, 0x666666666666666
cmp qword [rsi + 8], rax
jne 0x140016779
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
int3
mov rdi, qword [rbx + 8]
mov qword [rsp + 0x20], rsi
and qword [rsp + 0x28], 0
mov ecx, 0x28
call fcn.1400343e0
mov rcx, qword [r14]
mov qword [rax + 0x10], rcx
and qword [rax + 0x18], 0
and qword [rax + 0x20], 0
mov qword [rax], rbx
mov qword [rax + 8], rdi
inc qword [rsi + 8]
mov qword [rbx + 8], rax
mov qword [rdi], rax
mov rax, qword [rsi]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140017a78
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov r9, rcx
mov rbx, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r8 + r10 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 8
jb 0x140016a0d
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140016a65
cmp qword [rcx + rdx*8], r8
jne 0x140016a5a
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x140016a5e
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140016a72
cmp qword [rcx + rdx*8], r8
jne 0x140016a72
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
lea rcx, [r9 + 8]
mov rdx, rbx
call fcn.140016fcc
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140017a78
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r11]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x140017aa7
mov r8, qword [r9 + 0x30]
and r8, rcx
mov r10, r8
add r10, r10
mov rcx, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [rcx + r10*8]
je 0x140017b1c
mov rdi, qword [rcx + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rcx + r10*8]
je 0x140017b1c
mov rdi, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
cmp qword [r11], rax
jne 0x140017ae9
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [r9 + 8]
call fcn.140016fcc
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x140017bb3
mov rax, qword [rbx]
cmp rdi, rax
je 0x140017b51
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x140017b71
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140017ba0
cmp rax, rdi
jne 0x140017b7c
mov qword [rdx + r8*8], rbx
jmp 0x140017ba0
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140017ba0
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rcx, r9
call fcn.140017bc8
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140027dd0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
push r15
cmp qword [r8 + 0x18], 8
mov r14, rdx
mov r11, qword [r8 + 0x10]
mov r10, r8
jb 0x140027dfb
mov r10, qword [r8]
lea rdx, [r11 + r11]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x140027e2e
movzx eax, byte [rcx + r10]
movabs rbx, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rbx
cmp rcx, rdx
jb 0x140027e10
and r9, qword [0x14004c6e0]
mov r15, qword [0x14004c6c8]
add r9, r9
mov r10, qword [0x14004c6b8]
mov rax, qword [r15 + r9*8]
cmp qword [r15 + r9*8], r10
jne 0x140027e55
mov rcx, r10
jmp 0x140027e5d
mov rcx, qword [r15 + r9*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140027f17
cmp qword [r8 + 0x18], 8
lea rcx, [rax + 0x10]
mov rdx, r8
jb 0x140027e77
mov rdx, qword [r8]
mov rbp, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x10]
cmp rbp, 8
jb 0x140027e88
mov rcx, qword [rcx]
cmp rbx, r11
jne 0x140027ebe
test rbx, rbx
je 0x140027ec3
movzx edi, word [rcx]
movzx esi, word [rdx]
cmp di, si
jb 0x140027ebe
sub rcx, rdx
cmp di, si
ja 0x140027ebe
cmp rbx, 1
je 0x140027ec3
add rdx, 2
dec rbx
movzx edi, word [rdx + rcx]
movzx esi, word [rdx]
cmp di, si
jae 0x140027ea3
mov rax, qword [rax]
jmp 0x140027e4a
lea rcx, [rax + 0x10]
cmp rbp, 8
jb 0x140027ed0
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x140027eda
mov r8, qword [r8]
test r11, r11
je 0x140027f14
movzx edx, word [r8]
movzx r9d, word [rcx]
cmp dx, r9w
jb 0x140027f17
sub r8, rcx
cmp dx, r9w
ja 0x140027f17
cmp r11, 1
je 0x140027f14
add rcx, 2
dec r11
movzx edx, word [rcx + r8]
movzx r9d, word [rcx]
cmp dx, r9w
jae 0x140027ef4
jmp 0x140027f17
mov r10, rax
mov rbx, qword [rsp + 0x18]
mov rax, r14
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov qword [r14], r10
pop r15
pop r14
ret