joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f7a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x14000f7d4
cmp ecx, r10d
jge 0x14000f7c2
mov rcx, rbx
call fcn.140008e70
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x14000f80e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x14000f7f0
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x14000f83d
mov edx, dword [0x140183bb8]
mov rax, qword gs:[0x58]
mov ecx, 0x20
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x14000f86f
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax]
cmp rax, r8
jb 0x14000f859
xor dl, dl
jmp 0x14000f862
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14000f850
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x14000f812
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14000f8e4
mov edx, dword [0x140183bb8]
mov rax, qword gs:[0x58]
mov ecx, 0x20
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14000f8fe
mov rcx, rbx
call fcn.140014da0
test eax, eax
je 0x14000f8d7
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.140090ab0
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140015060
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov r10, rdx
movzx r9d, cx
mov eax, 0x5e6ea9af
shr ecx, 0x10
mul r8d
mov ebx, r8d
mov esi, r8d
shr edx, 0xb
imul eax, edx, 0x15b0
sub ebx, eax
test r8d, r8d
je 0x14001519e
mov qword [rsp + 0x20], rdi
xor edx, edx
cmp ebx, 7
jbe 0x140015109
lea r8d, [rdx + 7]
movzx eax, byte [r10]
add edx, 8
add r9d, eax
add r8d, 8
movzx eax, byte [r10 + 1]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 2]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 3]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 4]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 5]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 6]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 7]
add ecx, r9d
add r9d, eax
add r10, 8
add ecx, r9d
cmp r8d, ebx
jb 0x1400150a2
xor r8d, r8d
xor r11d, r11d
cmp edx, ebx
jae 0x140015166
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x140015153
mov eax, ebx
sub eax, edx
sub eax, 2
shr eax, 1
inc eax
mov edi, eax
lea edx, [rdx + rax*2]
nop dword [rax]
movzx eax, byte [r10]
add r9d, eax
movzx eax, byte [r10 + 1]
add r8d, r9d
add r10, 2
add r9d, eax
add r11d, r9d
sub rdi, 1
jne 0x140015130
cmp edx, ebx
jae 0x140015160
movzx eax, byte [r10]
add r9d, eax
add ecx, r9d
inc r10
lea eax, [r11 + r8]
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
sub esi, ebx
mov ebx, 0x15b0
jne 0x140015097
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
shl ecx, 0x10
lea eax, [r9 + rcx]
pop rsi
ret
Function at 0x140017b80
Capabilities:
Create service
Persist via windows service

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1401811c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rdx
mov rsi, rcx
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140017d42
movabs rax, 0xa74114d45e6211b
movabs rcx, 0xd6108f5ea80acbb4
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
movabs rax, 0xa6a7dee2209c1e2
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
movabs rax, 0x71e8303eaeb0f9fd
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x70], rcx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x98], rax
movabs rax, 0x781165212ca0725d
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa0], rax
movabs rax, 0x7e191c9c446788c2
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rax
movabs rax, 0x718d424bdad38c8f
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x70], rcx
mov rax, qword [rsp + 0x70]
cmp qword [rsi + 0x18], 0xf
movdqa xmm0, xmmword [rsp + 0x80]
movdqa xmm1, xmmword [rsp + 0x90]
xorps xmm0, xmmword [rsp + 0xa0]
mov qword [rsp + 0xb8], rax
xorps xmm1, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x90], xmm1
movdqa xmmword [rsp + 0x80], xmm0
jbe 0x140017cd8
mov rsi, qword [rsi]
cmp qword [rbx + 0x18], 0xf
jbe 0x140017ce7
mov rdx, qword [rbx]
mov rbx, rdx
jmp 0x140017cea
mov rdx, rbx
xor ecx, ecx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x60], rcx
mov r9d, 0xf01ff
mov qword [rsp + 0x58], rcx
mov r8, rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov dword [rsp + 0x20], 2
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
test rax, rax
jne 0x140017d46
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x140017d5a
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400624d0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001bc60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov dword [rax - 0x10], 4
mov rsi, rcx
mov qword [rax + 0x18], 0x168
lea r9, [rax + 0x18]
mov qword [rax + 0x10], rbx
xor r8d, r8d
mov dword [rax - 0x18], 0x3000
lea rcx, [rbx - 1]
lea rdx, [rax + 0x10]
call fcn.140061d3b
test eax, eax
jne 0x14001bd08
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x14001bd08
mov rdx, rsi
mov r9, rdi
nop word [rax + rax]
movzx ecx, byte [rdx]
lea r9, [r9 + 1]
sub cl, 0x6f
lea rdx, [rdx + 1]
ror cl, 0x7f
inc ebx
xor cl, 0x52
ror cl, 0x2e
mov byte [r9 - 1], cl
cmp ebx, 0x168
jb 0x14001bcc0
xor edx, edx
mov r8d, 0x168
mov rcx, rsi
call fcn.140091150
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14001bd20
Capabilities:
Encode data using xor

