Function at 0x140100040
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x140596f00]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r12d, r12d
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140100107
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140100107
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
mov edx, 0x55bb3e15
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140100102
nop dword [rax]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
lea rax, [rax + 1]
test cl, cl
jne 0x1401000e0
cmp edx, 0x436589ff
je 0x140100209
test r8d, r8d
jne 0x1401000c0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x14010011c
cmp qword [rax + 0x30], r12
jne 0x140100090
mov r15, r12
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x79]
call fcn.1401004a0
mov rdi, rax
cmp byte [rax + 0x20], 0
je 0x140100377
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov qword [rbp - 0x11], r12
mov rax, qword [rax + 0x10]
shr rax, 1
mov qword [rbp + 0x17], rax
je 0x14010015f
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x21]
call fcn.14010bd90
mov rsi, r12
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140100294
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], r12
cmp rax, rsi
jb 0x140100477
sub rax, rsi
mov r8d, 2
cmp rax, r8
cmovb r8, rax
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1401001a5
mov rax, qword [rdi]
lea rdx, [rax + rsi]
lea rcx, [rbp - 9]
call fcn.1400f2730
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rbx, qword [rbp - 9]
mov dword [rax], r12d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x29]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp - 0x29]
je 0x14010048a
cmp dword [r14], 0x22
je 0x14010047d
mov byte [rbp - 0x79], al
mov rdx, qword [rbp - 0x19]
cmp rdx, qword [rbp - 0x11]
je 0x140100226
mov byte [rdx], al
inc qword [rbp - 0x19]
jmp 0x140100233
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rbx + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov r15d, dword [rcx + rax*4]
add r15, r9
jmp 0x14010011f
lea r8, [rbp - 0x79]
lea rcx, [rbp - 0x21]
call fcn.14010f850
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rax, qword [rbp - 9]
mov qword [rbp + 7], r12
mov byte [rax], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140100283
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010027e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140100322
call fcn.140127e30
add rsi, 2
mov rax, qword [rdi + 0x10]
cmp rsi, rax
jb 0x140100170
lea r9, [rbp - 0x79]
mov r8, qword [rbp - 0x19]
mov rdx, qword [rbp - 0x21]
lea rcx, [rbp + 0x1f]
call fcn.1400e1890
nop
lea rax, [rbp + 0x1f]
cmp rdi, rax
je 0x1401002cd
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rdx, qword [rbp + 0x1f]
mov r8, qword [rbp + 0x2f]
mov rcx, rdi
call fcn.1400e09d0
lea rax, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rax, qword [rbp + 0x1f]
mov byte [rax], 0
mov rcx, qword [rbp - 0x21]
cmp rcx, qword [rbp - 0x19]
je 0x1401002ec
mov qword [rbp - 0x19], rcx
mov byte [rdi + 0x20], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x140100332
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140100329
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140100329
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127e30
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140100377
mov rdx, qword [rbp - 0x11]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140100366
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140100366
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127e30
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r12
mov rdx, rdi
lea rcx, [rbp - 0x71]
call fcn.1400e0750
nop
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], 0xf
cmova rcx, qword [rbp - 0x71]
call r15
mov rbx, rax
mov rdx, qword [rbp - 0x59]
cmp rdx, 0xf
jbe 0x1401003d6
inc rdx
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401003d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401003d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127e30
movdqa xmm0, xmmword [0x140173540]
movdqu xmmword [rbp - 0x61], xmm0
mov byte [rbp - 0x71], 0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140100425
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140100420
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140100420
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127e30
movdqa xmm0, xmmword [0x140173540]
movdqu xmmword [rbp - 0x41], xmm0
mov byte [rbp - 0x51], 0
test rbx, rbx
je 0x140100442
mov eax, 1
jmp 0x14010044a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140128080
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14000aaf0
nop
lea rcx, str.stoul_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
lea rcx, str.invalid_stoul_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3