Function at 0x14009889c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x118], eax
jae 0x14009893c
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], reloc.WS2_32.dll_select
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xa0]
call fcn.14009051c
lea rdx, [0x1403c1ac0]
lea rcx, [rsp + 0xa0]
call fcn.14028d944
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x60], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, rax
call fcn.140096550
mov byte [rsp + 0x60], 1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x140098985
mov dword [rsp + 0x38], 1
jmp 0x14009898d
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140098b20
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x38]
inc eax
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x38], eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140098a04
cmp dword [rsp + 0x34], 1
je 0x140098a55
cmp dword [rsp + 0x34], 2
je 0x1400989d5
jmp 0x140098b0c
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x38]
dec eax
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x38], eax
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x58]
call fcn.1400946d8
mov al, byte [rsp + 0x30]
jmp 0x140098bf8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x28]
add rax, 0x18
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.14009bbdc
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x140098a3f
mov dword [rsp + 0x3c], 1
jmp 0x140098a47
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
test eax, eax
jne 0x140098a04
jmp 0x140098b0c
lea rax, [rsp + 0x58]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8, qword [rsp + 0x130]
lea rdx, [rsp + 0x88]
mov rcx, rax
call fcn.14009bcb0
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x140098ae2
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x140098aa5
mov dword [rsp + 0x40], 1
jmp 0x140098aad
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x140098ae0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x38]
dec eax
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x38], eax
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x58]
call fcn.1400946d8
mov al, byte [rsp + 0x32]
jmp 0x140098bf8
jmp 0x140098b0c
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x140098af7
mov dword [rsp + 0x44], 1
jmp 0x140098aff
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
test eax, eax
jne 0x140098a55
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x38]
dec eax
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x38], eax
jmp 0x140098b20
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x34], 0
je 0x140098b35
mov dword [rsp + 0x48], 1
jmp 0x140098b3d
mov dword [rsp + 0x48], 0
mov al, byte [rsp + 0x48]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x28]
call fcn.1400994f4
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 4]
mov dword [rax], ecx
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
mov rax, qword [rsp + 0x50]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x120]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add rcx, 8
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x110]
call fcn.14028b800
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
dec eax
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x10], eax
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140098be5
mov rax, qword [rsp + 0x28]
add rax, 0x24
mov edx, 1
mov rcx, rax
call fcn.140093c44
mov byte [rsp + 0x33], 1
lea rcx, [rsp + 0x58]
call fcn.1400946d8
mov al, byte [rsp + 0x33]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140286010
add rsp, 0xf8
ret