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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x98], 0
je 0x14014b5a9
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x50], rax
jmp 0x14014b5ba
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x24]
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x48]
call fcn.140150900
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14014b5f2
mov eax, dword [rsp + 0x20]
jmp 0x14014ba5c
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
add rax, 4
mov r9, rax
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax + 0xc0]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call fcn.140185ad0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14014b636
mov eax, dword [rsp + 0x20]
jmp 0x14014ba5c
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0xc0]
mov ecx, dword [rsp + 0x98]
shl ecx, 2
movsxd rcx, ecx
lea rax, [rax + rcx + 4]
mov rcx, qword [rsp + 0x88]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x88]
mov qword [rcx], rax
cmp dword [rsp + 0x24], 0
je 0x14014b695
movsxd rax, dword [0x14031d268]
cqo
mov rcx, qword [rsp + 0x80]
idiv qword [rcx + 0xc0]
inc rax
cmp dword [rsp + 0x24], eax
jne 0x14014b69f
mov eax, 0x65
jmp 0x14014ba5c
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
cmp dword [rsp + 0x24], eax
ja 0x14014b6c5
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x90]
call fcn.140160920
test eax, eax
je 0x14014b6cc
xor eax, eax
jmp 0x14014ba5c
cmp dword [rsp + 0x98], 0
je 0x14014b737
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
sub rax, 4
lea r8, [rsp + 0x44]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.140150900
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14014b70b
mov eax, dword [rsp + 0x20]
jmp 0x14014ba5c
cmp dword [rsp + 0xa0], 0
jne 0x14014b737
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.14014a550
cmp eax, dword [rsp + 0x44]
je 0x14014b737
mov eax, 0x65
jmp 0x14014ba5c
cmp qword [rsp + 0x90], 0
je 0x14014b767
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x90]
call fcn.140160630
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14014b767
mov eax, dword [rsp + 0x20]
jmp 0x14014ba5c
cmp dword [rsp + 0x24], 1
jne 0x14014b7b4
mov rax, qword [rsp + 0x80]
movsx eax, word [rax + 0xb2]
mov ecx, 1
imul rcx, rcx, 0x14
mov rdx, qword [rsp + 0x30]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x14014b7b4
mov eax, 1
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x80]
mov word [rcx + 0xb2], ax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x120], 0
je 0x14014b7d1
mov qword [rsp + 0x28], 0
jmp 0x14014b7e7
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
call fcn.140186db0
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x98], 0
je 0x14014b836
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0xb]
test eax, eax
jne 0x14014b824
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x68]
cmp qword [rax], rcx
jle 0x14014b824
mov dword [rsp + 0x38], 0
jmp 0x14014b82c
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x40], eax
jmp 0x14014b868
cmp qword [rsp + 0x28], 0
je 0x14014b858
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x34]
and eax, 8
test eax, eax
je 0x14014b858
mov dword [rsp + 0x3c], 0
jmp 0x14014b860
mov dword [rsp + 0x3c], 1
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x48]
cmp qword [rax], 0
je 0x14014b948
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x15]
cmp eax, 4
jge 0x14014b8a3
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x15]
test eax, eax
jne 0x14014b948
cmp dword [rsp + 0x40], 0
je 0x14014b948
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x80]
imul rax, qword [rcx + 0xc0]
mov qword [rsp + 0x60], rax
mov r9, qword [rsp + 0x60]
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax + 0xc0]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x48]
call fcn.140185d50
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x24], eax
jbe 0x14014b919
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x70], 0
je 0x14014b943
mov r8, qword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x70]
call fcn.14015f560
nop
jmp 0x14014b9c9
cmp dword [rsp + 0x98], 0
jne 0x14014b9c9
cmp qword [rsp + 0x28], 0
jne 0x14014b9c9
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x19]
or eax, 2
mov rcx, qword [rsp + 0x80]
mov byte [rcx + 0x19], al
mov r9d, 1
lea r8, [rsp + 0x28]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
call fcn.140186bf0
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x19]
and eax, 0xfffffffd
mov rcx, qword [rsp + 0x80]
mov byte [rcx + 0x19], al
cmp dword [rsp + 0x20], 0
je 0x14014b9be
mov eax, dword [rsp + 0x20]
jmp 0x14014ba5c
mov rcx, qword [rsp + 0x28]
call fcn.14018a0b0
nop
cmp qword [rsp + 0x28], 0
je 0x14014ba58
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
mov r8, qword [rax + 0xc0]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.140293240
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x80]
call qword [rax + 0x100]
cmp dword [rsp + 0x24], 1
jne 0x14014ba4d
mov eax, 1
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
add rcx, 0x88
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rax
call fcn.140293240
nop
mov rcx, qword [rsp + 0x28]
call fcn.14018a2b0
nop
mov eax, dword [rsp + 0x20]
add rsp, 0x78
ret