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

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x24], eax
xor eax, eax
mov word [rsp + 0x20], ax
cmp qword [rsp + 0x88], 0
jne 0x1800a823b
mov rcx, qword [rsp + 0x80]
call fcn.1800a8090
xor eax, eax
jmp 0x1800a857b
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x28], 0
je 0x1800a8269
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x28]
mov ecx, 4
imul rcx, rcx, 0
mov eax, dword [rax + rcx + 0x7c]
mov dword [rsp + 0x28], eax
jmp 0x1800a8271
mov dword [rsp + 0x28], 0x3b9aca00
movzx eax, byte [rsp + 0x98]
test eax, eax
jne 0x1800a8287
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
jmp 0x1800a828f
mov dword [rsp + 0x30], 2
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x20], ax
cmp dword [rsp + 0x24], 0
jge 0x1800a835a
movzx eax, byte [rsp + 0x98]
cmp eax, 1
jne 0x1800a82ff
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x1800a82c7
mov rax, qword [rsp + 0x48]
btr eax, 0x1f
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jle 0x1800a82fd
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x1800a834c
mov dword [rsp + 0x24], 0
jmp 0x1800a8314
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jg 0x1800a834c
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x24]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x88]
movsx ecx, byte [rdx + rcx]
or eax, ecx
test eax, eax
je 0x1800a834c
jmp 0x1800a8309
movzx eax, word [rsp + 0x20]
bts eax, 9
mov word [rsp + 0x20], ax
cmp qword [rsp + 0xa0], 0xffffffffffffffff
jne 0x1800a841d
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x2c], eax
movzx eax, word [rsp + 0x20]
and eax, 0x200
test eax, eax
je 0x1800a83ae
movzx eax, byte [rsp + 0x98]
cmp eax, 1
jne 0x1800a8396
mov dword [rsp + 0x34], 1
jmp 0x1800a839e
mov dword [rsp + 0x34], 2
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jle 0x1800a83c2
mov eax, reloc.WS2_32.dll_select
jmp 0x1800a857b
cmp dword [rsp + 0x2c], 0x20
jle 0x1800a83d3
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x38], eax
jmp 0x1800a83db
mov dword [rsp + 0x38], reloc.WLDAP32.dll_Ordinal_32
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call fcn.1800a7610
test eax, eax
je 0x1800a83fa
mov eax, 7
jmp 0x1800a857b
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rsp + 0x88]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
jmp 0x1800a84ed
lea rax, [fcn.1800832a0]
cmp qword [rsp + 0xa0], rax
jne 0x1800a848d
mov rcx, qword [rsp + 0x80]
call fcn.1800a7fa0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x28]
call fcn.18006e690
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x20], eax
jmp 0x1800a84ed
mov rcx, qword [rsp + 0x80]
call fcn.1800a7fa0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 0x30], rcx
cmp qword [rsp + 0xa0], 0
jne 0x1800a84d7
mov dword [rsp + 0x3c], 0x800
jmp 0x1800a84df
mov dword [rsp + 0x3c], 0x400
movzx eax, word [rsp + 0x20]
or eax, dword [rsp + 0x3c]
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x80]
movzx ecx, word [rsp + 0x20]
mov word [rax + 8], cx
movzx eax, byte [rsp + 0x98]
test eax, eax
jne 0x1800a8523
mov dword [rsp + 0x40], 1
jmp 0x1800a852f
movzx eax, byte [rsp + 0x98]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
movzx ecx, byte [rsp + 0x40]
mov byte [rax + 0xa], cl
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0xa]
cmp eax, 1
je 0x1800a8568
mov rcx, qword [rsp + 0x80]
call fcn.1800a7b30
test eax, eax
je 0x1800a8568
mov eax, 7
jmp 0x1800a857b
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jle 0x1800a8579
mov eax, reloc.WS2_32.dll_select
jmp 0x1800a857b
xor eax, eax
add rsp, 0x68
pop rdi
pop rsi
ret