Disassembly:
movsxd r8, edx
test edx, edx
jle 0x14001bd4a
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
sub al, 0x6f
ror al, 0x7f
xor al, 0x52
ror al, 0x2e
mov byte [rcx - 1], al
sub r8, 1
jne 0x14001bd30
ret

Function at 0x14001c100
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
rol al, 0x2e
inc edx
xor al, 0x52
rol al, 0x7f
add al, 0x6f
mov byte [rcx - 1], al
cmp edx, 0x168
jb 0x14001c102
ret
Function at 0x14001c480
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], recv
mov byte [rcx], r14b
mov dword [rsp + 0x20], 1
lea r13d, [r14 - 6]
mov edx, r14d
mov dword [rsp + 0x78], edx
cmp qword [r15 + 0x10], rdx
jbe 0x14001c614
mov ecx, r14d
mov qword [rsp + 0x80], rcx
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx ebx, byte [rsp + 0x70]
mov rax, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x14001c4fd
mov rax, qword [r15]
movsx eax, byte [rcx + rax]
shl r14d, 8
add eax, r14d
movsxd r14, eax
add r13d, 8
js 0x14001c59b
movsxd rsi, r13d
lea ecx, [r13 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov ebp, edx
imul eax, edx, 0xfffffffa
add r13d, eax
nop
mov rax, r14
mov rcx, rsi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14001c56d
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14001c562
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14001c585
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14001b7c0
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sub rsi, 6
sub rbp, 1
jne 0x14001c530
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x78]
inc edx
mov dword [rsp + 0x78], edx
inc rcx
mov qword [rsp + 0x80], rcx
movsxd rax, edx
cmp rax, qword [r15 + 0x10]
jb 0x14001c4f0
cmp r13d, 0xfffffffa
jle 0x14001c614
lea ecx, [r13 + 8]
shl r14d, 8
movsxd rax, r14d
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14001c601
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14001c5f6
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14001c614
movzx r8d, byte [rsp + 0x70]
mov edx, 1
mov rcx, rdi
call fcn.14001b7c0
mov rax, qword [rdi + 0x10]
test al, 3
je 0x14001c662
movzx ebx, byte [rsp + 0x70]
mov rdx, qword [rdi + 0x18]
cmp rax, rdx
jae 0x14001c646
lea rcx, [rax + 1]
mov qword [rdi + 0x10], rcx
mov rcx, rdi
cmp rdx, 0xf
jbe 0x14001c63e
mov rcx, qword [rdi]
mov word [rcx + rax], 0x3d
jmp 0x14001c65a
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14001b7c0
mov rax, qword [rdi + 0x10]
test al, 3
jne 0x14001c621
mov rax, rdi
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001c690
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x210
mov rax, qword [0x1401811c0]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rbx, rcx
call fcn.140062004
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x198
call fcn.140091150
mov ecx, 0x202
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r8d, r8d
mov edi, 2
mov ecx, edi
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov ecx, 0x458
mov word [rsp + 0x50], di
mov dword [rbx], eax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x52], ax
lea rcx, [rsp + 0x40]
movabs rax, 0xf2a6d636b0408df2
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
movabs rax, 0xce30ae9c83848368
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
movabs rax, 0xc694f804896ebccb
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0xce30aea9b1b5ad50
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movdqa xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.WS2_32.dll_inet_addr]
movsxd rcx, dword [rbx]
lea r8d, [rdi + 0xe]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x54], eax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
setne al
mov byte [rbx + 4], al
call fcn.14006201e
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400624d0
mov rbx, qword [rsp + 0x228]
add rsp, 0x210
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140062004
cmp byte [rbx + 4], 0
je 0x14001c81f
movsxd rcx, dword [rbx]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov word [rsp + 0x30], 0x5155
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
movsxd rax, dword [rbx]
mov byte [rbx + 4], 0
test eax, eax
je 0x14001c81a
mov rcx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
call fcn.14006201e
add rsp, 0x20
pop rbx
ret
Function at 0x14001eaf0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], 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 0x14001eb7f
mov rbx, r15
mov rbp, r15
jmp 0x14001ebcc
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x14001eb9e
nop dword [rax + rax]
cmp rbx, rcx
je 0x14001ebc6
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14001eb90
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
je 0x14001ed20
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.140062938
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
xor r13d, r13d
mov dword [rax + 0x14], r13d
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x14001ec22
cvtsi2ss xmm0, rcx
jmp 0x14001ec37
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 0x14001ec4a
cvtsi2ss xmm1, rcx
jmp 0x14001ec5f
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 0x14001ecc1
mov rcx, rsi
call fcn.14001fa80
mov rcx, r12
and rcx, qword [rsi + 0x30]
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
je 0x14001ecb4
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14001ecb1
nop dword [rax]
mov rbx, rax
cmp rax, rdx
je 0x14001ecf5
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14001eca0
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 0x14001ecfc
mov qword [rcx + rax*8], rdi
jmp 0x14001ed0e
mov qword [rsp + 0x20], rax
jmp 0x14001ecb9
cmp r8, rbp
jne 0x14001ed07
mov qword [rcx + rax*8], rdi
jmp 0x14001ed13
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14001ed13
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14001eba6
lea rcx, str.unordered_map_set_too_long
call fcn.140063654
int3
Function at 0x14001f8c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14001fa71
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14001f780
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 0x14001fa36
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [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 0x14001f9b0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14001fa25
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001f9ed
mov r10, qword [rdx]
cmp r10, rax
je 0x14001f9e7
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 0x14001fa25
cmp r9, rdx
je 0x14001fa01
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14001fa4b
cmp r9, rdx
jne 0x14001f9f2
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 0x14001f960
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x14001fa25
lea rcx, str.invalid_hash_bucket_count
call fcn.140063654
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14001faa5
cvtsi2ss xmm0, rdx
jmp 0x14001faba
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1400739a4
movss xmm1, dword [0x140095f74]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14001fae8
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14001fae8
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14001fb1a
cmp rbx, 0x200
jae 0x14001fb17
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14001fb1a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14001f8c0
Function at 0x1400276e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140027711
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14002778b
mov rdi, r14
mov rcx, rbx
call fcn.140018960
test rax, rax
jle 0x140027763
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.140090ab0
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 0x14002777b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140027783
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140027725
sub r14, rdi
jmp 0x14002786f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400277a2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400277a4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400277d6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140090ab0
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 0x14002786c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140027811
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 0x14002784d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140070640
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14002786c
cmp rbp, rax
ja 0x140027820
test rbp, rbp
je 0x14002786c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140070640
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140032080
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401811c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140183b60]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x1400320e8
cmp byte [rbx + 0x4a5e], 0
jne 0x1400320e8
movsx r9d, word [rbx + 0x5b5a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140037100
test sil, 1
je 0x140032219
jmp 0x140032181
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140095f28]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x140095f70]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
or dword [rbx + 0x47a8], 1
mov qword [rbx + 0x47c0], rax
movss dword [rbx + 0x47b8], xmm0
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x3900]
mov rax, qword [0x140183b60]
mulss xmm0, dword [0x140095fd0]
or dword [rax + 0x47a8], 0x40
movss dword [rax + 0x4808], xmm0
movsx r9d, word [rbx + 0x5b5a]
call fcn.140037100
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400321d1
lea r11, [0x14015e0f0]
cmp r9b, 0x23
jne 0x1400321b4
cmp byte [r8], r9b
jne 0x1400321b4
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400321a1
not ecx
call fcn.140035ea0
test rax, rax
je 0x140032219
cmp byte [rax + 0xae], 0
je 0x140032219
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b5a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b5a]
call fcn.140037100
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.14002f730
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400624d0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140035df0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140183b60]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140035e53
mov qword [rsp], rbx
lea rbx, [0x14015e0f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140035e33
cmp byte [r8], r9b
jne 0x140035e33
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140035e20
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bb8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140035e87
mov r10, qword [r10 + 0x5bc0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140035e8e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140035e74
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret