joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400133a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x50
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r12, r9
mov dword [rax - 0x38], 0x1c
lea r8, [rax - 0x38]
mov word [rax - 0x30], bx
lea rdx, [rax - 0x30]
cmp dword [rsp + 0x80], ebx
je 0x1400133e4
call qword [sym.imp.WS2_32.dll_getsockname]
jmp 0x1400133ea
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x1400133f2
xor eax, eax
jmp 0x14001346d
movzx ecx, word [rsp + 0x2a]
mov qword [rsp + 0x60], rbp
movzx ebp, word [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_ntohs]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x2c]
mov word [r12], ax
movzx eax, word [rsp + 0x28]
movsxd r9, dword [rdi]
cmp eax, 2
mov r8, rsi
cmovne rdx, rcx
mov ecx, eax
call sub.WS2_32.dll_inet_ntop
test rax, rax
je 0x140013448
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, 1
inc eax
mov dword [rdi], eax
jmp 0x140013466
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x57
jne 0x140013466
mov ecx, 0x2e
mov eax, reloc.WS2_32.dll_recv
cmp bp, 2
cmove ecx, eax
mov dword [rdi], ecx
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret

Function at 0x1400134b0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, rcx
mov rcx, qword [rdx + 8]
mov rbx, rdx
xor edx, edx
mov edi, r9d
mov rsi, r8
test rcx, rcx
je 0x140013504
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], 0x80
lea r9d, [rdx + 1]
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rdx
mov r8d, 0x80000000
mov rdx, rax
call fcn.1400130d0
jmp 0x14001352e
mov qword [rsp + 0x30], rdx
xor r9d, r9d
mov rcx, rax
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x14001354d
call fcn.140011100
test eax, eax
jns 0x140013550
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov qword [rbx], rax
mov rcx, qword [rbx]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x58], eax
cmp eax, 0xffffffff
jne 0x140013570
call fcn.140011100
test eax, eax
js 0x1400135c2
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400135b0
cmp rax, rdi
ja 0x1400135b0
mov rdx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 2
call fcn.1400131d0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
test rax, rax
mov ecx, 0x800700df
mov edx, 0x800703ee
cmove ecx, edx
mov eax, ecx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140014110
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test r8d, r8d
je 0x140014190
mov rdx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x28]
mov r8d, 0x30
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x14001420b
cmp word [rdi], 2
mov rcx, qword [rbx + 0x28]
mov eax, reloc.WS2_32.dll_recv
mov r8d, 0x1c
mov rdx, rdi
cmove r8d, eax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140014180
cmp eax, 0xffffffff
jne 0x14001420b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14001420b
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp word [rdx], 2
mov rcx, qword [rcx + 0x28]
mov eax, reloc.WS2_32.dll_recv
mov r8d, 0x1c
cmove r8d, eax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14001420b
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rbx + 0x28]
mov r8d, 0x23
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x14001420b
mov dword [rbx + 0x70], 1
xor ecx, ecx
mov dword [rbx + 0x74], 1
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x120]
cmp eax, 2
jne 0x140014180
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x4c7
test eax, eax
cmove eax, ecx
mov ecx, eax
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140014350
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x214]
mov rbx, rcx
test eax, eax
jne 0x14001444e
nop dword [rax + rax]
mov r8d, dword [rbx + 0x44]
mov rdx, qword [rbx + 0x88]
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test eax, eax
jle 0x1400143f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r9, qword [rbx]
mov rdx, qword [rbx + 0x88]
mov r8d, edi
mov rcx, rbx
call qword [r9 + 0x140]
cmp eax, 2
jne 0x140014400
mov rdx, qword [rbx + 0x38]
lea rcx, str._C_CNNID:__Iu__OnReceive___event_return_HR_ERROR__connection_will_be_closed___n
call fcn.140013b60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x4c7
test eax, eax
cmove eax, ecx
mov dword [rbx + 0x18], 1
mov dword [rbx + 0x1c], 4
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x24], 1
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp eax, 0xffffffff
je 0x140014441
test eax, eax
je 0x14001441e
mov eax, dword [rbx + 0x214]
test eax, eax
je 0x140014370
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rbx + 0x18], 1
mov qword [rbx + 0x1c], 5
mov dword [rbx + 0x24], 1
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400143d2
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140014510
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov eax, dword [rdx + 0x30]
mov r12, r8
mov rdi, rdx
sub eax, dword [rdx + 0x28]
mov rsi, rcx
je 0x1400145cf
nop
mov r8d, dword [rsi + 0x44]
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rsi + 0x28]
cmp eax, r8d
cmovl r8d, eax
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov ebp, eax
test eax, eax
jle 0x1400145be
lea rcx, [rsi + 0x1b0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rsi + 0x210], ebp
lea rcx, [rsi + 0x1b0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov rdx, qword [rdi + 0x28]
mov r8d, ebp
mov rcx, rsi
call qword [rax + 0x130]
cmp eax, 2
jne 0x1400145b2
mov rdx, qword [rsi + 0x38]
lea rcx, str._C_CNNID:__Iu__OnSend___event_should_not_return_HR_ERROR____n
call fcn.140013b60
mov edx, ebp
mov rcx, rdi
call fcn.1400139d0
jmp 0x1400145c3
cmp eax, 0xffffffff
je 0x1400145ef
mov eax, dword [rdi + 0x30]
sub eax, dword [rdi + 0x28]
jne 0x140014540
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140014606
mov dword [r12], 1
jmp 0x1400145cf
mov dword [rsi + 0x20], eax
mov dword [rsi + 0x18], 1
mov dword [rsi + 0x1c], 3
xor eax, eax
mov dword [rsi + 0x24], 1
jmp 0x1400145d4

Function at 0x1400156e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rax, [rcx + 0x68]
mov rbx, rcx
mov r9, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x140015470]
xor edi, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call fcn.14001d56c
test rax, rax
mov qword [rbx + 0x60], rax
mov rbx, qword [rsp + 0x40]
setne dil
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140027c84
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b594
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b594
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027dd4
cmp rax, 0xffffffffffffffff
je 0x140027dd4
xor edi, edi
test rbp, rbp
jle 0x140027d7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dea8
mov rbx, rax
test rax, rax
jne 0x140027d0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027d75
mov edx, 0x8000
mov ecx, r14d
call fcn.140018f00
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c270
cmp eax, 0xffffffff
je 0x140027d55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027d1c
mov edx, r15d
mov ecx, r14d
call fcn.140018f00
jmp 0x140027d75
cmp byte [rsi + 0x38], dil
je 0x140027d6c
cmp dword [rsi + 0x34], 5
jne 0x140027d6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027d75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019c58
jmp 0x140027de8
jns 0x140027de8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b594
cmp rax, 0xffffffffffffffff
jne 0x140027da0
cmp byte [rsi + 0x30], dil
je 0x140027de8
mov edi, dword [rsi + 0x2c]
jmp 0x140027de8
mov ecx, r14d
call fcn.140017a2c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027de8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027de8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027de1
mov eax, dword [rsi + 0x2c]
jmp 0x140027de6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b594
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140028ee0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028f08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028f08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001c38
Capabilities:
Parse pe header

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edx, 4
call fcn.180001310
mov rdi, rax
mov rcx, qword [rsi]
mov rdx, rax
mov r8d, 4
xor r9d, r9d
call qword [0x180088ec0]
cmp eax, 4
jne 0x180001052
mov ebx, dword [rdi]
mov rcx, rsi
mov rdx, rdi
call fcn.180001320
bswap ebx
jmp 0x18000105b
mov byte [rsi + 8], 1
mov ebx, 0xffffffff
mov eax, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x180001390
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov ecx, 8
call fcn.180011c20
mov rbx, rax
bswap rsi
mov qword [rax], rsi
mov rcx, qword [rdi]
mov rdx, rax
mov r8d, 8
xor r9d, r9d
call qword [0x180088ec8]
cmp eax, 0xffffffff
setne sil
mov rcx, rbx
call fcn.180011bec
mov eax, esi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x180010230
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x180087100]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rcx
movsxd rsi, r8d
lea rcx, [rsp + 0x60]
call fcn.180025510
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180025bd0
xor edi, edi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x20], xmm1
movups xmmword [rsp + 0x90], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x58]
mov dword [rsp + 0xa0], esi
cmp rdx, 7
jbe 0x1800102ef
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800102e0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010441
call fcn.180011bec
movups xmm1, xmmword [rsp + 0x20]
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0xf0], rbp
lea r8, [rsp + 0x80]
movq rbp, xmm0
mov qword [rsp + 0xb8], r14
movdqa xmm0, xmm1
mov qword [rsp + 0xb0], r15
psrldq xmm0, 8
lea r15, [rbx + 0x18]
movq r11, xmm1
movq r14, xmm0
cmp r14, 7
movabs rdx, 0xcbf29ce484222325
mov rcx, rdi
cmova r8, rbp
lea r9, [r11 + r11]
test r9, r9
je 0x180010374
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r10
cmp rcx, r9
jb 0x180010360
mov rax, qword [rbx + 0x30]
mov rcx, rsi
xor rcx, rdx
and rcx, qword [rbx + 0x48]
add rcx, rcx
mov r10, qword [rax + rcx*8 + 8]
cmp r10, qword [rbx + 0x20]
je 0x1800103ec
mov rbx, qword [rax + rcx*8]
cmp qword [r10 + 0x28], 7
lea rax, [r10 + 0x10]
jbe 0x1800103a3
mov rax, qword [r10 + 0x10]
cmp r14, 7
lea r8, [rsp + 0x80]
cmova r8, rbp
cmp r11, qword [r10 + 0x20]
jne 0x1800103de
mov rdx, r11
test r11, r11
je 0x1800103d8
sub r8, rax
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x1800103de
add rax, 2
sub rdx, 1
jne 0x1800103c4
cmp esi, dword [r10 + 0x30]
je 0x1800103e9
cmp r10, rbx
je 0x1800103ec
mov r10, qword [r10 + 8]
jmp 0x180010394
mov rdi, r10
mov r14, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xf0]
test rdi, rdi
je 0x180010411
lea rdx, [rsp + 0x80]
mov rcx, r15
call fcn.180010900
lea rcx, [rsp + 0x80]
call fcn.1800031c0
mov r15, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.180011ca0
add rsp, 0xc0
pop rdi
pop rsi
pop rbx
ret
call fcn.180050bf0
int3
Function at 0x180010450
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x190
mov rax, qword [0x180087100]
xor rax, rsp
mov qword [rsp + 0x180], rax
xorps xmm0, xmm0
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x108
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call fcn.180067cd0
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov byte [rsp + 0x20], 0
mov rdx, rdi
call fcn.1800149a0
test eax, eax
jne 0x1800104fc
mov eax, 0x5a4d
cmp word [rsp + 0x30], ax
jne 0x1800104fc
movsxd rdx, dword [rsp + 0x6c]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 8]
add rdx, rdi
mov r8d, 0x108
mov byte [rsp + 0x20], 0
call fcn.1800149a0
test eax, eax
jne 0x1800104fc
cmp dword [rsp + 0x70], 0x4550
sete al
jmp 0x1800104fe
xor al, al
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.180011ca0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x190
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 7
mov r10, rdx
mov r11, qword [rdx + 0x10]
mov rbx, rcx
mov r9, rdx
jbe 0x180010921
mov r9, qword [rdx]
xor edx, edx
movabs r8, 0xcbf29ce484222325
add r11, r11
je 0x180010954
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r11
jb 0x180010940
movsxd rdi, dword [r10 + 0x20]
lea rdx, [rsp + 0x20]
xor rdi, r8
mov rcx, rbx
mov r9, rdi
mov r8, r10
call fcn.1800119b0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1800109e5
mov r8, qword [rbx + 0x30]
and r8, rdi
shl r8, 4
add r8, qword [rbx + 0x18]
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x1800109ab
cmp rax, rdx
jne 0x1800109a1
mov rax, qword [rbx + 8]
mov qword [r8], rax
mov qword [r8 + 8], rax
jmp 0x1800109b6
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
jmp 0x1800109b6
cmp rax, rdx
jne 0x1800109b6
mov rax, qword [rdx]
mov qword [r8], rax
mov r8, qword [rdx]
lea rcx, [rbx + 8]
dec qword [rcx + 8]
mov rax, qword [rdx + 8]
mov qword [rax], r8
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
call fcn.180011b30
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x180010fd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r12, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 7
jbe 0x180010ffb
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x180011034
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
xor rcx, rax
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x180011020
movsxd rbp, dword [r14 + 0x20]
xor rbp, rcx
mov r9, rbp
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1800119b0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x180011064
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x1800111ad
movabs rax, 0x38e38e38e38e38e
cmp qword [rsi + 0x10], rax
je 0x1800111c1
lea r13, [rsi + 8]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 0
mov ecx, 0x48
call fcn.180011ba8
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.180002b90
mov ecx, dword [r14 + 0x20]
mov dword [rbx + 0x30], ecx
xor edx, edx
mov qword [rbx + 0x38], rdx
mov qword [rbx + 0x40], rdx
mov rcx, qword [r12]
mov qword [rbx + 0x38], rcx
mov rax, qword [r12 + 8]
mov qword [rbx + 0x40], rax
mov qword [r12], rdx
mov qword [r12 + 8], rdx
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x1800110e7
cvtsi2ss xmm0, rcx
jmp 0x1800110fc
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18001110f
cvtsi2ss xmm1, rcx
jmp 0x180011124
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x180011156
mov rcx, rsi
call fcn.180010a00
mov r9, rbp
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1800119b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc qword [rsi + 0x10]
mov qword [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, rbp
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r13]
jne 0x18001118f
mov qword [rcx + rax*8], rbx
jmp 0x1800111a1
cmp r9, rdx
jne 0x18001119a
mov qword [rcx + rax*8], rbx
jmp 0x1800111a6
cmp qword [rcx + rax*8 + 8], r8
jne 0x1800111a6
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, [0x18007a920]
call fcn.180012064
int3
Function at 0x180011450
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 7
jbe 0x18001147b
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor r13d, r13d
mov edx, r13d
add r9, r9
je 0x1800114b4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
xor rcx, rax
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x1800114a0
movsxd rbp, dword [r14 + 0x20]
xor rbp, rcx
mov r9, rbp
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1800119b0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1800114e4
mov qword [rdi], rax
mov byte [rdi + 8], r13b
jmp 0x18001160d
movabs rax, 0x38e38e38e38e38e
cmp qword [rsi + 0x10], rax
je 0x180011628
lea r12, [rsi + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov ecx, 0x48
call fcn.180011ba8
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.180002b90
mov ecx, dword [r14 + 0x20]
mov dword [rbx + 0x30], ecx
mov qword [rbx + 0x38], r13
mov qword [rbx + 0x40], r13
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x180011547
cvtsi2ss xmm0, rcx
jmp 0x18001155c
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18001156f
cvtsi2ss xmm1, rcx
jmp 0x180011584
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x1800115b6
mov rcx, rsi
call fcn.180010a00
mov r9, rbp
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1800119b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc qword [rsi + 0x10]
mov qword [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, rbp
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x1800115ef
mov qword [rcx + rax*8], rbx
jmp 0x180011601
cmp r9, rdx
jne 0x1800115fa
mov qword [rcx + rax*8], rbx
jmp 0x180011606
cmp qword [rcx + rax*8 + 8], r8
jne 0x180011606
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x18007a920]
call fcn.180012064
int3