joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180015460
Capabilities:
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, 0x30
mov r12, r8
mov r14, rdx
mov rsi, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x1800154e7
mov rbx, r15
mov rbp, r15
jmp 0x18001552a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x180015501
cmp rbx, rcx
je 0x180015524
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1800154f3
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x492492492492492
cmp qword [rsi + 0x10], rax
je 0x180015699
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, gethostname
call fcn.180155610
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r12]
mov dword [rdi + 0x10], eax
lea rcx, [rdi + 0x18]
lea rdx, [r12 + 8]
call fcn.180014430
nop
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x180015588
cvtsi2ss xmm0, rcx
jmp 0x18001559d
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 0x1800155b0
cvtsi2ss xmm1, rcx
jmp 0x1800155c5
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 0x180015631
mov rcx, rsi
call fcn.180015730
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x180015602
mov qword [rsp + 0x28], 0
jmp 0x180015624
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x180015621
nop
mov rbx, rax
cmp rax, rdx
je 0x180015665
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x180015610
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x180015675
mov qword [rcx + rax*8], rdi
jmp 0x180015687
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x180015629
cmp r8, rbp
jne 0x180015680
mov qword [rcx + rax*8], rdi
jmp 0x18001568c
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18001568c
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x180015509
lea rcx, str.unordered_map_set_too_long
call fcn.180152e88
int3
Function at 0x180015a80
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 0x180015c2d
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.180014db0
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 0x180015bf6
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180015b70
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180015be5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x180015bad
mov r10, qword [rdx]
cmp r10, rax
je 0x180015ba7
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 0x180015be5
cmp r9, rdx
je 0x180015bc1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180015c07
cmp r9, rdx
jne 0x180015bb2
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 0x180015b20
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 0x180015be5
lea rcx, str.invalid_hash_bucket_count
call fcn.180152e88
int3
Function at 0x180017120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1801f5b80]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor r14d, r14d
mov dword [rbp - 0x15], r14d
xorps xmm0, xmm0
mov dword [rbp - 0x39], 0x794c426c
mov dword [rbp - 0x35], 0x4473514a
mov dword [rbp - 0x31], 0x3358766d
mov dword [rbp - 0x2d], 0x4a34314b
mov dword [rbp - 0x29], 0x726d436e
mov dword [rbp - 0x25], 0x71626341
mov dword [rbp - 0x21], 0x65556648
mov dword [rbp - 0x1d], 0x63385042
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r14
lea edx, [r14 + 0x20]
lea rcx, [rbp - 9]
call fcn.180021e50
mov rbx, qword [rbp - 9]
lea r8d, [r14 + 0x20]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.180157c10
lea r8, [rbx + 0x20]
mov qword [rbp - 1], r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp + 0xf]
call fcn.18001f9c0
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], r14b
mov dword [rbp - 0x15], 1
cmp qword [rsi + 0x10], r14
jbe 0x180017284
mov r15, qword [rbp + 0x27]
mov r12, qword [rbp + 0x1f]
mov r13, qword [rbp + 0xf]
movzx ebx, byte [rbp - 0x19]
mov r9, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x180017221
mov r9, qword [rsi]
lea rcx, [rbp + 0xf]
cmp r15, 0x10
cmovae rcx, r13
xor edx, edx
mov rax, r14
div r12
movzx r9d, byte [r9 + r14]
xor r9b, byte [rdx + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x18001726a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x18001725f
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18001727b
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.1800211c0
inc r14
cmp r14, qword [rsi + 0x10]
jb 0x180017214
lea rcx, [rbp + 0xf]
call fcn.180014c00
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1800172c4
mov rdx, qword [rbp + 7]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800172bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800172f4
call fcn.180155a9c
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1801554d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18015c514
int3
Function at 0x18002ed10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor r15d, r15d
mov dword [rbp + 0x17], r15d
cmp qword [0x1805e4f48], r15
je 0x18002ef54
mov rax, qword [0x1805e4e10]
mov rcx, qword [rax]
test rcx, rcx
je 0x18002ef54
mov rbx, qword [rcx + 8]
test rbx, rbx
je 0x18002ef54
mov ecx, dword [0x1805e2604]
mov rax, qword gs:[0x58]
mov r14d, 8
mov rdi, qword [rax + rcx*8]
mov eax, dword [rdi + r14]
cmp dword [0x1805e5ca0], eax
jle 0x18002edb8
lea rcx, [0x1805e5ca0]
call fcn.180155598
cmp dword [0x1805e5ca0], 0xffffffff
jne 0x18002edb8
mov rax, qword [0x1805e4980]
mov qword [0x1805e5c98], rax
lea rcx, [0x1805e5ca0]
call fcn.18015552c
mov rcx, qword [0x1805e4f48]
call qword [0x1805e5c98]
mov esi, eax
test eax, eax
je 0x18002ef54
mov edx, dword [rdi + r14]
cmp dword [0x1805e5ca0], edx
jle 0x18002ee0a
lea rcx, [0x1805e5ca0]
call fcn.180155598
cmp dword [0x1805e5ca0], 0xffffffff
jne 0x18002ee0a
mov rdx, qword [0x1805e4980]
mov qword [0x1805e5c98], rdx
lea rcx, [0x1805e5ca0]
call fcn.18015552c
mov rcx, rbx
call qword [0x1805e5c98]
mov r14d, eax
test eax, eax
je 0x18002ef54
mov ecx, esi
call fcn.180030ad0
test al, al
je 0x18002ef54
mov rdi, 0xffffffffffffffff
mov ebx, edi
mov edx, ebx
mov ecx, esi
call fcn.180030c40
test al, al
jne 0x18002ef47
inc ebx
cmp ebx, 6
jl 0x18002ee36
movups xmm0, xmmword [0x1805ddd48]
movups xmmword [rbp + 7], xmm0
mov dword [rbp - 0x29], 0x7c7d7043
mov dword [rbp - 0x25], 0x66707976
mov dword [rbp - 0x21], 0x79607335
mov word [rbp - 0x1d], 0x1579
mov qword [rbp - 0x11], r15
mov r9d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 1], r9
mov byte [rbp - 0x19], al
mov dword [rbp + 0x17], 1
mov eax, recv
mov qword [rbp - 9], rax
xor r8d, r8d
mov qword [rbp - 0x19], r8
mov byte [rbp - 0xb], r8b
mov rcx, r15
cmp rcx, 0xe
jae 0x18002ef71
movzx edx, byte [rbp + rcx - 0x29]
xor dl, 0x15
cmp rax, rcx
jbe 0x18002ef77
lea rax, [rbp - 0x19]
cmp r9, 0x10
cmovae rax, r8
mov byte [rax + rcx], dl
inc rcx
cmp rcx, 0xe
jge 0x18002eee4
mov r9, qword [rbp - 1]
mov rax, qword [rbp - 9]
mov r8, qword [rbp - 0x19]
jmp 0x18002eea3
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rdx, qword [rbp - 0x19]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], r15
mov qword [rbp + 0x37], r15
inc rdi
cmp byte [rdx + rdi], 0
jne 0x18002ef01
mov r8, rdi
lea rcx, [rbp + 0x1f]
call fcn.180014fd0
movups xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
movss xmm3, dword [0x1801ce720]
lea r8, [rbp + 7]
lea rdx, [0x1801c5c00]
lea rcx, [rbp + 0x1f]
call fcn.1800b0870
nop
lea rcx, [rbp - 0x19]
call fcn.180014c00
jmp 0x18002ef54
mov r8d, ebx
mov edx, esi
mov ecx, r14d
call fcn.180030df0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180014d90
nop
call fcn.180014f60
int3
Function at 0x180054dc0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x180054de2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x180054e5c
mov rdi, r14
mov rcx, rbx
call fcn.180056f30
test rax, rax
jle 0x180054e34
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.180157c10
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x180054e4c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x180054e54
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x180054df6
sub r14, rdi
jmp 0x180054f3f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x180054e73
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180054e75
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180054ea7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.180157c10
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x180054f3c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180054ee2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x180054f1d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.180169258
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x180054f3c
cmp rbp, rax
ja 0x180054ef0
test rbp, rbp
je 0x180054f3c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.180169258
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x18005e500
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
sub rsp, 0x20
mov rax, qword [0x1805e4950]
mov rbp, rcx
test rax, rax
jne 0x18005e5e2
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x18005e5b4
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x18005e5b4
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0xde7763ae
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x18005e5af
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x18005e590
cmp edx, 0x3888ffb3
je 0x18005e5ed
test r8d, r8d
jne 0x18005e570
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x18005e5ca
cmp qword [rax + 0x30], 0
jne 0x18005e540
xor eax, eax
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov qword [0x1805e4950], rax
mov rcx, rbp
add rsp, 0x20
pop rbp
jmp rax
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x18005e5cc

