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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x7e0]
sub rsp, 0x8e0
mov rax, qword [0x1401ba200]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rdx
xor r15d, r15d
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x30]
call fcn.1400f0ef0
movsxd rcx, dword [rbx + 0x40]
xor r9d, r9d
mov r8d, 0x800
lea rdx, [rbp - 0x30]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140007a80
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140004b70
mov rsi, rax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x40], rax
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140004b70
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rax, [rbp - 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140007a10
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.140003aa0
nop
mov r9, rsi
mov r8, r14
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.1400035f0
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140007a60
mov r8, rbx
mov rcx, rdi
call fcn.140003aa0
nop
lea rcx, [rbp - 0x60]
call fcn.140005280
jmp 0x140007af9
movabs rax, 0xef813e43c532cd59
mov qword [rbp - 0x40], rax
movabs rcx, 0x482b001ac170cf76
mov qword [rbp - 0x38], rcx
movabs rax, 0xef813e31aa40bf3c
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
movaps xmm0, xmmword [rsp + 0x20]
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x140007ae0
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140003aa0
mov rax, rdi
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1400b4820
mov rbx, qword [rsp + 0x920]
add rsp, 0x8e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007b30
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1401ba200]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbp, rdx
mov rsi, rcx
mov qword [rsp + 0x98], rdx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rcx + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140004b70
mov rdi, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140004b70
mov rbx, rax
mov rdx, rbp
lea rcx, [rsp + 0x78]
call fcn.140004b70
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140003140
lea rdx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0xf
cmova rdx, qword [rsp + 0xa0]
movsxd rcx, dword [rsi + 0x40]
xor r9d, r9d
mov r8d, dword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
lea rcx, [rsp + 0xa0]
call fcn.140005280
nop
mov rcx, rbp
call fcn.140005280
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b4820
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1401ba200]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rsi, rdx
mov rbp, rcx
lea rdx, [rsp + 0x20]
movsxd rcx, dword [rcx + 0x40]
lea r8d, [r9 + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rdi, qword [rsi + 8]
mov rcx, qword [rsi]
mov rdx, rdi
mov ebx, eax
sub rdx, rcx
mov qword [rsp + 0x20], rbx
cmp rbx, rdx
jae 0x140007c90
lea rax, [rcx + rbx]
jmp 0x140007cc9
jbe 0x140007ccd
mov rax, qword [rsi + 0x10]
sub rax, rcx
cmp rbx, rax
jbe 0x140007cb0
mov rdx, rbx
mov rcx, rsi
call fcn.14000abb0
mov rbx, qword [rsp + 0x20]
jmp 0x140007ccd
sub rbx, rdx
mov rcx, rdi
mov r8, rbx
xor edx, edx
call fcn.1400f0ef0
lea rax, [rbx + rdi]
mov rbx, qword [rsp + 0x20]
mov qword [rsi + 8], rax
xor edi, edi
test rbx, rbx
je 0x140007d3a
mov qword [rsp + 0x60], r14
mov r14d, 0x1000
nop
mov rdx, qword [rsi]
cmp rbx, r14
movsxd rcx, dword [rbp + 0x40]
cmova rbx, r14
add rdx, rdi
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140007d19
mov rbx, qword [rsp + 0x20]
movsxd rcx, eax
sub rbx, rcx
add rdi, rcx
mov qword [rsp + 0x20], rbx
test rbx, rbx
jne 0x140007ce0
mov r14, qword [rsp + 0x60]
mov eax, edi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400b4820
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov eax, edi
jmp 0x140007d20
Function at 0x14000ce20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000ce7d
lea rbx, [0x14010af40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000ce64
cmp r10, 2
jb 0x14000ce64
cmp byte [r9], r8b
jne 0x14000ce64
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000ce40
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000cebf
lea rbx, [0x14010af40]
cmp r8b, 0x23
jne 0x14000cea3
cmp byte [r9], r8b
jne 0x14000cea3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000ce90
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000d000
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000d01a
mov qword [r8], 0
lea rdx, [0x1401915a8]
call fcn.14000ced0
mov rbx, rax
test rax, rax
jne 0x14000d03a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400c88a4
mov esi, eax
cmp eax, 0xffffffff
je 0x14000d108
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400c95dc
test eax, eax
jne 0x14000d108
mov rcx, rbx
call fcn.1400c88a4
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000d108
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400c95dc
test eax, eax
jne 0x14000d108
cmp rdi, 0xffffffffffffffff
je 0x14000d108
mov rax, qword [0x140399cd0]
test rax, rax
je 0x14000d0aa
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.1400cfb30
mov rsi, rax
test rax, rax
je 0x14000d108
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400ca4c4
mov rcx, rbx
cmp rax, rdi
je 0x14000d0f6
call fcn.1400c923c
mov rax, qword [0x140399cd0]
test rax, rax
je 0x14000d0ec
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.1400ca250
jmp 0x14000d110
call fcn.1400c923c
test r14, r14
je 0x14000d103
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000d112
mov rcx, rbx
call fcn.1400c923c
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14001b7e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x140399cd0]
lea rdx, [0x14010af40]
mov r8d, ecx
mov rbx, qword [rax + 0x1d18]
add rbx, 0x108
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x14001b897
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14001b883
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14001b888
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14002ce00
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001c4d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401ba200]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140399cd0]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x14001c530
cmp byte [rbx + 0x20d6], 0
jne 0x14001c530
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14000cda0
test dil, 1
je 0x14001c664
jmp 0x14001c5bf
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14019bd34]
mulss xmm1, dword [0x14019bd28]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x14019bc90]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.14000cda0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14001c610
lea r11, [0x14010af40]
nop
cmp r9b, 0x23
jne 0x14001c5f3
cmp byte [r8], r9b
jne 0x14001c5f3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14001c5e0
mov rcx, qword [0x140399cd0]
not edx
add rcx, 0x1cf8
call fcn.14000d400
test rax, rax
je 0x14001c664
cmp byte [rax + 0xcf], 0
je 0x14001c664
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3178]
call fcn.14000cda0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.140017d70
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b4820
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400216d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140021722
lea r11, [0x14010af40]
cmp r9b, 0x23
jne 0x140021705
cmp byte [r8], r9b
jne 0x140021705
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400216f2
mov r11, qword [0x140399cd0]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x140021769
lea r9, [r10 + 4]
test r9, r9
je 0x140021769
not eax
cmp dword [r9], eax
je 0x140021772
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140021740
mov rcx, rbx
pop rbx
jmp fcn.1400215e0
mov rax, r9
pop rbx
ret
Function at 0x140024930
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140024b2c
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1401ba200]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14010af40]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x140024af4
mov rcx, rbp
call fcn.140024280
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x1400249ae
lea rcx, [rbp + 0x31c0]
call fcn.14000d400
mov r11, rax
jmp 0x1400249b1
xor r11d, r11d
mov qword [rbx + 0x10], r11
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test r11, r11
je 0x140024a45
cmp qword [r11 + 0x18], 0
jne 0x140024a3a
mov qword [r11 + 0x18], rbx
jmp 0x140024a45
cmp qword [r11 + 0x20], 0
jne 0x140024a45
mov qword [r11 + 0x20], rbx
mov eax, dword [rdi - 0xc]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 4]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140024a7c
nop dword [rax]
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140024a70
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, socket
lea rcx, [rsp + 0x20]
call fcn.14000cda0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x140024ad8
cmp r9b, 0x23
jne 0x140024abb
cmp byte [r8], r9b
jne 0x140024abb
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x140024aa8
mov rcx, qword [0x140399cd0]
not edx
add rcx, 0x1cf8
call fcn.14000d400
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x140024980
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b4820
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14005a5f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1401ba200]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rcx
call fcn.1400b3818
test eax, eax
jne 0x14005a7fa
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x14005a805
mov rdx, qword [r14]
mov qword [rsp + 0x20], rdx
mov rax, qword [r14 + 8]
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov qword [r14], rbx
mov qword [r14 + 8], rbx
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
add rdx, 8
lea rcx, [rsp + 0xa8]
call fcn.140004b70
nop
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0xf
cmova rcx, qword [rsp + 0xa8]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0xb8]
test rdx, rdx
je 0x14005a6c3
movabs r8, 0x100000001b3
nop
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x14005a6b0
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 0xf0]
call fcn.1400668b0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14005a6ec
mov rcx, qword [rsi + 0xf8]
lea r8, [rsp + 0xa8]
cmp rcx, qword [rsi + 0xf8]
jne 0x14005a7c8
lea rdx, [rsp + 0x58]
lea rcx, [rsi + 0xf0]
call fcn.14005fb70
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, [rsp + 0x20]
call fcn.14005bce0
nop
lea rcx, [rsp + 0xa8]
call fcn.140005280
nop
mov edi, 0xffffffff
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x14005a76b
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005a76b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005a76b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rcx, rsi
call fcn.1400b383c
nop
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x14005a7a4
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005a7a4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14005a7a4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400b4820
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop r14
pop rdi
pop rsi
ret
lea rdx, str.logger_with_name_
lea rcx, [rsp + 0x88]
call fcn.140005510
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400054a0
mov rcx, rax
call fcn.140058160
nop
mov ecx, 5
call fcn.1400b29ec
int3
dec eax
mov dword [rsi + 0x4c], eax
mov ecx, 6
call fcn.1400b29ec
int3
Function at 0x14005f1a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1401ba200]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14005f396
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.1400b3818
test eax, eax
jne 0x14005f3c3
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x14005f3ce
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
xor edx, edx
mov r8d, 0x120
lea rcx, [rsp + 0x50]
call fcn.1400f0ef0
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + htons]
cmp byte [rdi + 0x20], r14b
je 0x14005f32a
mov r8, qword [rsi + 0x28]
cmp qword [rsi + 0x30], r8
jbe 0x14005f32a
test r8, r8
je 0x14005f28a
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x14005f2ab
lea ebp, [rax + 7]
jmp 0x14005f2c6
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov r8, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x28]
cmp r8, rcx
jbe 0x14005f2f0
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsp + 0x60]
cmp r8, rcx
jbe 0x14005f34e
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x14005f34e
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x14005f38e
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f388
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f3bd
call fcn.1400b4bec
nop
mov rcx, rbx
call fcn.1400b383c
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400b4820
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400c434c
nop
mov ecx, 5
call fcn.1400b29ec
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1400b29ec
int3
Function at 0x140064a00
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140064b7b
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140052a50
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140064b44
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rbp
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x140064ac0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140064b33
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x140064af9
mov r10, qword [rdx]
cmp r10, rax
je 0x140064af3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140064b33
cmp r8, rdx
je 0x140064b0f
nop
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x140064b55
cmp r8, rdx
jne 0x140064b00
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140064a91
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140064b33
lea rcx, str.invalid_hash_bucket_count
call fcn.1400b2858
int3