Function at 0x140190d40
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1402063c0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov r12d, edi
mov qword [rbp + 0x50], rdi
mov eax, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x58], rax
mov byte [rbp + 0x40], dil
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x48], dil
mov word [rsp + 0x51], di
mov byte [rsp + 0x58], dil
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x68], dil
mov dword [rsp + 0x4c], 1
mov byte [rsp + 0x50], 1
movsd xmm6, qword [rcx + 8]
mov r15d, dword [rcx + 0x10]
mov dword [rsp + 0x24], r15d
call fcn.14018f930
mov ecx, edi
cmp al, 0x3e
sete cl
mov dword [rsp + 0x54], ecx
mov dword [rsp + 0x5c], edi
mov edx, 8
mov ecx, dword [0x1402c85c0]
mov rax, qword gs:[0x58]
mov r13, qword [rax + rcx*8]
mov eax, dword [rdx + r13]
cmp dword [0x1402c7f60], eax
jle 0x140190eed
lea rcx, [0x1402c7f60]
call fcn.140197fd0
cmp dword [0x1402c7f60], 0xffffffff
jne 0x140190eed
call fcn.140190300
mov rbx, rax
call fcn.140186c10
mov rdx, rax
mov r8, rbx
lea rcx, [rbp + 0x60]
call fcn.14018e7f0
mov rdi, rax
call fcn.140186c10
mov rbx, rax
call fcn.140190300
mov rdx, rax
mov r8, rbx
lea rcx, [rbp - 0x60]
call fcn.14018e7f0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14018e930
mov rbx, rax
call fcn.140190300
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.14018e930
mov rbx, rax
call fcn.140186c10
mov r8, rax
mov rdx, rbx
lea rcx, [0x1402c7f40]
call fcn.14018e930
nop
lea rcx, [rbp - 0x38]
call fcn.140189040
nop
lea rcx, [rbp - 0x78]
call fcn.140189040
nop
lea rcx, [rbp - 0x58]
call fcn.140189040
nop
lea rcx, [rbp + 0x68]
call fcn.140189040
lea rcx, [0x1401a6790]
call fcn.140198340
nop
lea rcx, [0x1402c7f60]
call fcn.140197f64
xor edi, edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rsi
mov r14d, 0xffffffff
cmp qword [rsi + 0x38], 0
ja 0x140190f16
xor edx, edx
mov rcx, rsi
call fcn.14018f6b0
test al, al
je 0x140191026
lea rdx, [rsp + 0x28]
lea rcx, [0x1402c7f40]
call fcn.1401892a0
mov r15d, eax
test eax, eax
jle 0x14019101f
mov rcx, rsi
call fcn.14018f930
movsx ebx, al
cmp bl, 0x2b
jne 0x140190f4f
mov dword [rsp + 0x5c], 1
jmp 0x140191014
cmp bl, 0x2d
jne 0x140190f5e
mov dword [rsp + 0x5c], r14d
jmp 0x140191014
mov eax, 8
mov eax, dword [rax + r13]
cmp dword [0x1402c7a78], eax
jle 0x140190fae
lea rcx, [0x1402c7a78]
call fcn.140197fd0
cmp dword [0x1402c7a78], 0xffffffff
jne 0x140190fae
mov r8b, reloc.WS2_32.dll_gethostname
mov dl, 0x30
lea rcx, [0x1402c7a58]
call fcn.14018e760
lea rcx, [0x1401a65a0]
call fcn.140198340
nop
lea rcx, [0x1402c7a78]
call fcn.140197f64
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x30], 1
mov byte [rbp - 0x40], bl
mov byte [rbp - 0x3f], 0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 0
lea rdx, [rsp + 0x28]
lea rcx, [0x1402c7a58]
call fcn.1401861f0
shr eax, 0x1f
xor al, 1
je 0x140191014
cmp bl, 0x30
je 0x140191734
lea eax, [rbx - 0x30]
mov dword [rsp + 0x4c], eax
mov byte [rsp + 0x50], 0
inc edi
cmp edi, r15d
jl 0x140190f32
xor edi, edi
mov r15d, dword [rsp + 0x24]
mov ebx, 8
nop dword [rax + rax]
mov eax, dword [rbx + r13]
cmp dword [0x1402c7a00], eax
jle 0x14019111c
lea rcx, [0x1402c7a00]
call fcn.140197fd0
cmp dword [0x1402c7a00], 0xffffffff
jne 0x14019111c
mov eax, dword [rbx + r13]
cmp dword [0x1402c79d8], eax
jle 0x1401910a1
lea rcx, [0x1402c79d8]
call fcn.140197fd0
cmp dword [0x1402c79d8], 0xffffffff
jne 0x1401910a1
mov dl, 9
lea rcx, [0x1402c79b8]
call fcn.14018e740
lea rcx, [0x1401a6620]
call fcn.140198340
nop
lea rcx, [0x1402c79d8]
call fcn.140197f64
mov eax, dword [rbx + r13]
cmp dword [0x1402c79b0], eax
jle 0x1401910e9
lea rcx, [0x1402c79b0]
call fcn.140197fd0
cmp dword [0x1402c79b0], 0xffffffff
jne 0x1401910e9
mov dl, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [0x1402c7990]
call fcn.14018e740
lea rcx, [0x1401a6610]
call fcn.140198340
nop
lea rcx, [0x1402c79b0]
call fcn.140197f64
lea r8, [0x1402c79b8]
lea rdx, [0x1402c7990]
lea rcx, [0x1402c79e0]
call fcn.14018e930
lea rcx, [0x1401a6560]
call fcn.140198340
nop
lea rcx, [0x1402c7a00]
call fcn.140197f64
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rsi
cmp qword [rsi + 0x38], 0
ja 0x14019113b
xor edx, edx
mov rcx, rsi
call fcn.14018f6b0
test al, al
je 0x140191162
lea rdx, [rsp + 0x28]
lea rcx, [0x1402c79e0]
call fcn.1401892a0
test eax, eax
js 0x140191162
mov edx, 1
mov rcx, rsi
call fcn.14018f7b0
jmp 0x140191030
mov eax, dword [rbx + r13]
cmp dword [0x1402c7bb8], eax
jle 0x1401911aa
lea rcx, [0x1402c7bb8]
call fcn.140197fd0
cmp dword [0x1402c7bb8], 0xffffffff
jne 0x1401911aa
mov dl, reloc.WLDAP32.dll_Ordinal_35
lea rcx, [0x1402c7b98]
call fcn.14018e740
lea rcx, [0x1401a6590]
call fcn.140198340
nop
lea rcx, [0x1402c7bb8]
call fcn.140197f64
lea rdx, [0x1402c7b98]
lea rcx, [rbp - 0x40]
call fcn.140186560
nop
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rsi
cmp qword [rsi + 0x38], 0
ja 0x1401911da
xor edx, edx
mov rcx, rsi
call fcn.14018f6b0
test al, al
je 0x1401911eb
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x40]
call fcn.1401892a0
mov r14d, eax
shr r14d, 0x1f
lea rcx, [rbp - 0x38]
call fcn.140189040
xor r14b, 1
je 0x1401913a6
mov rcx, rsi
call fcn.14018ef50
test al, al
je 0x1401913a6
mov r14d, 0xa0d
nop dword [rax + rax]
mov eax, dword [rbx + r13]
cmp dword [0x1402c7a28], eax
jle 0x140191355
lea rcx, [0x1402c7a28]
call fcn.140197fd0
cmp dword [0x1402c7a28], 0xffffffff
jne 0x140191355
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], 2
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov word [rbp - 0x40], r14w
mov byte [rbp - 0x3e], 0
mov dl, reloc.WS2_32.dll_listen
lea rcx, [rbp + 0x80]
call fcn.14018e740
mov rdi, rax
mov r8d, 6
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.14018e680
mov rbx, rax
mov dl, 0xa
lea rcx, [rbp - 0x60]
call fcn.14018e740
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.14018e930
nop
mov r8, rdi
mov rdx, rax
lea rcx, [0x1402c7a08]
call fcn.14018e930
nop
lea rcx, [rbp + 0x68]
call fcn.140189040
nop
lea rcx, [rbp - 0x58]
call fcn.140189040
nop
lea rcx, [rbp - 0x78]
call fcn.140189040
nop
lea rcx, [rbp + 0x88]
call fcn.140189040
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140191325
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140191320
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019145f
call fcn.140197eec
xor edi, edi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], dil
lea rcx, [0x1401a6580]
call fcn.140198340
nop
lea rcx, [0x1402c7a28]
call fcn.140197f64
mov ebx, 8
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rsi
cmp qword [rsi + 0x38], 0
ja 0x140191374
xor edx, edx
mov rcx, rsi
call fcn.14018f6b0
test al, al
je 0x140191389
lea rdx, [rsp + 0x28]
lea rcx, [0x1402c7a08]
call fcn.1401892a0
test eax, eax
jns 0x1401913a6
mov edx, 1
mov rcx, rsi
call fcn.14018f7b0
mov rcx, rsi
call fcn.14018ef50
test al, al
jne 0x140191220
mov rcx, rsi
call fcn.14018ef50
test al, al
je 0x1401913f2
call fcn.1401868f0
mov rbx, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rsi
cmp qword [rsi + 0x38], 0
ja 0x1401913dd
xor edx, edx
mov rcx, rsi
call fcn.14018f6b0
test al, al
je 0x140191773
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1401892a0
test eax, eax
js 0x140191773
mov rcx, rsi
call fcn.140189ee0
test eax, eax
js 0x14019140a
mov rcx, rsi
call fcn.140189ee0
add dword [rsp + 0x4c], eax
mov dword [rsp + 0x64], 2
lea r8, [rsp + 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.140194b70
lea rcx, [rbp + 0x40]
cmp rcx, rax
je 0x140191466
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r13, xmm0
movq r12, xmm1
jmp 0x14019146b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r13, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1401914a9
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401914a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401914a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140197eec
mov word [rsi + 0x82], 1
mov dword [rbp - 0x20], edi
mov dword [rbp - 0x1c], reloc.WS2_32.dll_sendto
movsd qword [rbp - 0x18], xmm6
mov dword [rbp - 0x10], r15d
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov qword [rbp + 0x18], rdi
movdqa xmmword [rbp + 0x20], xmm0
mov dword [rbp + 0x30], edi
lea r15, [rbp + 0x40]
mov r14, qword [rbp + 0x40]
cmp r13, 0xf
cmova r15, r14
cmp r12, 0xf
ja 0x14019151c
mov qword [rbp + 8], r12
mov r8, r12
mov rdx, r15
lea rcx, [rbp - 8]
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + r12 - 8], 0
jmp 0x1401915c2
movabs rbx, 0x7fffffffffffffff
cmp r12, rbx
ja 0x140191728
mov rax, r12
or rax, 0xf
cmp rax, rbx
jbe 0x140191564
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140197eb0
test rax, rax
je 0x14019158f
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1401915a3
mov rbx, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140191596
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14019172e
jmp 0x140191549
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1401915a3
call fcn.140197eb0
mov rdi, rax
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], rbx
mov r8, r12
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [r12 + rdi], 0
mov qword [rbp - 8], rdi
lea rcx, [rsi + 0x58]
lea rdx, [rbp - 0x20]
call fcn.140190130
nop
mov rdi, qword [rbp + 0x18]
test rdi, rdi
je 0x14019167a
mov rbx, rdi
mov rsi, qword [rbp + 0x20]
cmp rdi, rsi
je 0x140191646
nop dword [rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14019162a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140191625
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401916ac
mov rcx, r8
call fcn.140197eec
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rsi
jne 0x1401915f0
mov rdx, qword [rbp + 0x28]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x140191672
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401916ac
mov rcx, rdi
call fcn.140197eec
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x1401916b9
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401916b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401916b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140197eec
nop
cmp r13, 0xf
jbe 0x1401916f3
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1401916eb
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401916eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140197eec
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140197e90
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140009570
nop
call fcn.1400093c0
nop
lea rdx, [0x1401b6eb0]
lea rcx, [rbp + 0x60]
call fcn.1400095c0
nop
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14018be90
mov rdx, rax
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.140184150
lea rdx, [0x1401ff1a0]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [0x1401b6ee0]
lea rcx, [rbp + 0x80]
call fcn.1400095c0
nop
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14018be90
mov rdx, rax
lea r8, [rbp + 0x80]
lea rcx, [rbp - 0x20]
call fcn.140184150
lea rdx, [0x1401ff1a0]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3