joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003b4d0
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
lea rax, [0x1004e010]
mov byte [rcx + 0x18], 0
mov qword [rsp + 0x40], rbx
mov qword [rcx], rax
mov qword [rsp + 0x48], rdi
mov rdi, rcx
add rcx, 0xa8
call fcn.1002db30
lea rcx, [rdi + 0xa8]
call fcn.1002e840
mov rcx, qword [rdi + 0x10]
lea r11, [0x10049790]
xor ebx, ebx
test rcx, rcx
mov qword [rdi], r11
mov byte [rdi + 0x18], 0
je 0x1003b57c
lea edx, [rbx + 0x64]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1003b57c
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov byte [rdi + 0x18], bl
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x30], 0x103
jne 0x1003b57c
mov rcx, qword [rdi + 0x10]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rdi + 0x19], bl
mov dword [rdi + 8], ebx
je 0x1003b57c
lea edx, [rbx + 1]
mov rcx, rdi
call fcn.10005990
mov qword [rdi + 0x10], rbx
mov dword [rdi + 8], ebx
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x1003b595
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0xa0], rbx
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
ret

Function at 0x1003b5b0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov rdi, rcx
lea r8, [0x1004dfe0]
add rcx, 0xa8
call fcn.1002e170
lea rdx, [rdi + 0x1a]
lea rcx, [rdi + 0xa8]
mov dword [rdi + 0x538], eax
call fcn.1002d260
xor esi, esi
cmp byte [rdi + 0x18], sil
jne 0x1003b665
lea rax, [rsp + 0x30]
lea r8, [0x10007b70]
mov r9, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov ecx, dword [rsp + 0x30]
mov qword [rdi + 0x10], rax
mov dword [rdi + 8], ecx
jne 0x1003b677
xor ecx, ecx
call fcn.10021fa0
lea rdx, [0x100497d8]
lea rcx, [rsp + 0x38]
mov rbx, rax
call fcn.100277d0
lea r8, [rdi + 0x1a]
lea rdx, str._comm__create_thread__s__failed:__s
mov r9, rbx
mov rcx, rax
call fcn.100278d0
jmp 0x1003b677
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x1003b677
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rdi + 0x538], esi
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
setg al
add rsp, 0x48
ret

Function at 0x1003b6b0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1005d650]
mov qword [rsp + 0x1c0], rax
lea rdx, [rsp + 0x20]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rcx, qword [rsp + 0x1c0]
call fcn.10044fa0
add rsp, 0x1d8
ret
Function at 0x1003bb50
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
xor esi, esi
mov dword [rax - 0x28], esi
mov dword [rax + 8], esi
mov rax, qword [rcx]
mov rdi, rcx
call qword [rax + reloc.WS2_32.dll_getservbyport]
test eax, eax
jne 0x1003bc4e
cmp qword [rdi + 0x18], 0xffffffffffffffff
je 0x1003bc4e
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x78], rbx
mov dword [rdi + 0x74], esi
call fcn.1003fa50
mov rcx, qword [rdi + 8]
mov ebx, eax
call fcn.1003ff00
mov rcx, qword [rdi + 8]
add rax, rbx
mov qword [rsp + 0x50], rax
call fcn.1003f910
mov rcx, qword [rdi + 8]
mov ebx, eax
call fcn.1003fa50
mov rcx, qword [rdi + 0x18]
sub ebx, eax
lea rax, [rdi + 0x20]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x70]
lea r8d, [rsi + 1]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
mov rbx, qword [rsp + 0x78]
cmp eax, 0xffffffff
setne sil
test esi, esi
mov dword [rdi + 0x70], esi
je 0x1003bc1b
mov edx, dword [rsp + 0x70]
mov rcx, qword [rdi + 8]
call fcn.1003faf0
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rdi + 0x70], 0
jne 0x1003bc48
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x1003bc48
mov dword [rdi + 0x10], 1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rdi + 0x38]
mov dword [rdi + 0x74], eax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [rsp + 0x70]
jmp 0x1003bc53
mov eax, 0xffffffff
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
add rsp, 0x68
ret
Function at 0x1003bd00
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov dword [rax - 0x28], 0
mov rax, qword [rcx]
mov edi, r9d
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
call qword [rax + reloc.WS2_32.dll_getservbyport]
test eax, eax
jne 0x1003be23
mov rcx, qword [rbx + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x1003be23
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], 0
lea rsi, [rbx + 0x20]
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov r8d, 1
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rbp
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x1003be13
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x1003bdb3
mov rcx, qword [rbx + 0x38]
mov dword [rsp + 0x40], 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [rsp + 0x40]
jmp 0x1003be28
mov rcx, qword [rbx + 0x38]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1003bde2
cmp eax, 0x102
jne 0x1003be13
mov rcx, qword [rbx + 0x38]
mov dword [rsp + 0x40], 0xfffffffc
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [rsp + 0x40]
jmp 0x1003be28
mov rcx, qword [rbx + 0x18]
lea rax, [rsp + 0x44]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
mov ecx, dword [rsp + 0x40]
mov edx, 0xfffffffd
test eax, eax
cmove ecx, edx
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [rsp + 0x40]
jmp 0x1003be28
mov eax, 0xffffffff
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1003be50
Capabilities:
Send data
Send data on socket

