joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800519b0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [0x18015b498]
test rax, rax
jne 0x1800519ed
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800d12f0
add rsp, 0xb8
ret
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x40], rcx
xor eax, eax
mov qword [rsp + 0x50], 2
mov dword [rsp + 0x30], 0xe5f7e7cc
mov dword [rsp + 0x34], 0xe9e4efe9
mov word [rsp + 0x38], 0x100
nop dword [rax]
lea ecx, [rax - 0x7f]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 8
jb 0x180051a20
mov rcx, qword [0x18015b4b0]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
lea rdx, [rsp + 0x30]
mov r9d, recv
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov byte [rsp + 0x39], 0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rax, qword [rsp + 0x60]
mov qword [0x18015b888], rax
mov rax, qword [rsp + 0x68]
mov qword [0x18015b740], rax
mov al, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800d12f0
add rsp, 0xb8
ret
Function at 0x180053d20
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
mov dword [rsp + 0x50], 3
movsxd rcx, dword [0x180146b98]
mov ebx, edx
add rcx, qword [0x18015b888]
call fcn.18006a6a0
add rax, 0x2c80
mov qword [rsp + 0x78], rdi
lea edx, [rbx + rbx*2]
mov qword [rsp + 0x80], Ordinal_217
shl edx, 6
add rax, rdx
mov dword [rsp + 0x30], 0xe5f7e7cc
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
xor eax, eax
mov dword [rsp + 0x34], 0xe9e4efe9
mov word [rsp + 0x38], 0x100
nop word [rax + rax]
lea ecx, [rax - 0x7f]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 8
jb 0x180053db0
mov rcx, qword [0x18015b4b0]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
lea rdx, [rsp + 0x30]
mov r9d, recv
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov byte [rsp + 0x39], 0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800d12f0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret

Function at 0x180053e20
Capabilities:
Encode data using xor
Set registry value

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov ebx, ecx
mov rcx, qword [0x18015b750]
add rcx, 0x78
call fcn.18006a6a0
test rax, rax
je 0x180053f4d
cmp qword [0x18015b750], 0
je 0x180053f4d
mov qword [rsp + 0xc8], rdi
lea ecx, [rbx + rbx*8]
shl ecx, 3
movsxd rdi, ecx
add rdi, rax
mov dword [rsp + 0x50], 3
mov qword [rsp + 0x80], 4
mov dword [rsp + 0x30], 0xe5f7e7cc
mov dword [rsp + 0x34], 0xe9e4efe9
lea rax, [rdi + 0xa64]
mov word [rsp + 0x38], 0x100
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
xor eax, eax
nop dword [rax + rax]
lea ecx, [rax - 0x7f]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 8
jb 0x180053ed0
mov rcx, qword [0x18015b4b0]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
lea rdx, [rsp + 0x30]
mov r9d, recv
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov byte [rsp + 0x39], 0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [rdi + 0xa60]
xor eax, dword [rsp + 0xa0]
lea rcx, [rdi + 0xa60]
lea ebx, [rax + 2]
imul ebx, eax
call fcn.18006a910
mov rdi, qword [rsp + 0xc8]
mov ecx, ebx
shr ecx, 8
movsx ecx, cl
movsx eax, al
xor eax, ecx
movsx ecx, bl
xor eax, ecx
jmp 0x180053f4f
xor eax, eax
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1800d12f0
add rsp, 0xb0
pop rbx
ret

Function at 0x180053fa0
Capabilities:
Set registry value

Disassembly:
mov rax, rcx
movsxd rcx, dword [0x18011d768]
add rcx, rax
jmp fcn.18006a910

Function at 0x180053fc0
Capabilities:
Set registry value

