Function at 0x1400f8fb0
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 - 0x40]
sub rsp, 0x140
mov rax, qword [0x140596f00]
xor rax, rsp
mov qword [rbp + 0x30], 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 0x1400f9077
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1400f9077
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, 0x7c9b2e6e
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400f9072
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 0x1400f9050
cmp edx, 0xc2d20f73
je 0x1400f917b
test r8d, r8d
jne 0x1400f9030
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x1400f908c
cmp qword [rax + 0x30], r12
jne 0x1400f9000
mov r15, r12
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.1400f96a0
mov rdi, rax
cmp byte [rax + 0x20], 0
je 0x1400f92e6
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov qword [rbp - 0x70], r12
mov rax, qword [rax + 0x10]
shr rax, 1
mov qword [rbp - 0x20], rax
je 0x1400f90d1
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.14010bd90
mov rsi, r12
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400f9207
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
cmp rax, rsi
jb 0x1400f967c
sub rax, rsi
mov r8d, 2
cmp rax, r8
cmovb r8, rax
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400f9116
mov rax, qword [rdi]
lea rdx, [rax + rsi]
lea rcx, [rbp - 0x60]
call fcn.1400f2730
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rbx, qword [rbp - 0x60]
mov dword [rax], r12d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp - 0x68]
je 0x1400f966f
cmp dword [r14], 0x22
je 0x1400f9662
mov byte [rsp + 0x20], al
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x1400f9198
mov byte [rdx], al
inc qword [rbp - 0x78]
jmp 0x1400f91a6
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 0x1400f908f
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14010f850
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rax, qword [rbp - 0x60]
mov qword [rbp - 0x50], r12
mov byte [rax], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400f91f6
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f91f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f929d
call fcn.140127e30
add rsi, 2
mov rax, qword [rdi + 0x10]
cmp rsi, rax
jb 0x1400f90e1
lea r9, [rsp + 0x20]
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x18]
call fcn.1400e1890
nop
lea rax, [rbp - 0x18]
cmp rdi, rax
je 0x1400f9241
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
mov rcx, rdi
call fcn.1400e09d0
lea rax, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rax, qword [rbp - 0x18]
mov byte [rax], 0
mov rcx, qword [rbp - 0x80]
cmp rcx, qword [rbp - 0x78]
je 0x1400f9260
mov qword [rbp - 0x78], rcx
mov byte [rdi + 0x20], 0
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x1400f92ad
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f92a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f92a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
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 - 0x80]
test rcx, rcx
je 0x1400f92e6
mov rdx, qword [rbp - 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f92e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f92e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127e30
cmp qword [rdi + 0x18], 0xf
jbe 0x1400f92f0
mov rdi, qword [rdi]
mov rcx, rdi
call r15
mov r15, rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400f9339
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f9334
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f9334
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 [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
test r15, r15
je 0x1400f962d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1400f98c0
mov rdi, rax
cmp byte [rax + 0x20], 0
je 0x1400f959f
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov qword [rbp - 0x70], r12
mov rax, qword [rax + 0x10]
shr rax, 1
mov qword [rbp - 0x68], rax
je 0x1400f9397
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x80]
call fcn.14010bd90
mov rsi, r12
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400f94bb
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
cmp rax, rsi
jb 0x1400f965c
sub rax, rsi
mov r8d, 2
cmp rax, r8
cmovb r8, rax
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400f93e5
mov rax, qword [rdi]
lea rdx, [rax + rsi]
lea rcx, [rbp - 0x40]
call fcn.1400f2730
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rbx, qword [rbp - 0x40]
mov dword [rax], r12d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rsp + 0x78]
je 0x1400f968f
cmp dword [r14], 0x22
je 0x1400f9682
mov byte [rsp + 0x20], al
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x1400f944c
mov byte [rdx], al
inc qword [rbp - 0x78]
jmp 0x1400f945a
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14010f850
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rax, qword [rbp - 0x40]
mov qword [rbp - 0x30], r12
mov byte [rax], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400f94aa
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f94a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f954a
call fcn.140127e30
add rsi, 2
mov rax, qword [rdi + 0x10]
cmp rsi, rax
jb 0x1400f93b0
lea r9, [rsp + 0x20]
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp + 8]
call fcn.1400e1890
nop
lea rax, [rbp + 8]
cmp rdi, rax
je 0x1400f94f5
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rdx, qword [rbp + 8]
mov r8, qword [rbp + 0x18]
mov rcx, rdi
call fcn.1400e09d0
lea rax, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rax, qword [rbp + 8]
mov byte [rax], 0
mov rcx, qword [rbp - 0x80]
cmp rcx, qword [rbp - 0x78]
je 0x1400f9514
mov qword [rbp - 0x78], rcx
mov byte [rdi + 0x20], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x1400f955a
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f9551
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f9551
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 - 0x80]
test rcx, rcx
je 0x1400f959f
mov rdx, qword [rbp - 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f958e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f958e
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 - 0x80], xmm0
mov qword [rbp - 0x70], r12
cmp qword [rdi + 0x18], 0xf
jbe 0x1400f95a9
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400f95f8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f95f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f95f3
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 [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
test rbx, rbx
je 0x1400f962d
lea r9, [rbp + 0x28]
mov edx, 1
lea r8d, [rdx + 0x3f]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400f962d
mov byte [rbx], 0xc3
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140128080
lea r11, [rsp + 0x140]
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_
nop
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