Disassembly:
mov r11, rsp
sub rsp, 0x68
xor eax, eax
test rdx, rdx
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rdi
mov rbx, rcx
mov qword [r11 - 0x18], rdx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
mov edi, r9d
mov dword [r11 - 0x20], r8d
je 0x1003bf8e
test r8d, r8d
je 0x1003bf8e
mov rcx, qword [rcx + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x1003bf8e
test rcx, rcx
je 0x1003bf8e
cmp qword [rbx + 8], rax
jne 0x1003beb8
mov eax, 0xfffffffe
mov rdi, qword [r11 + 0x20]
mov rbx, qword [r11 + 0x10]
add rsp, 0x68
ret
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x80], rsi
lea rsi, [rbx + 0x40]
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov r8d, 1
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x1003bf5d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x1003bf0b
mov dword [rbx + 0x10], 1
mov dword [rsp + 0x40], 0xfffffffe
jmp 0x1003bf5d
mov rcx, qword [rbx + 0x58]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1003bf2c
cmp eax, 0x102
jne 0x1003bf5d
mov dword [rsp + 0x40], 0xfffffffc
jmp 0x1003bf5d
mov rcx, qword [rbx + 0x18]
lea rax, [rsp + 0x44]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
mov ecx, dword [rsp + 0x40]
mov edx, 0xfffffffd
test eax, eax
cmove ecx, edx
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
movsxd rax, dword [rsp + 0x40]
test eax, eax
jle 0x1003bf74
add qword [rbx + 0x68], rax
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x78]
add rsp, 0x68
ret
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x78]
mov eax, 0xffffffff
add rsp, 0x68
ret
Function at 0x1003d870
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov rax, rsp
sub rsp, 0x88
mov qword [rax + 0x20], rbx
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov rsi, rcx
xor r13d, r13d
mov qword [rax - 0x38], r15
mov ecx, 0x4000
mov r12, r8
mov rdi, rdx
mov r15d, r13d
mov dword [rsp + 0x40], r13d
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
test rax, rax
mov rbx, rax
jne 0x1003d8c5
lea eax, [rbx - 1]
jmp 0x1003da82
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x80], rbp
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rdi
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x58], r14
mov ebp, r13d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov r14, rax
jne 0x1003d911
mov eax, 0xfffffffe
jmp 0x1003da75
mov rax, qword [rsi]
mov r9d, 0xea60
mov r8d, 0x4000
mov rdx, rbx
mov rcx, rsi
mov r13b, 1
call qword [rax + 0x28]
test eax, eax
mov esi, eax
jle 0x1003da35
test esi, esi
je 0x1003da0e
test r13b, r13b
je 0x1003d9e1
lea ecx, [rsi - 3]
xor edi, edi
xor eax, eax
test ecx, ecx
jle 0x1003da0e
cmp byte [rax + rbx], 0xd
jne 0x1003d971
cmp byte [rax + rbx + 1], 0xa
jne 0x1003d971
cmp byte [rax + rbx + 2], 0xd
jne 0x1003d971
cmp byte [rax + rbx + 3], 0xa
je 0x1003d97f
inc edi
inc rax
cmp edi, ecx
jl 0x1003d956
jmp 0x1003da0e
test r12, r12
je 0x1003d996
mov ecx, esi
sub ecx, edi
sub ecx, 4
call r12
test eax, eax
js 0x1003da48
sub esi, edi
mov edx, edi
mov rcx, rbx
lea ebp, [rbp + rsi - 4]
call fcn.1003d700
test eax, eax
mov r15d, eax
jle 0x1003da48
movsxd rcx, edi
lea r8d, [rsi - 4]
lea r9, [rsp + 0x44]
lea rdx, [rcx + rbx + 4]
mov rcx, r14
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor r13b, r13b
jmp 0x1003da0e
test r12, r12
je 0x1003d9ef
mov ecx, esi
call r12
test eax, eax
js 0x1003da48
lea r9, [rsp + 0x44]
mov r8d, esi
mov rdx, rbx
mov rcx, r14
add ebp, esi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x90]
mov r9d, 0xea60
mov r8d, 0x4000
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x28]
test eax, eax
mov esi, eax
jg 0x1003d936
mov rcx, rbx
call fcn.100449c0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1003da51
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], 0
je 0x1003d907
test r15d, r15d
jg 0x1003da68
mov eax, 0xfffffffd
jmp 0x1003da75
mov eax, 0xfffffffc
cmp r15d, ebp
cmovne ebp, eax
mov eax, ebp
mov rbp, qword [rsp + 0x80]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x88
ret
Function at 0x140006070
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r11, rdx
movzx eax, byte [rdx + 1]
mov r9, qword [r10 + 8]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r10 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rcx, qword [rdx + 8]
cmp rcx, r9
je 0x140006121
mov rax, qword [r11]
mov r8, qword [rdx]
cmp rax, qword [rcx + 0x10]
je 0x140006123
nop
cmp rcx, r8
je 0x140006121
mov rcx, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
jne 0x140006110
jmp 0x140006123
xor ecx, ecx
test rcx, rcx
je 0x14000617e
mov rax, qword [rdx]
cmp qword [rdx + 8], rcx
jne 0x140006149
cmp rax, rcx
jne 0x14000613f
mov qword [rdx], r9
mov qword [rdx + 8], r9
jmp 0x140006154
mov r9, qword [rcx + 8]
mov qword [rdx + 8], r9
jmp 0x140006154
cmp rax, rcx
jne 0x140006154
mov rax, qword [rcx]
mov qword [rdx], rax
mov rdx, qword [rcx]
dec qword [r10 + 0x10]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 0x20
call fcn.1400c838c
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x140006250
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 0x14000642b
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.140005100
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 0x1400063f4
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
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
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 0x14000636c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400063e3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400063a9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400063a3
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 0x1400063e3
cmp r9, rdx
je 0x1400063bf
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140006405
cmp r9, rdx
jne 0x1400063b0
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 0x1400062f0
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 0x1400063e3
lea rcx, str.invalid_hash_bucket_count
call fcn.1400c5b54
int3
Function at 0x1400079d0
Capabilities:
Read .ini file

