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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1405f98c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x120], 0
jne 0x1402fa304
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x14]
test eax, eax
jne 0x1402fa304
mov dword [rsp + 0x34], 1
mov edx, 1
mov rcx, qword [rsp + 0x80]
call fcn.140352a90
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1402fa024
jmp 0x1402fa36e
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x15]
cmp eax, 1
jg 0x1402fa04b
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x80]
call fcn.1403536a0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1402fa057
jmp 0x1402fa36e
cmp dword [rsp + 0x34], 0
je 0x1402fa225
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x12]
test eax, eax
je 0x1402fa07f
mov dword [rsp + 0x30], 0x308
jmp 0x1402fa36e
mov edx, 4
mov rcx, qword [rsp + 0x80]
call fcn.14034fbd0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1402fa0a1
jmp 0x1402fa36e
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x50]
cmp qword [rax], 0
jne 0x1402fa177
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax + 0xd8]
mov rcx, qword [rsp + 0x48]
call fcn.1402fbcf0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1402fa177
cmp dword [rsp + 0x40], 0
je 0x1402fa177
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x44], 0x802
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
mov rax, qword [rsp + 0x80]
mov r8, qword [rax + 0x50]
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax + 0xd8]
mov rcx, qword [rsp + 0x48]
call fcn.1402fbc50
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1402fa177
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x1402fa177
mov ecx, 0xdaf7
call fcn.1402ff540
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x50]
call fcn.1402fb790
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x50]
cmp qword [rax], 0
je 0x1402fa1e6
mov rcx, qword [rsp + 0x80]
call fcn.140352ae0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1402fa1e4
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x10]
test eax, eax
jne 0x1402fa1bb
mov dword [rsp + 0x3c], 1
jmp 0x1402fa1c3
mov dword [rsp + 0x3c], 0
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x80]
call fcn.1403519e0
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x14], 0
jmp 0x1402fa208
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x1402fa208
mov edx, 1
mov rcx, qword [rsp + 0x80]
call fcn.14034fb40
cmp dword [rsp + 0x30], 0
je 0x1402fa225
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.140350ae0
jmp 0x1402fa36e
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x10]
test eax, eax
jne 0x1402fa2f3
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x1b]
test eax, eax
je 0x1402fa2f3
mov r9d, 0x18
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x50]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x48]
call fcn.1402fb7d0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1402fa29b
cmp dword [rsp + 0x30], 0x20a
je 0x1402fa289
jmp 0x1402fa36e
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14043d3a0
mov rax, qword [rsp + 0x80]
add rax, 0x88
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14043d2a0
test eax, eax
je 0x1402fa2f3
mov rcx, qword [rsp + 0x80]
call fcn.140350760
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x1a]
test eax, eax
je 0x1402fa2f3
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x48]
call fcn.1402fbc10
mov rcx, qword [rsp + 0x80]
call fcn.1403524d0
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x120], 0
je 0x1402fa327
mov rcx, qword [rsp + 0x80]
call fcn.140352370
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x10]
test eax, eax
jne 0x1402fa36e
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x14]
test eax, eax
jne 0x1402fa36e
cmp dword [rsp + 0x30], 0
jne 0x1402fa36e
mov rax, qword [rsp + 0x80]
add rax, 0x1c
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140352400
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1402fa384
mov rcx, qword [rsp + 0x80]
call fcn.140350900
jmp 0x1402fa39c
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x14], 1
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x1b], 1
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1403e3630
add rsp, 0x78
ret