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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
xor eax, eax
mov word [rsp + 0x38], ax
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
jmp 0x18002dd5d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
add rax, 0x40
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jge 0x18002ddd4
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x1c], ecx
je 0x18002dd85
jmp 0x18002dd45
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rax + 0x30]
and rax, rcx
test rax, rax
je 0x18002dda0
jmp 0x18002dd45
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
btr eax, 0xb
test eax, eax
jne 0x18002ddb3
jmp 0x18002dd45
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
and eax, 0
test eax, eax
je 0x18002ddc5
jmp 0x18002dd45
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
jmp 0x18002dd45
mov dword [rsp + 0x40], 0
cmp qword [rsp + 0xc0], 0
je 0x18002de6c
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x20], 0
jmp 0x18002de0d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jge 0x18002de5a
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax]
cmp eax, 0x9e
jne 0x18002de56
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x2c], ecx
je 0x18002de58
jmp 0x18002de5a
jmp 0x18002de03
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jne 0x18002de6c
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x14
movsxd rcx, dword [rsp + 0x40]
lea rax, [rax + rcx*8 + 0x70]
mov rdx, rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.18006e6e0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x18002deba
lea rdx, str.out_of_memory
mov rcx, qword [rsp + 0xa0]
call fcn.180071750
xor eax, eax
jmp 0x18002e26a
mov eax, 0x60
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 8], rcx
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
jmp 0x18002dfbb
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
add rax, 0x40
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jge 0x18002e1d9
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0x44]
cmp dword [rax + 0x1c], ecx
je 0x18002dfe7
jmp 0x18002dfa3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rax + 0x30]
and rax, rcx
test rax, rax
je 0x18002e002
jmp 0x18002dfa3
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
btr eax, 0xb
test eax, eax
jne 0x18002e015
jmp 0x18002dfa3
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x12]
and eax, 0
test eax, eax
je 0x18002e02a
jmp 0x18002dfa3
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x3c]
and eax, 8
test eax, eax
je 0x18002e066
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
jne 0x18002e066
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
and eax, 0x180
test eax, eax
je 0x18002e066
jmp 0x18002dfa3
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov edx, dword [rdx + 0x28]
mov dword [rcx + rax], edx
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax + 8], edx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
and eax, 0x1fff
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
cmp eax, 1
jne 0x18002e0bc
mov eax, 2
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
cmp eax, 0x40
jne 0x18002e0e6
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
movzx edx, byte [rdx + 0x17]
mov byte [rcx + rax + 4], dl
jmp 0x18002e1ca
movzx eax, word [rsp + 0x24]
and eax, 0x180
test eax, eax
je 0x18002e12d
movzx eax, word [rsp + 0x24]
cmp eax, 0x100
jne 0x18002e115
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax + 4], 0x47
jmp 0x18002e128
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax + 4], 0x48
jmp 0x18002e1ca
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rsp + 0x24]
mov byte [rcx + rax + 4], dl
movzx eax, word [rsp + 0x24]
and eax, 0x3c
test eax, eax
je 0x18002e1ca
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.180076b80
test eax, eax
je 0x18002e1ca
cmp dword [rsp + 0x20], 0x10
jge 0x18002e190
mov eax, dword [rsp + 0x20]
mov ecx, 1
mov dword [rsp + 0x68], ecx
movzx ecx, al
mov eax, dword [rsp + 0x68]
shl eax, cl
movzx ecx, word [rsp + 0x38]
or ecx, eax
mov eax, ecx
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x24]
cmp eax, 0x10
jne 0x18002e1ad
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax + 4], 8
movzx eax, word [rsp + 0x24]
cmp eax, 4
jne 0x18002e1ca
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax + 4], reloc.WLDAP32.dll_Ordinal_32
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x18002dfa3
mov dword [rsp + 0x20], 0
jmp 0x18002e1ed
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x20], eax
jge 0x18002e255
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movsx ecx, word [rcx + 0x30]
mov rdx, qword [rsp + 0x60]
mov dword [rdx + rax*8], ecx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0xc0]
movzx eax, byte [r8 + rax + 0x20]
mov byte [rdx + rcx*8 + 4], al
jmp 0x18002e1e3
mov rax, qword [rsp + 0xc8]
movzx ecx, word [rsp + 0x38]
mov word [rax], cx
mov rax, qword [rsp + 0x50]
add rsp, 0x98
ret