joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010c850
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 0x14010c885
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.14010ca00
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 0x14010c9c6
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
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 0x14010c940
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14010c9b5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14010c97d
mov r10, qword [rdx]
cmp r10, rax
je 0x14010c977
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 0x14010c9b5
cmp r9, rdx
je 0x14010c991
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14010c9d7
cmp r9, rdx
jne 0x14010c982
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 0x14010c8f0
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 0x14010c9b5
Function at 0x14010d040
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14010d075
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 + 0x60], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x30], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14010ca00
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 0x14010d1b6
mov qword [rsp + 0x68], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
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 0x14010d130
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14010d1a5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14010d16d
mov r10, qword [rdx]
cmp r10, rax
je 0x14010d167
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 0x14010d1a5
cmp r9, rdx
je 0x14010d181
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14010d1da
cmp r9, rdx
jne 0x14010d172
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 0x14010d0e0
mov rbp, qword [rsp + 0x68]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
call fcn.14010c350
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
add rsp, 0x38
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 0x14010d1a5
Function at 0x14010db80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140283740]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r9
mov rdi, r8
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401d5b30
mov r9, rax
mov eax, dword [rbx]
mov dword [r9], eax
mov eax, dword [rdi]
mov dword [r9 + 4], eax
lea rax, [0x1400fffc0]
mov qword [r9 + 8], rax
mov qword [rsp + 0x30], r9
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x140110510]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x14010dc19
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401d5b10
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14010dc30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140283740]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.1401d5b30
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140110550]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14010dca3
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401d5b10
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14010dcc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140283740]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401d5b30
mov r9, rax
mov rax, qword [rbx]
mov qword [r9], rax
lea rax, [0x14000b820]
mov qword [r9 + 8], rax
mov qword [rsp + 0x30], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x140110580]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14010dd47
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401d5b10
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140112ce0
Capabilities:
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x140295760]
nop word [rax + rax]
xor eax, eax
test r9b, 1
je 0x140112cfc
bts eax, 7
mov ecx, r9d
shr ecx, 1
test cl, 1
je 0x140112d0a
bts eax, 6
shr ecx, 1
test cl, 1
je 0x140112d15
bts eax, 5
shr ecx, 1
test cl, 1
je 0x140112d20
bts eax, 4
shr ecx, 1
test cl, 1
je 0x140112d2b
bts eax, 3
shr ecx, 1
test cl, 1
je 0x140112d36
bts eax, 2
shr ecx, 1
test cl, 1
je 0x140112d41
bts eax, 1
test cl, 2
je 0x140112d4a
bts eax, 0
shl eax, 0x18
lea ecx, [rax + rax]
mov edx, ecx
xor edx, 0x4c11db7
test eax, eax
cmovns edx, ecx
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
test edx, edx
cmovns r8d, eax
xor ecx, ecx
lea edx, [rcx + 0x1e]
test r8b, 1
je 0x140112de1
lea eax, [rdx + 1]
bts ecx, eax
sar r8d, 1
test r8b, 1
je 0x140112ded
bts ecx, edx
sar r8d, 1
sub edx, 2
cmp edx, 0xfffffffe
jg 0x140112dd5
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x140112cf0
mov dword [0x140295b60], 1
ret
Function at 0x140114170
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
xor ebx, ebx
lea r14, [rcx + 0xf0]
mov rax, qword [r14]
mov rbp, rcx
lea r9d, [rbx + 1]
cmp rax, r14
je 0x1401141bc
nop dword [rax + rax]
mov rbx, rax
cmp word [rax + 0x10], dx
jne 0x1401141af
cmp byte [rax + 0x29], r8b
je 0x1401141b7
mov rax, qword [rax]
cmp rax, r14
jne 0x1401141a0
cmp rax, r14
jne 0x140114209
add rcx, 0x110
mov rax, qword [rcx]
cmp rax, rcx
je 0x14011420e
nop dword [rax + rax]
mov rbx, rax
cmp word [rax + 0x26], r9w
jb 0x14011420e
cmp word [rax + 0x10], dx
jne 0x1401141e6
cmp byte [rax + 0x29], r8b
je 0x140114201
mov rax, qword [rax]
cmp rax, rcx
jne 0x1401141d0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp rax, rcx
je 0x14011420e
xor r9d, r9d
test rbx, rbx
jne 0x140114221
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
movzx eax, r8b
mov qword [rsp + 0x30], rsi
cmp rax, qword [rbp + 0x48]
jae 0x14011426c
lea r8, [rax + rax*4]
shr dx, 0xc
shl r8, 4
add r8, qword [rbp + 0x40]
movzx eax, dx
lea rcx, [r8 + rax*2]
movzx eax, word [r8 + rax*2 + 6]
test ax, ax
je 0x14011426c
sub ax, 1
mov word [rcx + 6], ax
jne 0x14011426c
movzx ecx, word [r8 + 4]
movzx eax, dx
btr ecx, eax
mov word [r8 + 4], cx
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
movzx esi, byte [rbx + 0x28]
and esi, 0xf
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
cmp qword [rbx + 0x58], 0
je 0x1401142f5
test r9d, r9d
je 0x14011429e
movzx eax, word [rbx + 0x24]
sub dword [rbp + 0xd8], eax
mov rax, qword [rbx + 0x58]
dec qword [rax]
mov rax, qword [rbx + 0x58]
cmp qword [rax], 0
jne 0x1401142f5
or dword [rax + 8], 0x100
mov qword [rsp + 0x38], rdi
mov rdi, qword [rbx + 0x58]
test rdi, rdi
je 0x1401142f0
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x1401142d2
mov rcx, rdi
call rax
test byte [rdi + 8], 4
jne 0x1401142e7
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1401142e7
call qword [fcn.1401d6f8a]
mov rcx, rdi
call qword [fcn.1401d6f8a]
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
call qword [fcn.1401d6f8a]
mov rcx, qword [r14]
cmp rcx, r14
je 0x14011430f
mov eax, dword [rcx + 0x18]
add eax, dword [rcx + 0x14]
mov dword [rbp + 0x70], eax
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140114f50
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp dword [r8 + 0x38], 1
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rbp, rcx
je 0x140114f7f
xor eax, eax
jmp 0x140115120
mov ecx, dword [r9 + 0x10]
mov qword [rsp + 0x30], rsi
call qword [sym.imp.WS2_32.dll_ntohl]
mov esi, eax
lea rax, [rsi - 1]
cmp rax, 0xfe
ja 0x1401150fc
mov ecx, dword [rdi + 0x1c]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xa4]
jne 0x1401150fc
mov ecx, dword [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0x9c]
jne 0x1401150fc
mov ecx, dword [rdi + 0x24]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xa0]
jne 0x1401150fc
mov eax, dword [rbx + 0x1c]
cmp dword [rdi + 0x28], eax
jne 0x1401150fc
mov edx, 1
mov r8b, 0xff
mov rcx, rbx
call fcn.140114170
cmp rsi, qword [rbx + 0x48]
jae 0x140115005
mov qword [rbx + 0x48], rsi
movzx ecx, word [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x18], ax
movzx eax, byte [rdi + 6]
mov byte [rbx + 0x21], al
movzx eax, byte [rdi + 7]
mov byte [rbx + 0x20], al
mov ecx, dword [rdi + 8]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, 0x240
mov esi, 0x1000
cmp eax, ecx
jb 0x14011503f
cmp eax, esi
mov ecx, eax
cmova ecx, esi
cmp ecx, dword [rbx + 0xd0]
jae 0x14011504d
mov dword [rbx + 0xd0], ecx
mov ecx, dword [rdi + 0xc]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, esi
jb 0x140115066
mov ecx, 0x10000
mov esi, eax
cmp eax, ecx
cmova esi, ecx
cmp esi, dword [rbx + 0xd4]
jae 0x140115074
mov dword [rbx + 0xd4], esi
mov ecx, dword [rdi + 0x14]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x50], eax
mov ecx, dword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x54], eax
mov dword [rbp + 0x24], 1
mov eax, dword [rbx + 0x38]
test r14, r14
je 0x1401150df
add eax, 0xfffffffb
cmp eax, 1
jbe 0x1401150bf
cmp dword [rbx + 0x50], 0
je 0x1401150b4
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2af0]
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2ae8]
mov dword [rbx + 0x38], 5
mov dword [r14], 1
mov qword [r14 + 8], rbx
mov eax, dword [rbx + 0x1c8]
mov dword [r14 + 0x14], eax
xor eax, eax
jmp 0x14011511b
xor r8d, r8d
mov rdx, rbx
cmp eax, 1
mov rcx, rbp
sete r8b
add r8d, 3
call fcn.140113f30
xor eax, eax
jmp 0x14011511b
xor r8d, r8d
mov rdx, rbx
mov dword [rbx + 0x1c8], r8d
mov rcx, rbp
mov r8d, 9
call fcn.140113f30
lea eax, [r8 - 0xa]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140116a70
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [0x1402948f0]
xor r8d, r8d
xor edx, edx
mov dword [rbx + 0x40], eax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1401162a0
Function at 0x140116e40
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x140283740]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x101
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140116ea9
movzx eax, word [rsp + 0x20]
cmp al, 1
jne 0x140116ea3
shr ax, 8
cmp al, 1
jne 0x140116ea3
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1401d5b10
add rsp, 0x1d8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1401d5b10
add rsp, 0x1d8
ret