Disassembly:
cmp qword [r8 + 0x18], 8
jb 0x1400079da
mov r8, qword [r8]
cmp qword [rdx + 0x18], 8
jb 0x1400079e4
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb case.default.0x1400079f4
mov rcx, qword [rcx]
mov r9, r8
xor r8d, r8d
jmp qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp al, byte [rdx]
sub al, 0xff
sub al, 0xff
cmp ebx, 0xffffff83
sti
push rbx
cli
push rbx
cli
jnp 0x14025e96c
jnp 0x14025e96e
retf
invalid
mov ch, 0xfd
push 0xfffffffffffffffe
push 0xfffffffffffffffe
cmc
invalid
movabs dword [0x60212021205a305], eax
add byte [rsi], al
add bh, al
inc edi
push qword [rbx]
jae 0x14025e9c2
invalid
invalid
invalid
scasb al, byte [rdi]
or dword [rcx], esp
invalid
invalid
invalid
fmul dword [rdx]
fmul dword [rdx]
or ch, byte [rbp + 8]
insd dword [rdi], dx
or byte [rsi], dh
add al, 0x36
add al, 0x2c
add byte [rax + rax], ch
jle 0x14025f6e1
add byte [rsi - 3], bh
std
jle 0x14025f6e3
sar ah, 1
sar ah, 1
and eax, 0xc6fd25fd
cld
invalid