Disassembly:
mov rax, rcx
movsxd rcx, dword [0x18013dd58]
add rcx, rax
jmp fcn.18006a840
Function at 0x180057ea0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov eax, dword [0x18015b818]
mov r11d, edx
mov esi, dword [reloc.WS2_32.dll_getpeername]
cdq
sub eax, edx
mov r8d, ecx
sar eax, 1
xor ecx, ecx
mov edi, eax
mov r10d, ecx
mov eax, dword [0x18015b758]
mov r9d, ecx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
test r8d, r8d
je 0x180057f2d
cmp r8d, edi
jle 0x180057f19
sub r8d, edi
mov eax, r8d
cdq
idiv esi
lea edx, [rdi + rdi]
mov r10d, eax
lea r8d, [rax + rdi]
cmp r8d, edx
jle 0x180057f2d
mov r10d, ecx
jmp 0x180057f2d
jge 0x180057f2d
sub r8d, edi
mov eax, r8d
cdq
idiv esi
mov r10d, eax
add eax, edi
cmovs r10d, ecx
test r11d, r11d
je 0x180057f68
cmp r11d, ebx
jle 0x180057f54
sub r11d, ebx
mov eax, r11d
cdq
idiv esi
lea edx, [rbx + rbx]
mov r9d, eax
lea r8d, [rax + rbx]
cmp r8d, edx
jle 0x180057f68
mov r9d, ecx
jmp 0x180057f68
jge 0x180057f68
sub r11d, ebx
mov eax, r11d
cdq
idiv esi
mov r9d, eax
add eax, ebx
cmovs r9d, ecx
test r10d, r10d
je 0x180058002
test r9d, r9d
je 0x180058002
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 5
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x88], r10d
mov dword [rsp + 0x8c], r9d
mov dword [rsp + 0x90], ecx
mov dword [rsp + 0x30], 0xe5f7e7cc
mov dword [rsp + 0x34], 0xe9e4efe9
mov word [rsp + 0x38], 0x100
nop word [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x180057fc0
mov rcx, qword [0x18015b4b0]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
lea rdx, [rsp + 0x30]
mov r9d, recv
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov byte [rsp + 0x39], 0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800d12f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180062b90
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov ebx, r8d
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], al
mov dword [rsp + 0x20], 1
lea ecx, [rax + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x180062c47
mov ecx, dword [rsp + 0x48]
cmp ebx, ecx
jb 0x180062c14
add ecx, dword [rsp + 0x50]
cmp ebx, ecx
jbe 0x180062c24
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32Next]
jmp 0x180062c00
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180062c30
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.180047020
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1800d12f0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x180062c80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rbp - 0x10], rax
movdqa xmm0, xmmword [0x1800f5da0]
xor eax, eax
mov qword [rbp - 0x18], rax
mov edx, eax
mov dword [rbp - 0x20], eax
mov rbx, rcx
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 0xfcc7fcfe
mov dword [rbp - 0x2c], 0xfcf6f3e7
mov word [rbp - 0x28], 0x100
nop dword [rax]
lea ecx, [rdx - 0x7f]
xor byte [rbp + rdx - 0x40], cl
inc rdx
cmp rdx, 0x18
jb 0x180062cd0
mov byte [rbp - 0x27], al
mov dword [rbp - 0x50], 0xe8e7f6ef
mov dword [rbp - 0x4c], 0xe4e3a8e9
mov word [rbp - 0x48], 0xe5
mov byte [rbp - 0x46], 1
nop dword [rax + rax]
lea ecx, [rax - 0x7f]
xor byte [rbp + rax - 0x50], cl
inc rax
cmp rax, 9
jb 0x180062d00
lea rcx, [rbp - 0x50]
mov byte [rbp - 0x46], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 8
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x18]
mov rcx, rbx
lea edx, [r9 + 1]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800d12f0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rbp
ret
Function at 0x180064040
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x23], 0
je 0x180064063
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x22
jb 0x180064050
mov byte [rcx + 0x23], 0
mov rax, rcx
ret

Function at 0x1800641e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x180064203
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x1800641f0
mov byte [rcx + 9], 0
ret

Function at 0x180064210
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xb], 0
je 0x180064233
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa
jb 0x180064220
mov byte [rcx + 0xb], 0
ret

Function at 0x180064240
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x180064263
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x180064250
mov byte [rcx + 0xd], 0
ret

Function at 0x180064270
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x180064293
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x180064280
mov byte [rcx + 8], 0
ret

Function at 0x1800642a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x18], 0
je 0x1800642c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x17
jb 0x1800642b0
mov byte [rcx + 0x18], 0
ret

Function at 0x1800642d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x12], 0
je 0x1800642f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x11
jb 0x1800642e0
mov byte [rcx + 0x12], 0
ret

Function at 0x180064300
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe], 0
je 0x180064323
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xd
jb 0x180064310
mov byte [rcx + 0xe], 0
ret

Function at 0x180064330
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x16], 0
je 0x180064353
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x15
jb 0x180064340
mov byte [rcx + 0x16], 0
ret

Function at 0x180064360
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1a], 0
je 0x180064383
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x19
jb 0x180064370
mov byte [rcx + 0x1a], 0
ret

Function at 0x180064390
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1c], 0
je 0x1800643b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1b
jb 0x1800643a0
mov byte [rcx + 0x1c], 0
ret

Function at 0x1800643c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x17], 0
je 0x1800643e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x16
jb 0x1800643d0
mov byte [rcx + 0x17], 0
ret
Function at 0x1800643f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x15], 0
je 0x180064413
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x14
jb 0x180064400
mov byte [rcx + 0x15], 0
ret

Function at 0x180064420
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
je 0x180064443
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x10
jb 0x180064430
mov byte [rcx + 0x11], 0
ret

Function at 0x180064450
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x180064473
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 9
jb 0x180064460
mov byte [rcx + 0xa], 0
ret

Function at 0x180064480
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
je 0x1800644a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 6
jb 0x180064490
mov byte [rcx + 7], 0
ret

Function at 0x1800644b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x1800644d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x1800644c0
mov byte [rcx + 4], 0
ret

Function at 0x1800644f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xf], 0
je 0x180064513
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xe
jb 0x180064500
mov byte [rcx + 0xf], 0
ret

