Function at 0x140081f40
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140145ec8]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rsp + 0x50], r12
mov byte [rsp + 0x58], r12b
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x70], xmm1
mov qword [rbp - 0x80], r12
mov byte [rbp - 0x78], r12b
movdqa xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x60], r12b
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov byte [rbp - 0x48], r12b
mov ecx, dword [0x140185200]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
lea rbx, [0x140184a10]
mov eax, dword [rdx + rax]
cmp dword [0x140184a30], eax
jg 0x1400822ae
cmp qword [rdi + 0x18], 0x10
jb 0x140082019
mov rdx, qword [rdi]
mov qword [rsp + 0x30], rdx
mov rbx, rdx
add rbx, qword [rdi + 0x10]
mov rdi, rdx
jmp 0x140082025
mov rbx, qword [rdi + 0x10]
add rbx, rdi
mov qword [rsp + 0x30], rdi
mov r13, rbx
mov r15, rbx
mov r14, qword [0x140184a08]
test r14, r14
je 0x14008225c
xor r12b, r12b
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [r14 + 0x20]
mov ecx, dword [r14 + 0x28]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmmword [rbp], xmm0
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmmword [rbp + 0x40], xmm0
xor edx, edx
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x70], r14
mov dword [rbp + 0x78], eax
mov dword [rbp + 0x7c], edx
mov byte [rbp + 0x80], dl
mov dword [rbp + 0x84], ecx
movzx eax, byte [r14 + 0xc]
shr al, 3
and al, 1
mov byte [rbp + 0x88], al
lea rax, [0x140184a10]
mov qword [rbp + 0x90], rax
mov edx, dword [r14 + 0x24]
lea rcx, [rbp + 0x40]
call fcn.140064970
nop
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.140017e40
test al, al
jne 0x140082197
cmp rdi, rbx
je 0x1400821b1
mov eax, dword [rbp + 0x7c]
btr eax, 0xd
bts eax, 8
mov dword [rbp + 0x7c], eax
lea r8, [rdi + 1]
xor r13d, r13d
mov qword [rsp + 0x20], r13
mov r9, rbx
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.140033540
mov rax, qword [rax]
cmp rax, rbx
je 0x14008217e
mov r14, rax
nop word [rax + rax]
mov qword [rbp + 0x68], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.140017e40
test al, al
jne 0x140082197
lea r8, [r14 + 1]
mov qword [rsp + 0x20], r13
mov r9, rbx
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.140033540
mov rax, qword [rax]
mov r14, rax
cmp rax, r15
jne 0x140082140
mov qword [rbp + 0x68], rbx
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.140017e40
test al, al
je 0x1400821b1
mov r12b, 1
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x78], rdi
cmp rdi, qword [rbp - 0x80]
setne byte [rbp - 0x78]
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140082202
mov rdx, qword [rbp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400821ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400821ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f6208
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], 0
lea rcx, [rbp]
call fcn.140023e90
lea rcx, [rbp - 0x40]
call fcn.140023e90
test r12b, r12b
je 0x140082259
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
lea rcx, [rbp - 0x58]
jbe 0x14008224f
lea rcx, [r8 + 0x18]
mov rdx, rsi
call fcn.14006b1b0
jmp 0x140082271
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
lea rcx, [rsp + 0x60]
call fcn.140024ca0
mov rax, rsi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400f6320
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [0x140184a30]
call fcn.1400f66d8
cmp dword [0x140184a30], 0xffffffff
jne 0x140081ffe
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140184a08], xmm0
movups xmmword [0x140184a18], xmm0
mov qword [0x140184a28], rax
mov qword [0x140184a08], r12
mov rcx, rbx
call fcn.140021090
nop
mov r9d, 1
lea r8, [0x1401140d9]
lea rdx, str..__a_zA_Z0_9___
lea rcx, [0x140184a08]
call fcn.140018a60
nop
lea rcx, [0x1401054e0]
call fcn.1400f65a4
nop
lea rcx, [0x140184a30]
call fcn.1400f666c
jmp 0x140081ffe