Function at 0x140007a00
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x38
cmp qword [r9 + 0x18], 8
jb 0x140007a0e
mov r9, qword [r9]
cmp qword [rdx + 0x18], 8
jb 0x140007a18
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140007a22
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r9
mov r9, r8
lea r8, [0x14010fa8c]
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add rsp, 0x38
ret
Function at 0x140012520
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 0x140012542
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 0x1400125bc
mov rdi, r14
mov rcx, rbx
call fcn.140004de0
test rax, rax
jle 0x140012594
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1400ca520
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 0x1400125ac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400125b4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140012556
sub r14, rdi
jmp 0x14001269f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400125d3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400125d5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140012607
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400ca520
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 0x14001269c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140012642
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 0x14001267d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400d8518
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14001269c
cmp rbp, rax
ja 0x140012650
test rbp, rbp
je 0x14001269c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400d8518
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 0x14001fb60
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 rsi, rdx
mov rbp, rcx
movzx eax, byte [r8]
mov r13d, eax
movabs rcx, 0xcbf29ce484222325
xor r13, rcx
movabs rcx, 0x100000001b3
imul r13, rcx
mov rcx, qword [rbp + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rbx, qword [rdx + rcx*8 + 8]
lea r8, [rbp + 8]
mov r15, qword [r8]
cmp rbx, r15
jne 0x14001fbc6
mov rbx, r15
mov r14, r15
jmp 0x14001fc06
mov rcx, qword [rdx + rcx*8]
cmp al, byte [rbx + 0x10]
je 0x14001fbde
nop
cmp rbx, rcx
je 0x14001fc00
mov rbx, qword [rbx + 8]
cmp al, byte [rbx + 0x10]
jne 0x14001fbd0
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
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 r14, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rbp + 0x10], rax
je 0x14001fd56
mov qword [rsp + 0x20], r8
xor eax, eax
mov qword [rsp + 0x28], rax
lea ecx, [rax + 0x18]
call fcn.1400c8100
mov rdi, rax
mov qword [rsp + 0x28], rax
movzx eax, byte [r12]
mov byte [rdi + 0x10], al
xor r12d, r12d
mov word [rdi + 0x12], r12w
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x14001fc5a
cvtsi2ss xmm0, rcx
jmp 0x14001fc6f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14001fc82
cvtsi2ss xmm1, rcx
jmp 0x14001fc97
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x14001fcf8
mov rcx, rbp
call fcn.1400200b0
mov rcx, qword [rbp + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x14001fceb
mov rdx, qword [rdx + rcx*8]
movzx ecx, byte [rdi + 0x10]
cmp cl, byte [rax + 0x10]
je 0x14001fce8
mov rbx, rax
cmp rax, rdx
je 0x14001fd2c
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x14001fcd7
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x14001fd33
mov qword [rcx + rax*8], rdi
jmp 0x14001fd45
mov qword [rsp + 0x20], rax
jmp 0x14001fcf0
cmp r8, r14
jne 0x14001fd3e
mov qword [rcx + rax*8], rdi
jmp 0x14001fd4a
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14001fd4a
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x14001fbe5
lea rcx, str.unordered_map_set_too_long
call fcn.1400c5b54
int3
Function at 0x140020160
Capabilities:
Hash data using fnv

Disassembly:
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 0x1400200d5
cvtsi2ss xmm0, rdx
jmp 0x1400200ea
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1400f6b54
movss xmm1, dword [0x14013ddc4]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140020118
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140020118
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 0x14002014a
cmp rbx, 0x200
jae 0x140020147
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14002014a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140020160
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 0x1400202dc
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.140005100
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 0x1400202a5
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
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 0x140020223
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140020294
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x14002025c
mov r10, qword [rdx]
cmp r10, rax
je 0x140020256
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 0x140020294
cmp r8, rdx
je 0x140020270
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x1400202b6
cmp r8, rdx
jne 0x140020261
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 0x1400201f1
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 0x140020294
lea rcx, str.invalid_hash_bucket_count
call fcn.1400c5b54
int3