Function at 0x180064520
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x14], 0
je 0x180064543
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x13
jb 0x180064530
mov byte [rcx + 0x14], 0
ret

Function at 0x180064550
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x19], 0
je 0x180064573
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x18
jb 0x180064560
mov byte [rcx + 0x19], 0
ret

Function at 0x180064580
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
je 0x1800645a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xb
jb 0x180064590
mov byte [rcx + 0xc], 0
ret

Function at 0x1800645b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x13], 0
je 0x1800645d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x12
jb 0x1800645c0
mov byte [rcx + 0x13], 0
ret

Function at 0x1800645e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x10], 0
je 0x180064603
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x1800645f0
mov byte [rcx + 0x10], 0
ret

Function at 0x180064610
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x180064633
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x7f]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x180064620
mov byte [rcx + 5], 0
ret
Function at 0x1800647b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rcx, rdx
call fcn.1800435c0
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1800647f9
mov rsi, qword [rbx]
lea rbp, [rdx + rsi]
mov rdi, rsi
jmp 0x180064803
lea rbp, [rbx + rdx]
mov rdi, rbx
mov rsi, rbx
cmp rdi, rbp
je 0x180064828
sub rsi, rdi
nop dword [rax + rax]
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rdi], al
inc rdi
cmp rdi, rbp
jne 0x180064810
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180064835
mov r8, qword [rbx]
movabs r9, 0xcbf29ce484222325
xor r15d, r15d
mov ecx, r15d
test rdx, rdx
je 0x180064874
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x180064860
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.180072490
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x18006489c
cmp rdi, qword [r14 + 8]
je 0x18006489c
mov rdi, qword [rdi + 0x30]
jmp 0x180064963
mov rdi, qword [r14 + 0x48]
sub rdi, qword [r14 + 0x40]
sar rdi, 6
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.18006cf80
mov rcx, qword [rax]
mov qword [rcx + 0x30], rdi
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov rsi, qword [r14 + 0x48]
cmp rsi, qword [r14 + 0x50]
je 0x18006490f
mov rdx, rbx
mov rcx, rsi
call fcn.180066710
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x30], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
add qword [r14 + 0x48], 0x40
jmp 0x180064928
lea r9, [rsp + 0x20]
mov r8, rbx
mov rdx, rsi
lea rcx, [r14 + 0x40]
call fcn.18006c000
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x180064963
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006495e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006495e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d15ac
shl rdi, 6
add rdi, qword [r14 + 0x40]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800649a1
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18006499c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800649d5
mov rcx, r8
call fcn.1800d15ac
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rax, [rdi + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800d12f0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1800649e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x98], rdx
mov rcx, rdx
call fcn.1800435c0
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180064a34
mov rsi, qword [rbx]
lea rbp, [rdx + rsi]
mov rdi, rsi
jmp 0x180064a3e
lea rbp, [rdx + rbx]
mov rdi, rbx
mov rsi, rbx
cmp rdi, rbp
je 0x180064a5e
sub rsi, rdi
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rdi], al
inc rdi
cmp rdi, rbp
jne 0x180064a46
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180064a6b
mov r8, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x180064aa4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x180064a90
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.180072490
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x180064acc
cmp rcx, qword [r14 + 8]
je 0x180064acc
mov rsi, qword [rcx + 0x30]
jmp 0x180064b86
mov rcx, qword [r14 + 0x48]
sub rcx, qword [r14 + 0x40]
movabs rax, 0x8888888888888889
imul rcx
lea rsi, [rcx + rdx]
sar rsi, 6
mov rax, rsi
shr rax, 0x3f
add rsi, rax
mov r8, rbx
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.18006cf80
mov rcx, qword [rax]
mov qword [rcx + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.180067e90
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
mov rdi, qword [r14 + 0x48]
cmp rdi, qword [r14 + 0x50]
je 0x180064b5d
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov rcx, rdi
call fcn.180066710
nop
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x30]
call fcn.180076c90
nop
add qword [r14 + 0x48], 0x78
jmp 0x180064b72
lea r9, [rsp + 0x30]
mov r8, rbx
mov rdx, rdi
lea rcx, [r14 + 0x40]
call fcn.18006c1c0
nop
lea rcx, [rsp + 0x70]
call fcn.180068fa0
lea rcx, [rsp + 0x30]
call fcn.180044aa0
imul rdi, rsi, 0x78
add rdi, qword [r14 + 0x40]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180064bc4
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180064bbf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180064c03
mov rcx, r8
call fcn.1800d15ac
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rax, [rdi + 0x20]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800d12f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180065010
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x180065047
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x180065068
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18006506a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1800650c3
test ecx, ecx
jle 0x1800650a3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1800650c3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800650c3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1800650f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180065112
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180065128
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180065144
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180065146
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x180065180
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180065227
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x1800651bb
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x180065201
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x180065240
cmp rbx, rax
ja 0x1800651d0
mov r8, rdi
test rdi, rdi
je 0x180065227
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x18006522a