Function at 0x140065520
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 [0x140113040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r13d, r13d
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], r13
mov byte [rsp + 0x58], r13b
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x70], xmm1
mov qword [rbp - 0x80], r13
mov byte [rbp - 0x78], r13b
movdqa xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x60], r13b
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
mov byte [rbp - 0x48], r13b
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
lea rbx, [0x14011fd18]
mov eax, dword [rcx + rax]
cmp dword [0x14011fd3c], eax
jle 0x14006564c
lea rcx, [0x14011fd3c]
call fcn.1400ce968
cmp dword [0x14011fd3c], 0xffffffff
jne 0x14006564c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x14011fd10], xmm0
movups xmmword [0x14011fd20], xmm0
mov qword [0x14011fd30], rax
mov qword [0x14011fd10], r13
mov rcx, rbx
call fcn.140012810
nop
mov r9d, 1
lea r8, [0x1400ee761]
lea rdx, str..__a_zA_Z0_9___
lea rcx, [0x14011fd10]
call fcn.140016f00
nop
lea rcx, [0x1400d9a60]
call fcn.1400cec44
nop
lea rcx, [0x14011fd3c]
call fcn.1400ce8fc
cmp qword [rsi + 0x18], 0xf
jbe 0x140065662
mov r12, qword [rsi]
mov rbx, r12
mov r14, r12
add rbx, qword [rsi + 0x10]
jmp 0x14006566f
mov rbx, qword [rsi + 0x10]
add rbx, rsi
mov r14, rsi
mov r12, rsi
mov rsi, qword [0x14011fd10]
test rsi, rsi
je 0x1400658d7
xor r15b, r15b
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsi + 0x20]
mov ecx, dword [rsi + 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
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], r13
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], rsi
mov dword [rbp + 0x78], eax
mov dword [rbp + 0x7c], r13d
mov byte [rbp + 0x80], r15b
mov dword [rbp + 0x84], ecx
movzx eax, byte [rsi + 0xc]
shr al, 3
and al, 1
mov byte [rbp + 0x88], al
lea rax, [0x14011fd18]
mov qword [rbp + 0x90], rax
mov edx, dword [rsi + 0x24]
lea rcx, [rbp + 0x40]
call fcn.14001a410
nop
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.14001d840
test al, al
jne 0x1400657d7
cmp r14, rbx
je 0x1400657ec
mov eax, dword [rbp + 0x7c]
btr eax, 0xd
bts eax, 8
mov dword [rbp + 0x7c], eax
lea r8, [r14 + 1]
mov qword [rsp + 0x20], r13
mov r9, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.14001d4c0
mov rax, qword [rax]
cmp rax, rbx
je 0x1400657be
mov rsi, rax
nop dword [rax]
nop word [rax + rax]
mov qword [rbp + 0x68], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.14001d840
test al, al
jne 0x1400657d7
lea r8, [rsi + 1]
mov qword [rsp + 0x20], r13
mov r9, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.14001d4c0
mov rax, qword [rax]
mov rsi, rax
cmp rax, rbx
jne 0x140065780
mov qword [rbp + 0x68], rbx
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.14001d840
test al, al
je 0x1400657ec
mov r15b, 1
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x78], r14
cmp r14, qword [rbp - 0x80]
setne byte [rbp - 0x78]
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140065839
mov rdx, qword [rbp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065828
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140065828
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cec64
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r13
lea rcx, [rbp]
call fcn.1400184d0
lea rcx, [rbp - 0x40]
call fcn.1400184d0
test r15b, r15b
je 0x1400658d7
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
ja 0x14006588c
lea rax, [rbp - 0x58]
lea r8, [rbp - 0x48]
jmp 0x140065894
lea rax, [r8 + 0x18]
add r8, 0x28
cmp byte [r8], 0
je 0x1400658a4
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
jmp 0x1400658ad
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
cmp rdx, r8
je 0x1400658dd
sub r8, rdx
mov rcx, rdi
call fcn.140002930
jmp 0x1400658ec
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 + 0x60]
call fcn.140011050
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400ce8a0
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