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

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2d0
mov rax, qword [0x1800f1690]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov rax, qword [rsp + 0x2e0]
add rax, 0x20
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x268]
mov rcx, qword [rsp + 0x98]
call fcn.18001ca20
mov qword [rsp + 0xa0], rax
mov r8d, 1
lea rdx, [rsp + 0x278]
mov rcx, qword [rsp + 0xa0]
call fcn.180026a20
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x258]
call fcn.180027670
lea rax, [rsp + 0x258]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov ecx, 1
mov dword [rsp + 0x50], ecx
movzx ecx, al
mov eax, dword [rsp + 0x50]
shl eax, cl
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x54]
mov eax, dword [rax]
and eax, ecx
test eax, eax
je 0x18002ed41
mov dword [rsp + 0x30], 1
jmp 0x18002ed49
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x18002edb7
mov byte [rsp + 0x22], 0
mov qword [rsp + 0xb8], 0
lea rcx, [rsp + 0x22]
call fcn.180001220
mov rcx, qword [rsp + 0x2e8]
movzx eax, byte [rax]
mov byte [rcx], al
lea rax, [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x2e8]
jmp 0x18002f5f7
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov qword [rsp + 0x240], rax
mov byte [rsp + 0x2b8], 0
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0xd0], rax
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call fcn.180014a30
nop
movzx eax, byte [rsp + 0x2f8]
test eax, eax
jne 0x18002ee80
mov rax, qword [rsp + 0x2e0]
add rax, 0x70
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x2e0]
add rax, 8
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0xd8], rax
lea r9, [rsp + 0x2b8]
mov r8b, 5
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
call fcn.180026de0
movzx eax, al
test eax, eax
jne 0x18002ee80
mov byte [rsp + 0x20], 0
jmp 0x18002ee85
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
jne 0x18002ef1d
mov byte [rsp + 0x24], 0
mov qword [rsp + 0xe8], 0
lea rcx, [rsp + 0x24]
call fcn.180001220
mov rcx, qword [rsp + 0x2e8]
movzx eax, byte [rax]
mov byte [rcx], al
lea rax, [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0xf8], rax
movzx edx, byte [rsp + 0x2b8]
mov rcx, qword [rsp + 0xf8]
call fcn.180012a90
nop
mov rax, qword [rsp + 0x2e8]
jmp 0x18002f5f7
mov rax, qword [rsp + 0x2e0]
add rax, 8
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
cmp qword [rax], rcx
jne 0x18002ef54
mov dword [rsp + 0x34], 1
jmp 0x18002ef5c
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x18002f0bb
lea rax, [rsp + 0x288]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x100]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
lea rax, [rsp + 0x110]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x110]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rax]
call fcn.18001a010
mov byte [rsp + 0x26], 1
mov rax, qword [rsp + 0x2e0]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
lea rcx, [rsp + 0x26]
call fcn.180001220
mov rcx, qword [rsp + 0x2e8]
movzx eax, byte [rax]
mov byte [rcx], al
lea rax, [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x138], rax
movzx edx, byte [rsp + 0x2b8]
mov rcx, qword [rsp + 0x138]
call fcn.180012a90
nop
mov rax, qword [rsp + 0x2e8]
jmp 0x18002f5f7
mov rax, qword [rsp + 0x2e0]
add rax, 8
mov qword [rsp + 0x140], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x140]
add rax, qword [rcx + 8]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
cmp qword [rax], 0
jne 0x18002f180
mov byte [rsp + 0x27], 0
mov qword [rsp + 0x150], 0
lea rcx, [rsp + 0x27]
call fcn.180001220
mov rcx, qword [rsp + 0x2e8]
movzx eax, byte [rax]
mov byte [rcx], al
lea rax, [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x160], rax
movzx edx, byte [rsp + 0x2b8]
mov rcx, qword [rsp + 0x160]
call fcn.180012a90
nop
mov rax, qword [rsp + 0x2e8]
jmp 0x18002f5f7
mov rax, qword [rsp + 0x2e0]
add rax, 8
mov qword [rsp + 0x168], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x168]
add rax, qword [rcx + 8]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
cmp byte [rax], 2
jne 0x18002f1db
mov dword [rsp + 0x38], 1
jmp 0x18002f1e3
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x18002f389
mov rax, qword [rsp + 0x2e0]
add rax, 8
mov qword [rsp + 0x180], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x180]
add rax, qword [rcx + 8]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
call fcn.180016970
mov qword [rsp + 0x250], rax
mov byte [rsp + 0x29], 1
mov rax, qword [rsp + 0x2e0]
add rax, 8
mov qword [rsp + 0x1a0], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1a0]
add rax, qword [rcx + 8]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1b8]
add rax, qword [rcx + 8]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
lea rcx, [rsp + 0x29]
call fcn.180001220
mov rcx, qword [rsp + 0x2e8]
movzx eax, byte [rax]
mov byte [rcx], al
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x1d8], rax
movzx edx, byte [rsp + 0x2b8]
mov rcx, qword [rsp + 0x1d8]
call fcn.180012a90
nop
mov rax, qword [rsp + 0x2e8]
jmp 0x18002f5f7
mov rax, qword [rsp + 0x2e0]
add rax, 0x40
mov qword [rsp + 0x1e0], rax
lea rdx, [rsp + 0x298]
mov rcx, qword [rsp + 0x1e0]
call fcn.1800268b0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 8]
mov ecx, 1
mov dword [rsp + 0x58], ecx
movzx ecx, al
mov eax, dword [rsp + 0x58]
shl eax, cl
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x1e8]
mov ecx, dword [rsp + 0x5c]
mov eax, dword [rax]
and eax, ecx
test eax, eax
je 0x18002f40d
mov dword [rsp + 0x3c], 1
jmp 0x18002f415
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x2a], al
mov rax, qword [rsp + 0x2e0]
add rax, 0x40
mov rcx, rax
call fcn.1800267f0
movzx eax, byte [rsp + 0x2a]
test eax, eax
jne 0x18002f4c1
mov byte [rsp + 0x2b], 0
mov qword [rsp + 0x1f0], 0
lea rcx, [rsp + 0x2b]
call fcn.180001220
mov rcx, qword [rsp + 0x2e8]
movzx eax, byte [rax]
mov byte [rcx], al
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x1f8]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x200], rax
movzx edx, byte [rsp + 0x2b8]
mov rcx, qword [rsp + 0x200]
call fcn.180012a90
nop
mov rax, qword [rsp + 0x2e8]
jmp 0x18002f5f7
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x208]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x48]
mov byte [rax], 0
lea rax, [rsp + 0x218]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x218]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x228], rax
mov rdx, qword [rsp + 0x228]
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rax + 0x60]
call fcn.18001a010
mov byte [rsp + 0x2c], 1
lea rcx, [rsp + 0x2c]
call fcn.180001220
mov rcx, qword [rsp + 0x2e8]
movzx eax, byte [rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x2e0]
add rax, 0x60
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x230]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x238], rax
movzx edx, byte [rsp + 0x2b8]
mov rcx, qword [rsp + 0x238]
call fcn.180012a90
nop
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.1800c5e80
add rsp, 0x2d0
pop rdi
ret