Function at 0x140116ef0
Capabilities:
Resolve dns

Disassembly:
push rbx
push r14
sub rsp, 0x58
mov rax, qword [0x140283740]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x140116f35
cmp word [rax + 0x10], 2
jne 0x140116f35
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [r14], eax
xor eax, eax
jmp 0x140116fe9
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x50], rsi
xor esi, esi
mov qword [rsp + 0x48], rdi
mov ebp, esi
mov qword [rsp + 0x40], r15
mov edi, esi
mov dword [rsp + 0x28], 0
lea r15d, [rsi + 0x2e]
nop
lea rdx, [rbx + 1]
mov qword [rsp + 0x20], rdx
cmp byte [rbx], 0x30
je 0x140116fa3
mov r8d, 0xa
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp eax, 0xff
ja 0x140116fcb
mov rdx, qword [rsp + 0x20]
cmp rdx, rbx
je 0x140116fcb
mov rcx, rdx
sub rcx, rbx
cmp rcx, 3
jg 0x140116fcb
mov byte [rsp + rdi + 0x28], al
movsx eax, byte [rdx]
cmp ebp, 3
mov ecx, esi
cmovl ecx, r15d
cmp eax, ecx
jne 0x140116fcb
inc ebp
lea rbx, [rdx + 1]
inc rdi
cmp rdi, 4
jl 0x140116f60
mov eax, dword [rsp + 0x28]
mov dword [r14], eax
jmp 0x140116fd0
mov esi, 0xffffffff
mov r15, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401d5b10
add rsp, 0x58
pop r14
pop rbx
ret

