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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1f8
mov r8, qword [rsp + 0x218]
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x50]
call fcn.14009ad50
nop
jmp 0x14018c9e5
lea rax, [rsp + 0x50]
mov rcx, rax
call fcn.1401880a0
mov dword [rsp + 0x60], eax
call fcn.140094720
mov qword [rsp + 0x190], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x1a8], eax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x1b0], rax
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0xd0], rax
mov rdi, qword [rsp + 0x218]
mov rsi, qword [rsp + 0xd0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x218]
mov eax, dword [rax]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x14018ca04
mov dword [rsp + 0x30], 1
jmp 0x14018ca0c
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14018cb61
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x218]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x88], rax
call fcn.140094720
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
cmp qword [rsp + 0xf0], rax
jne 0x14018cac7
mov dword [rsp + 0x34], 1
jmp 0x14018cacf
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x14018cb2a
mov rax, qword [rsp + 0x218]
mov eax, dword [rax]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 2
je 0x14018cb15
cmp dword [rsp + 0x28], 3
je 0x14018cb15
cmp dword [rsp + 0x28], 0x35
je 0x14018cb15
cmp dword [rsp + 0x28], 0x7b
je 0x14018cb15
jmp 0x14018cb1c
mov byte [rsp + 0x20], 1
jmp 0x14018cb21
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14018cb5c
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 8], 0
je 0x14018cb57
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call fcn.1400755a0
jmp 0x14018cfa2
jmp 0x14018ceba
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
je 0x14018cb83
mov dword [rsp + 0x38], 1
jmp 0x14018cb8b
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
jne 0x14018cba7
mov dword [rsp + 0x3c], 1
jmp 0x14018cbaf
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14018cbc6
jmp 0x14018ceba
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
add rax, 0x20
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x98], rax
mov r8d, 6
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x98]
call fcn.14018b350
mov eax, dword [rsp + 0x188]
mov dword [rsp + 0x70], eax
call fcn.140094720
mov qword [rsp + 0x138], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x1b8], eax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x1c0], rax
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x140], rax
mov rdi, qword [rsp + 0x218]
mov rsi, qword [rsp + 0x140]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x218]
mov eax, dword [rax]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x14018cd08
mov dword [rsp + 0x40], 1
jmp 0x14018cd10
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x14018cd54
lea rax, [rsp + 0x50]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 8], 0
je 0x14018cd4f
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 8]
call fcn.1400755a0
jmp 0x14018cfa2
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 3
jne 0x14018cd88
mov r8, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x218]
mov rcx, qword [rsp + 0xa8]
call fcn.14018c950
jmp 0x14018ce44
mov rcx, qword [rsp + 0xa8]
call fcn.14018f060
mov rcx, rax
call fcn.1403a6164
mov qword [rsp + 0xb0], rax
call fcn.140094720
mov qword [rsp + 0x150], rax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x1c8], eax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x158], rax
mov rdi, qword [rsp + 0x218]
mov rsi, qword [rsp + 0x158]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movzx eax, byte [rsp + 0xb0]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x26]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x168]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x220]
mov qword [rcx], rax
mov rax, qword [rsp + 0x218]
mov eax, dword [rax]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x14018ce69
mov dword [rsp + 0x44], 1
jmp 0x14018ce71
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x14018ceb5
lea rax, [rsp + 0x50]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
cmp qword [rax + 8], 0
je 0x14018ceb0
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax + 8]
call fcn.1400755a0
jmp 0x14018cfa2
jmp 0x14018c985
lea rax, [rsp + 0x50]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 8], 0
je 0x14018cee7
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 8]
call fcn.1400755a0
mov dword [rsp + 0x2c], 0
jmp 0x14018cefb
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xa
jge 0x14018cfa2
mov rcx, qword [rsp + 0x210]
call fcn.14018f060
mov rcx, rax
call fcn.1403a6164
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x48]
mov rcx, qword [rsp + 0x220]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x220]
mov qword [rcx], rax
call fcn.140094720
mov qword [rsp + 0x170], rax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x198], eax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x198]
mov qword [rsp + 0x178], rax
mov rdi, qword [rsp + 0x218]
mov rsi, qword [rsp + 0x178]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x4c], 0x91
je 0x14018cf9d
cmp dword [rsp + 0x4c], 5
je 0x14018cf9d
jmp 0x14018cfa2
jmp 0x14018cef1
add rsp, 0x1f8
pop rdi
pop rsi
ret