Function at 0x14009a900
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
add rax, 0x10
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
je 0x14009a990
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x14009a99d
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
jmp 0x14009aa11
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0x40], rax
je 0x14009aa2a
mov dword [rsp + 0x30], 1
jmp 0x14009aa32
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14009ac17
xor eax, eax
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
cmp qword [rax + 0x60], 0
jne 0x14009aa82
jmp 0x14009aa04
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
add rax, 0x58
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x14009aaca
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
jne 0x14009ab15
mov dword [rsp + 0x34], 1
jmp 0x14009ab1d
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14009ab34
jmp 0x14009aa04
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0xf0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x38], 0x1b6e1b1e
movaps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x110], xmm0
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x38]
call fcn.140097890
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x38], eax
jne 0x14009ab97
xor eax, eax
cmp eax, 1
je 0x14009ab97
mov dword [rsp + 0x3c], 1
jmp 0x14009ab9f
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14009abb6
jmp 0x14009aa04
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xe8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
jmp 0x14009ac3d
mov rax, qword [rsp + 0x28]
mov qword [rax], 0
mov rax, qword [rsp + 0x28]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x140]
mov ecx, dword [rsp + 0x148]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x140]
add rsp, 0x128
pop rdi
pop rsi
ret