Function at 0x140117000
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
jne 0x14011700a
mov eax, edx
ret
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.140117000
Function at 0x14011f560
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rdi, qword [0x140294ff0]
mov rbx, rcx
cmp qword [rdi + 0x70], 0xf
lea rcx, [rdi + 0x58]
mov rdx, qword [rcx + 0x10]
jbe 0x14011f586
mov rcx, qword [rcx]
lea r9, str.localhost
mov qword [rsp + 0x20], 9
call fcn.14000dfc0
cmp rax, 0xffffffffffffffff
jne 0x14011f7bb
imul r11d, dword [rbx + 0x30], 0x64
xor r9d, r9d
mov qword [rsp + 0x48], rbp
movabs rbp, 0xcbf29ce484222325
mov qword [rsp + 0x50], rsi
movabs rsi, 0x100000001b3
add r11d, dword [rbx + 0x2c]
mov eax, r11d
mov r8d, r11d
shr eax, 8
movzx edx, al
movzx eax, r11b
xor rax, rbp
imul rax, rsi
xor rdx, rax
mov eax, r11d
imul rdx, rsi
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
mov eax, r11d
mov rcx, qword [rdi + 0x1c2]
imul rdx, rsi
shr rax, 0x18
xor rdx, rax
imul rdx, rsi
and rcx, rdx
mov rdx, qword [rdi + 0x19a]
shl rcx, 4
add rcx, qword [rdi + 0x1aa]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x14011f651
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x14011f654
nop dword [rax]
cmp rax, rcx
je 0x14011f651
mov rax, qword [rax + 8]
cmp r11d, dword [rax + 0x10]
jne 0x14011f640
jmp 0x14011f654
mov rax, r9
mov ecx, dword [rbx + 0x14]
test rax, rax
cmove rax, rdx
cmp ecx, 0x12
jne 0x14011f6a0
cmp word [rax + 0x22], r9w
je 0x14011f685
lea r8, str.foreground
mov word [rax + 0x22], r9w
xor edx, edx
mov ecx, r11d
call fcn.14011f360
jmp 0x14011f7b1
lea r8, str.background
mov word [rax + 0x24], r9w
xor edx, edx
mov ecx, r11d
call fcn.14011f360
jmp 0x14011f7b1
movzx r8d, cl
mov r10, rcx
xor r8, rbp
shr ecx, 8
imul r8, rsi
movzx edx, cl
mov ecx, r10d
xor r8, rdx
shr ecx, 0x10
imul r8, rsi
movzx edx, cl
mov rcx, r10
xor r8, rdx
shr rcx, 0x18
mov rdx, qword [rdi + 0x598]
imul r8, rsi
xor r8, rcx
imul r8, rsi
and rdx, r8
mov r8, qword [rdi + 0x570]
shl rdx, 4
add rdx, qword [rdi + 0x580]
mov rcx, qword [rdx + 8]
cmp rcx, r8
je 0x14011f719
mov rdx, qword [rdx]
cmp r10d, dword [rcx + 0x10]
je 0x14011f716
cmp rcx, rdx
je 0x14011f719
mov rcx, qword [rcx + 8]
cmp r10d, dword [rcx + 0x10]
jne 0x14011f707
mov r9, rcx
movzx ecx, word [rbx + 0x14]
test r9, r9
cmove r9, r8
movzx edx, byte [r9 + 0x2e]
cmp dl, 0x12
jne 0x14011f73b
mov word [rax + 0x24], cx
lea r8, str.background
jmp 0x14011f746
mov word [rax + 0x22], cx
lea r8, str.foreground
movzx edx, cx
mov ecx, r11d
call fcn.14011f360
mov rax, qword [0x140294ff0]
mov ecx, dword [rax + 0x10d]
cmp dword [rbx + 4], ecx
jne 0x14011f7b1
mov r9, qword [0x140295bd8]
mov rax, qword [0x140295bd0]
cmp rax, r9
je 0x14011f7ac
nop word [rax + rax]
movzx ecx, word [rax]
mov r8d, dword [rbx + 0x14]
cmp ecx, r8d
jne 0x14011f7a3
movzx edx, byte [rax + 2]
cmp dl, 1
jbe 0x14011f79c
dec dl
mov byte [rax + 2], dl
jmp 0x14011f7a3
sub cx, r8w
mov word [rax], cx
add rax, 4
cmp rax, r9
jne 0x14011f780
call fcn.14015a570
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x1401205a0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14012064c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x1401205da
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x140120660
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14012061a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, Ordinal_41
call fcn.1401d5db4
mov rcx, rbx
test rbx, rbx
jne 0x140120600
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.14010dfd0
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x140120764
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_41
call fcn.1401d5db4
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x140120770
cmp rbx, rbp
jne 0x140120710
cmp qword [rsp + 0x20], r14
jne 0x14012073d
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x14012077f
mov qword [r15], r12
mov rax, r12
jmp 0x140120782
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x14012073d
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_41
call fcn.1401d5db4
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x140120816
cmp rbx, rbp
jne 0x1401207f0
jmp 0x14012073a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x140120790
jmp 0x14012073d