joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006c160
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400b56f8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, Ordinal_26
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x14006c1ac
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14006c27e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14006c1f0
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x14006c27e
mov rcx, rbp
call fcn.140029750
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x14006c25a
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14006c26a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14006c27c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006d820
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x14006d030
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x14006d095
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x14006d040
ret

Function at 0x14006dda4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006ddee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006ddee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006ddee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006ddee
cmp dword [rcx + 0x84], 0xe
jbe 0x14006ddee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006ddf0
xor al, al
add rsp, 0x28
ret

Function at 0x140081384
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400811b0
Function at 0x140085e58
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140085e35
call fcn.140073d40
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call fcn.140073c20
or eax, 0xffffffff
jmp 0x140085e52
sub dword [rcx + 0x10], 1
jns 0x140085e44
add rsp, 0x28
jmp fcn.140084ee0
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140085e14
Function at 0x14008bbb0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14008bbd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140073cd0
or eax, 0xffffffff
jmp 0x14008bbd2
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
lea r9, str._J_ms8m
mov r8d, 3
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140017cd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400177d0
movzx eax, al
test eax, eax
jne 0x140017ea0
lea rax, [rsp + 0x80]
lea rcx, str._sDR_oSIHH_S_r___6_F
mov rdi, rax
mov rsi, rcx
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov eax, 1
imul rax, rax, 0x13
mov rcx, qword [rsp + 0x30]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140017d68
mov dword [rsp + 0x28], 1
jmp 0x140017d70
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
movzx eax, al
test eax, eax
je 0x140017dda
mov dword [rsp + 0x24], 0
jmp 0x140017d99
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x14
jge 0x140017dda
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x24]
cdq
mov ecx, 0x36
idiv ecx
mov eax, edx
add eax, 0x33
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov byte [rdx + rcx], al
jmp 0x140017d8f
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [0x14001c750]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov r9d, 0x8000
xor r8d, r8d
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x68]
test eax, eax
jge 0x140017e3e
xor al, al
jmp 0x140017ea2
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov r9d, 0x8000
xor r8d, r8d
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x70]
test eax, eax
jge 0x140017e6d
xor al, al
jmp 0x140017ea2
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov r9d, 0x8000
xor r8d, r8d
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x78]
test eax, eax
jge 0x140017e9c
xor al, al
jmp 0x140017ea2
xor al, al
jmp 0x140017ea2
mov al, 1
add rsp, 0xa8
pop rdi
pop rsi
ret
Function at 0x1400191d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001921e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001921e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001921e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001921e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001921e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140019220
xor al, al
add rsp, 0x28
ret
Function at 0x140001040
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1e0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, 1
mov ebx, 2
mov ecx, ebx
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
lea rcx, str.127.0.0.1
mov word [rsp + 0x20], bx
mov qword [0x140005650], rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, 0x7e7
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x22], ax
nop
mov rcx, qword [0x140005650]
lea rdx, [rsp + 0x20]
mov r8d, 0x10
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400010b0
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140001f60
add rsp, 0x1e0
pop rbx
ret

