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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x5d8
mov rax, qword [0x140320740]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
mov qword [rsp + 0x598], 0
mov edx, 8
lea rcx, [rsp + 0x580]
call fcn.1401467b0
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
mov edx, dword [rax + 0x4c]
lea rcx, [rsp + 0x580]
call fcn.14013f4f0
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call fcn.140147900
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x10]
mov byte [rsp + 0x20], 0
mov r9, qword [rsp + 0x5f8]
mov r8d, 0x3010
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x50]
call fcn.14017d800
nop
mov dword [rsp + 0x3c], 0
jmp 0x14016c839
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x5f8]
mov eax, dword [rax]
cmp dword [rsp + 0x3c], eax
jae 0x14016c88c
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5f0]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x5f8]
mov rcx, qword [rcx]
cmp qword [rdx + rax + 0x18], rcx
jne 0x14016c88a
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x580]
call fcn.140139b40
movzx eax, byte [rsp + 0x30]
jmp 0x14016d190
jmp 0x14016c82f
lea rcx, [rsp + 0x580]
call fcn.14013a5e0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb8], rax
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [rsp + 0xb8]
nop
call fcn.140176150
movzx eax, al
test eax, eax
je 0x14016ca45
lea rcx, [rsp + 0x580]
call fcn.14013a5e0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x44]
call fcn.140137fd0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x2f0]
call fcn.140132410
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x348]
call fcn.140169ed0
nop
lea rax, [rsp + 0x3a0]
mov r8, rax
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x1b8]
call fcn.140138220
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x120]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0xc0]
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x170]
call fcn.140138720
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
lea rcx, [rsp + 0x1e8]
call fcn.140138900
nop
mov r9d, 3
lea r8, [rsp + 0x170]
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x90]
call qword [rsp + reloc.WLDAP32.dll_Ordinal_200]
nop
lea rcx, [rsp + 0x1e8]
call fcn.140139c50
nop
lea rcx, [rsp + 0x170]
call fcn.140139bd0
nop
lea r9, [fcn.140139c70]
mov r8d, 2
mov edx, 0x58
lea rcx, [rsp + 0x2f0]
call fcn.14021663c
nop
jmp 0x14016cd37
call fcn.14015c5c0
movzx eax, al
test eax, eax
je 0x14016cbc0
lea rcx, [rsp + 0x580]
call fcn.14013a5e0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x45]
call fcn.140137fd0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x3b0]
call fcn.140132410
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x408]
call fcn.140169ed0
nop
lea rax, [rsp + 0x460]
mov r8, rax
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x1c8]
call fcn.140138220
lea rcx, [rsp + 0x130]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [rsp + 0x130]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0xd0]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x188]
call fcn.140138720
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
lea rcx, [rsp + 0x240]
call fcn.140138900
nop
mov r9d, 1
lea r8, [rsp + 0x188]
lea rdx, [rsp + 0x240]
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0xd8]
nop
lea rcx, [rsp + 0x240]
call fcn.140139c50
nop
lea rcx, [rsp + 0x188]
call fcn.140139bd0
nop
lea r9, [fcn.140139c70]
mov r8d, 2
mov edx, 0x58
lea rcx, [rsp + 0x3b0]
call fcn.14021663c
nop
jmp 0x14016cd37
lea rcx, [rsp + 0x580]
call fcn.14013a5e0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x46]
call fcn.140137fd0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x470]
call fcn.140132410
nop
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x4c8]
call fcn.140132410
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x520]
call fcn.140169ed0
nop
lea rax, [rsp + 0x578]
mov r8, rax
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x1d8]
call fcn.140138220
lea rcx, [rsp + 0x150]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0x150]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0xe0]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x1a0]
call fcn.140138720
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
lea rcx, [rsp + 0x298]
call fcn.140138900
nop
mov r9d, 1
lea r8, [rsp + 0x1a0]
lea rdx, [rsp + 0x298]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0xe8]
nop
lea rcx, [rsp + 0x298]
call fcn.140139c50
nop
lea rcx, [rsp + 0x1a0]
call fcn.140139bd0
nop
lea r9, [fcn.140139c70]
mov r8d, 3
mov edx, 0x58
lea rcx, [rsp + 0x470]
call fcn.14021663c
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call fcn.140147e30
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x580]
call fcn.14013a730
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x20], 8
mov r9d, 4
mov r8d, 2
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.140185fa0
lea rcx, [rsp + 0x580]
call fcn.14013a5e0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x100], rax
mov r8d, 0xffffffff
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x100]
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call fcn.140147e30
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x580]
call fcn.14013a730
mov rcx, rax
call fcn.14013a600
mov rcx, rax
call fcn.140147410
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x580]
call fcn.14013a730
mov rcx, rax
call fcn.14013a600
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsp + 0xa0], rax
lea r9, [rsp + 0x598]
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.140188cb0
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x10]
mov byte [rsp + 0x20], 0
mov r9, qword [rsp + 0x5f8]
mov r8d, 0x3010
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x50]
call fcn.14017d800
nop
mov dword [rsp + 0x38], 0
jmp 0x14016cead
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x5f8]
mov eax, dword [rax]
cmp dword [rsp + 0x38], eax
jae 0x14016d179
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5f0]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x5f8]
mov rcx, qword [rcx]
cmp qword [rdx + rax + 0x18], rcx
je 0x14016cee8
jmp 0x14016cea3
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5f8]
cmp dword [rcx + rax + 0x24], 0
je 0x14016cf2a
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
mov byte [rax + 0x74], 1
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x580]
call fcn.140139b40
movzx eax, byte [rsp + 0x31]
jmp 0x14016d190
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 4
mov r8d, 0x2000
lea rdx, [rsp + 0x5a0]
mov rcx, qword [rsp + 0x50]
call fcn.14017d2a0
nop
lea rcx, [rsp + 0x5a0]
call fcn.14013a440
movzx eax, al
test eax, eax
jne 0x14016cf95
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x5a0]
call fcn.140139940
nop
lea rcx, [rsp + 0x580]
call fcn.140139b40
movzx eax, byte [rsp + 0x32]
jmp 0x14016d190
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x590], 0
mov eax, dword [0x7ffe0330]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
cmp dword [rax + 0x4c], 1
jne 0x14016d018
mov dword [rsp + 0x48], 8
mov eax, dword [rsp + 0x40]
and eax, 0x3f
mov dword [rsp + 0x5c], eax
mov ecx, dword [rsp + 0x40]
mov qword [rsp + 0xb0], rcx
lea rcx, [rsp + 0x5a0]
call fcn.14013a560
mov rcx, rax
call fcn.1401374d0
mov rcx, qword [rsp + 0xb0]
xor rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x5c]
ror rax, cl
mov qword [rsp + 0x590], rax
jmp 0x14016d058
mov dword [rsp + 0x48], 4
mov eax, dword [rsp + 0x40]
and eax, 0x1f
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x5a0]
call fcn.14013a560
mov rcx, rax
call fcn.140137480
mov ecx, dword [rsp + 0x40]
xor ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x60]
ror eax, cl
mov eax, eax
mov qword [rsp + 0x590], rax
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x5f8]
lea rax, [rcx + rax + 0x10]
sub rax, qword [rsp + 0x5f8]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x588], 0
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
add rax, qword [rsp + 0x68]
lea rcx, [rsp + 0x588]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8d, 8
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.14017d420
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x5f0]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx]
add rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x590]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x50]
call fcn.14017dcb0
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
add rax, qword [rsp + 0x68]
lea rcx, [rsp + 0x588]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x588]
mov r8d, 8
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.14017d420
nop
cmp dword [rsp + 0x64], 0
jl 0x14016d141
mov dword [rsp + 0x58], 1
jmp 0x14016d149
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0x5a0]
call fcn.140139940
nop
lea rcx, [rsp + 0x580]
call fcn.140139b40
movzx eax, byte [rsp + 0x33]
jmp 0x14016d190
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x580]
call fcn.140139b40
movzx eax, byte [rsp + 0x34]
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.1402164b0
add rsp, 0x5d8
pop rdi
pop rsi
ret