Function at 0x18005e610
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov eax, 0x5a4d
mov rsi, rdx
mov r10, rcx
cmp word [rcx], ax
jne 0x18005e69f
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x18005e69f
mov edi, dword [rax + rcx + 0x88]
xor r9d, r9d
add rdi, rcx
mov ebx, dword [rdi + 0x20]
mov ebp, dword [rdi + 0x24]
add rbx, rcx
mov r11d, dword [rdi + 0x18]
add rbp, rcx
test r11, r11
je 0x18005e69f
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rbx + r9*4]
mov rax, rsi
add r8, r10
sub r8, rsi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005e693
inc rax
test ecx, ecx
jne 0x18005e680
test edx, edx
je 0x18005e6b6
inc r9
cmp r9, r11
jb 0x18005e670
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
mov ecx, dword [rdi + 0x1c]
movzx edx, word [rbp + r9*2]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
jmp 0x18005e6a1
Function at 0x18005e6d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rsi, rdx
xor ebx, ebx
mov dword [rbp - 5], ebx
mov dword [rbp - 0x19], 0x646a7569
mov dword [rbp - 0x15], 0x61616923
mov byte [rbp - 0x11], reloc.WS2_32.dll_listen
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x17], reloc.WS2_32.dll_ntohs
mov byte [rbp - 1], bl
mov dword [rbp - 5], 1
xor r8d, r8d
lea edx, [rbx + 9]
lea rcx, [rbp - 1]
call fcn.180014330
mov ecx, ebx
cmp rbx, 9
jae 0x18005e864
movzx edx, byte [rbp + rcx - 0x19]
xor dl, 0xd
cmp qword [rbp + 0xf], rcx
jbe 0x18005e85e
lea rax, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rax, qword [rbp - 1]
mov byte [rcx + rax], dl
inc rcx
cmp rcx, 9
jl 0x18005e738
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rcx, qword [rbp - 1]
call fcn.18005e500
mov rdi, rax
lea rcx, [rbp - 1]
call fcn.180014c00
test rdi, rdi
jne 0x18005e7ac
mov eax, 0x80004005
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
movdqa xmm0, xmmword [0x1801cf490]
movdqu xmmword [rbp + 0x3f], xmm0
mov word [rbp + 0x4f], 0x753d
mov byte [rbp + 0x51], 0x44
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], rbx
mov qword [rbp + 0x37], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1f], 0
mov dword [rbp - 5], 2
mov byte [rsp + 0x20], 0
mov r9d, reloc.WS2_32.dll_send
movzx r8d, byte [rbp - 9]
mov edx, r9d
lea rcx, [rbp + 0x1f]
call fcn.180015110
cmp rbx, 0x13
jae 0x18005e870
movzx ecx, byte [rbp + rbx + 0x3f]
xor cl, 0x44
cmp qword [rbp + 0x2f], rbx
jbe 0x18005e86a
lea rax, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0x10
cmovae rax, qword [rbp + 0x1f]
mov byte [rax + rbx], cl
inc rbx
cmp rbx, 0x13
jl 0x18005e801
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0x10
cmovae rdx, qword [rbp + 0x1f]
mov rcx, rdi
call fcn.18005e610
mov rbx, rax
lea rcx, [rbp + 0x1f]
call fcn.180014c00
mov rdx, rsi
lea rcx, [0x1801c4440]
call rbx
jmp 0x18005e793
call fcn.180014f60
int3
call fcn.180014d90
nop
call fcn.180014f60
int3
call fcn.180014d90
int3
Function at 0x1800646a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.180156250
sub rsp, rax
mov rax, qword [0x1801f5b80]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov ebx, ecx
call fcn.180152c78
mov dword [rsp + 0x24], eax
mov edx, 1
mov r9d, 0x270
mov dword [rsp + 0x13a4], 0xffffffff
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, r9
jb 0x1800646f0
mov dword [rsp + 0x20], r9d
cmp ebx, 0x80000000
jb 0x1800647a0
cmp ebx, 0xffffffff
jne 0x1800647a0
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x180064730
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
jmp 0x1800647f2
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x13d0], rdi
inc ebx
call fcn.180064d70
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x1800647e4
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1800647e4
nop
lea rcx, [rsp + 0x20]
call fcn.180064d70
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x1800647d0
mov rdi, qword [rsp + 0x13d0]
shr rcx, 0x20
mov eax, ecx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1801554d0
add rsp, 0x13c0
pop rbx
ret
Function at 0x180064980
Capabilities:
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, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x180064a07
mov rbx, r15
mov rbp, r15
jmp 0x180064a4a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x180064a21
cmp rbx, rcx
je 0x180064a44
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180064a13
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x492492492492492
cmp qword [rsi + 0x10], rax
je 0x180064bb0
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, gethostname
call fcn.180155610
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r13]
mov dword [rdi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [rdi + 0x18], xmm0
xor r13d, r13d
mov qword [rdi + 0x28], r13
mov qword [rdi + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x18], r13b
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x180064ab3
cvtsi2ss xmm0, rcx
jmp 0x180064ac8
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 0x180064adb
cvtsi2ss xmm1, rcx
jmp 0x180064af0
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 0x180064b51
mov rcx, rsi
call fcn.180015730
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
je 0x180064b44
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x180064b41
nop
mov rbx, rax
cmp rax, rdx
je 0x180064b85
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x180064b30
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x180064b8c
mov qword [rcx + rax*8], rdi
jmp 0x180064b9e
mov qword [rsp + 0x20], rax
jmp 0x180064b49
cmp r8, rbp
jne 0x180064b97
mov qword [rcx + rax*8], rdi
jmp 0x180064ba3
cmp qword [rcx + rax*8 + 8], rdx
jne 0x180064ba3
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x180064a29
lea rcx, str.unordered_map_set_too_long
call fcn.180152e88
int3