Function at 0x140001290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push r12
push r15
sub rsp, 0x38
mov rax, qword [0x140005650]
lea rcx, str.ws2_32.dll
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor r15d, r15d
mov rbp, rax
mov ebx, r15d
movsxd rcx, dword [rax + 0x3c]
mov r9d, dword [rcx + rax + 0x88]
add r9, rax
mov r12d, dword [r9 + 0x18]
test r12, r12
je 0x140001367
mov qword [rsp + 0x78], rsi
mov esi, dword [r9 + 0x24]
mov qword [rsp + 0x30], rdi
mov edi, dword [r9 + 0x20]
mov qword [rsp + 0x28], r13
add rdi, rax
mov r13d, dword [r9 + 0x1c]
add rsi, rax
mov qword [rsp + 0x20], r14
nop dword [rax]
movzx eax, word [rsi]
lea rdx, str.send
mov ecx, dword [rdi]
mov r8d, 0x400
add rcx, rbp
lea r14, [rax*4]
add r14, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14000134c
inc rbx
add rsi, 2
add rdi, 4
cmp rbx, r12
jb 0x140001310
jmp 0x140001353
mov r15d, dword [r14 + rbp]
add r15, rbp
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, r15
add rsp, 0x38
pop r15
pop r12
pop rbp
pop rbx
jmp rax
Function at 0x140001390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push r12
push r15
sub rsp, 0x38
mov rax, qword [0x140005650]
lea rcx, str.ws2_32.dll
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor r15d, r15d
mov rbp, rax
mov ebx, r15d
movsxd rcx, dword [rax + 0x3c]
mov r9d, dword [rcx + rax + 0x88]
add r9, rax
mov r12d, dword [r9 + 0x18]
test r12, r12
je 0x140001467
mov qword [rsp + 0x78], rsi
mov esi, dword [r9 + 0x24]
mov qword [rsp + 0x30], rdi
mov edi, dword [r9 + 0x20]
mov qword [rsp + 0x28], r13
add rdi, rax
mov r13d, dword [r9 + 0x1c]
add rsi, rax
mov qword [rsp + 0x20], r14
nop dword [rax]
movzx eax, word [rsi]
lea rdx, str.recv
mov ecx, dword [rdi]
mov r8d, 0x400
add rcx, rbp
lea r14, [rax*4]
add r14, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14000144c
inc rbx
add rsi, 2
add rdi, 4
cmp rbx, r12
jb 0x140001410
jmp 0x140001453
mov r15d, dword [r14 + rbp]
add r15, rbp
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, r15
add rsp, 0x38
pop r15
pop r12
pop rbp
pop rbx
jmp rax
Function at 0x180019920
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 0x18001997d
lea rbx, [0x1801e3d10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180019964
cmp r10, 2
jb 0x180019964
cmp byte [r9], r8b
jne 0x180019964
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 0x180019940
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800199bf
lea rbx, [0x1801e3d10]
cmp r8b, 0x23
jne 0x1800199a3
cmp byte [r9], r8b
jne 0x1800199a3
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 0x180019990
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180019b00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180019b1a
mov qword [r8], 0
lea rdx, [0x1801e3908]
call fcn.1800199d0
mov rbx, rax
test rax, rax
jne 0x180019b3a
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 qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180019c13
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180019c13
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180019c13
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180019c13
cmp rdi, 0xffffffffffffffff
je 0x180019c13
mov rax, qword [0x180249660]
test rax, rax
je 0x180019bb0
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180019c13
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180019c00
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180249660]
test rax, rax
je 0x180019bf5
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180019c1c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180019c0e
mov qword [r14], rdi
mov rax, rsi
jmp 0x180019c1e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
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 0x18001c5c0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x1801e3d10]
movsxd rcx, dword [rcx + 0xd0]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x180249660]
not ebx
cmp dword [rcx + 0x3ebc], ebx
jne 0x18001c655
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18002e050
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1800280f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18023e340]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180249660]
mov edi, ecx
cmp byte [rbx + 0x4235], 0
jne 0x180028151
cmp byte [rbx + 0x4236], 0
jne 0x180028151
movsx r9d, word [rbx + 0x531a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1800197e0
test dil, 1
je 0x180028278
jmp 0x1800281dc
movss xmm1, dword [rbx + 0x3890]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x531a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180212db0]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x180212da4]
addss xmm0, dword [rbx + 0xdf4]
addss xmm1, dword [rbx + 0xdf8]
mov qword [rbx + 0x3fa0], rax
mov dword [rbx + 0x3f8c], 1
movss dword [rbx + 0x3f98], xmm0
movss dword [rbx + 0x3f9c], xmm1
movss xmm0, dword [rbx + 0x38ec]
mulss xmm0, dword [0x180212ad8]
or dword [rbx + 0x3f88], 0x41
movss dword [rbx + 0x3fe8], xmm0
call fcn.1800197e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180028230
lea r11, [0x1801e3d10]
nop dword [rax]
cmp r9b, 0x23
jne 0x180028213
cmp byte [r8], r9b
jne 0x180028213
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 0x180028200
not ecx
call fcn.180021210
test rax, rax
je 0x180028278
cmp byte [rax + 0x96], 0
je 0x180028278
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x531a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x531a]
call fcn.1800197e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1800239a0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18019c640
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x18002cc70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53c8], 0
lea rbx, [rcx + 0x53d0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18002cd17
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18002ccca
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18002ebe0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18001a0f0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53c8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53d8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180249658]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18002cd1f
mov rcx, rbx
call fcn.18001a0f0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18002d290
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180249660]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18002d2f3
mov qword [rsp], rbx
lea rbx, [0x1801e3d10]
nop dword [rax]
cmp r9b, 0x23
jne 0x18002d2d3
cmp byte [r8], r9b
jne 0x18002d2d3
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 0x18002d2c0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5378]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18002d327
mov r10, qword [r10 + 0x5380]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18002d32e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18002d314
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x18004da70
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x18004dafc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18004dad0
lea r11, [0x1801e3d10]
nop
cmp r9b, 0x23
jne 0x18004dab3
cmp byte [r8], r9b
jne 0x18004dab3
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 0x18004daa0
mov rcx, qword [0x180249660]
not eax
cmp dword [rcx + 0x3ed4], eax
jne 0x18004dae7
mov dword [rcx + 0x3ed8], eax
cmp dword [rcx + 0x3f00], eax
jne 0x18004db56
mov byte [rcx + 0x3f04], 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rbx, qword [0x180249660]
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov r8, qword [rbx + 0x3e88]
movsxd rax, dword [r8 + 0xd0]
mov r8, qword [r8 + 0xd8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180019920
cmp dword [rbx + 0x3ebc], eax
mov esi, eax
mov rbx, qword [rsp + 0x30]
jne 0x18004db4f
mov r8, rdi
mov edx, ntohl
mov ecx, eax
call fcn.18002e050
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x48
mov rbx, r8
mov qword [rsp + 0x20], rdx
mov rsi, rdx
mov rbp, rcx
xor r14d, r14d
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x180056d01
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rbp + 0x4c]
cmp eax, 0x7fffffff
jne 0x180056d1c
dec eax
mov ecx, 6
mov dword [rbp + 0x4c], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x40], rdi
jbe 0x180056d32
mov rdx, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov rcx, r14
test r8, r8
je 0x180056d63
movabs r10, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x180056d50
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xf0]
call fcn.180067ba0
mov rax, qword [rax + 8]
test rax, rax
jne 0x180056d87
mov rax, qword [rbp + 0xf8]
cmp rax, qword [rbp + 0xf8]
jne 0x180056d99
mov qword [rsi], r14
mov qword [rsi + 8], r14
jmp 0x180056db5
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x180056da6
lock inc dword [rcx + 8]
mov rcx, qword [rax + 0x38]
mov rax, qword [rax + 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rdi, qword [rsp + 0x40]
mov rax, rsi
add rsp, 0x48
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x180065130
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
jbe 0x180065165
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
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.18005ad50
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 0x180065284
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x180065202
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180065273
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x18006523b
mov r10, qword [rdx]
cmp r10, rax
je 0x180065235
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 0x180065273
cmp r8, rdx
je 0x18006524f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x180065295
cmp r8, rdx
jne 0x180065240
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 0x1800651d0
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 0x180065273