Function at 0x1400d1370
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 - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14015ad80]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x48], r13b
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x78], r13b
movdqa xmmword [rbp - 0x80], xmm0
mov byte [rbp - 0x70], r13b
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
mov byte [rbp - 0x58], r13b
mov ecx, dword [0x140198b18]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
lea rbx, [0x140161598]
mov eax, dword [rdx + rax]
cmp dword [0x1401615b8], eax
jg 0x1400d16b4
cmp qword [rsi + 0x18], 0xf
jbe 0x1400d1447
mov r12, qword [rsi]
mov rbx, r12
mov r14, r12
add rbx, qword [rsi + 0x10]
jmp 0x1400d1454
mov rbx, qword [rsi + 0x10]
add rbx, rsi
mov r14, rsi
mov r12, rsi
mov rsi, qword [0x140161590]
test rsi, rsi
je 0x1400d1662
xor r15b, r15b
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsi + 0x20]
mov ecx, dword [rsi + 0x28]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmmword [rbp], xmm1
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], rsi
mov dword [rbp + 0x68], eax
mov dword [rbp + 0x6c], r13d
mov byte [rbp + 0x70], r15b
mov dword [rbp + 0x74], ecx
movzx eax, byte [rsi + 0xc]
shr al, 3
and al, 1
mov byte [rbp + 0x78], al
lea rax, [0x140161598]
mov qword [rbp + 0x80], rax
mov edx, dword [rsi + 0x24]
lea rcx, [rbp + 0x30]
call fcn.1400a35a0
nop
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14001c670
test al, al
jne 0x1400d15a7
cmp r14, rbx
je 0x1400d15be
mov eax, dword [rbp + 0x6c]
btr eax, 0xd
bts eax, 8
mov dword [rbp + 0x6c], eax
lea r8, [r14 + 1]
mov qword [rsp + 0x20], r13
mov r9, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.14003bbd0
mov rax, qword [rax]
cmp rax, rbx
je 0x1400d158e
mov rsi, rax
nop
mov qword [rbp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14001c670
test al, al
jne 0x1400d15a7
lea r8, [rsi + 1]
mov qword [rsp + 0x20], r13
mov r9, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.14003bbd0
mov rax, qword [rax]
mov rsi, rax
cmp rax, rbx
jne 0x1400d1550
mov qword [rbp + 0x58], rbx
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14001c670
test al, al
je 0x1400d15be
mov r15b, 1
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x68], r14
cmp r14, qword [rsp + 0x70]
setne byte [rsp + 0x78]
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1400d160b
mov rdx, qword [rbp + 0x40]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d15fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d15fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6bec
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r13
lea rcx, [rbp - 0x10]
call fcn.140029870
lea rcx, [rbp - 0x50]
call fcn.140029870
test r15b, r15b
je 0x1400d1662
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
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 - 0x68]
jbe 0x1400d1658
lea rcx, [r8 + 0x18]
mov rdx, rdi
call fcn.1400ad640
jmp 0x1400d1677
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea rcx, [rsp + 0x50]
call fcn.14002a580
mov rax, rdi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400e6d00
lea r11, [rsp + 0x1b0]
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, [0x1401615b8]
call fcn.1400e7184
cmp dword [0x1401615b8], 0xffffffff
jne 0x1400d1431
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140161590], xmm0
movups xmmword [0x1401615a0], xmm0
mov qword [0x1401615b0], rax
mov qword [0x140161590], r13
mov rcx, rbx
call fcn.140025d30
nop
mov r9d, 1
lea r8, [0x140134a61]
lea rdx, str..__a_zA_Z0_9___
lea rcx, [0x140161590]
call fcn.14001d350
nop
lea rcx, [0x14010b8e0]
call fcn.1400e70c4
nop
lea rcx, [0x1401615b8]
call fcn.1400e7118
jmp 0x1400d1431