Function at 0x140169c80
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 [0x14031e740]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
mov qword [rsp + 0x598], 0
mov edx, 8
lea rcx, [rsp + 0x580]
call fcn.140144690
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
mov edx, dword [rax + 0x4c]
lea rcx, [rsp + 0x580]
call fcn.14013d3d0
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call fcn.1401457e0
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, 0x2010
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x50]
call fcn.14017b730
nop
mov dword [rsp + 0x3c], 0
jmp 0x140169d39
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 0x140169d8b
mov eax, dword [rsp + 0x3c]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x5f8]
mov eax, dword [rcx + rax + 0x14]
mov rcx, qword [rsp + 0x5f0]
mov rcx, qword [rcx]
cmp rax, qword [rcx]
jne 0x140169d89
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x580]
call fcn.140137a20
movzx eax, byte [rsp + 0x30]
jmp 0x14016a68e
jmp 0x140169d2f
lea rcx, [rsp + 0x580]
call fcn.1401384c0
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.140174080
movzx eax, al
test eax, eax
je 0x140169f44
lea rcx, [rsp + 0x580]
call fcn.1401384c0
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.140135eb0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x2f0]
call fcn.1401302f0
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x348]
call fcn.140167e00
nop
lea rax, [rsp + 0x3a0]
mov r8, rax
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x1b8]
call fcn.140136100
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.140136600
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
lea rcx, [rsp + 0x1e8]
call fcn.1401367e0
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.140137b30
nop
lea rcx, [rsp + 0x170]
call fcn.140137ab0
nop
lea r9, [fcn.140137b50]
mov r8d, 2
mov edx, 0x58
lea rcx, [rsp + 0x2f0]
call fcn.14021455c
nop
jmp 0x14016a236
call fcn.14015a480
movzx eax, al
test eax, eax
je 0x14016a0bf
lea rcx, [rsp + 0x580]
call fcn.1401384c0
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.140135eb0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x3b0]
call fcn.1401302f0
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x408]
call fcn.140167e00
nop
lea rax, [rsp + 0x460]
mov r8, rax
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x1c8]
call fcn.140136100
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.140136600
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
lea rcx, [rsp + 0x240]
call fcn.1401367e0
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.140137b30
nop
lea rcx, [rsp + 0x188]
call fcn.140137ab0
nop
lea r9, [fcn.140137b50]
mov r8d, 2
mov edx, 0x58
lea rcx, [rsp + 0x3b0]
call fcn.14021455c
nop
jmp 0x14016a236
lea rcx, [rsp + 0x580]
call fcn.1401384c0
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.140135eb0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x470]
call fcn.1401302f0
nop
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x4c8]
call fcn.1401302f0
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x520]
call fcn.140167e00
nop
lea rax, [rsp + 0x578]
mov r8, rax
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x1d8]
call fcn.140136100
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.140136600
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
lea rcx, [rsp + 0x298]
call fcn.1401367e0
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.140137b30
nop
lea rcx, [rsp + 0x1a0]
call fcn.140137ab0
nop
lea r9, [fcn.140137b50]
mov r8d, 3
mov edx, 0x58
lea rcx, [rsp + 0x470]
call fcn.14021455c
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call fcn.140145d10
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x580]
call fcn.140138610
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.140183ed0
lea rcx, [rsp + 0x580]
call fcn.1401384c0
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.140145d10
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x580]
call fcn.140138610
mov rcx, rax
call fcn.1401384e0
mov rcx, rax
call fcn.1401452f0
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x580]
call fcn.140138610
mov rcx, rax
call fcn.1401384e0
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.140186be0
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x10]
mov byte [rsp + 0x20], 0
mov r9, qword [rsp + 0x5f8]
mov r8d, 0x2010
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x50]
call fcn.14017b730
nop
mov dword [rsp + 0x38], 0
jmp 0x14016a3ac
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 0x14016a677
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x5f8]
mov eax, dword [rcx + rax + 0x14]
mov rcx, qword [rsp + 0x5f0]
mov rcx, qword [rcx]
cmp rax, qword [rcx]
je 0x14016a3e6
jmp 0x14016a3a2
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x5f8]
cmp dword [rcx + rax + 0x1c], 0
je 0x14016a428
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.140137a20
movzx eax, byte [rsp + 0x31]
jmp 0x14016a68e
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.14017b1d0
nop
lea rcx, [rsp + 0x5a0]
call fcn.140138320
movzx eax, al
test eax, eax
jne 0x14016a493
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x5a0]
call fcn.140137820
nop
lea rcx, [rsp + 0x580]
call fcn.140137a20
movzx eax, byte [rsp + 0x32]
jmp 0x14016a68e
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 0x14016a516
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.140138440
mov rcx, rax
call fcn.1401353b0
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 0x14016a556
mov dword [rsp + 0x48], 4
mov eax, dword [rsp + 0x40]
and eax, 0x1f
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x5a0]
call fcn.140138440
mov rcx, rax
call fcn.140135360
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, 0x10
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.14017b350
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.14017bbe0
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.14017b350
nop
cmp dword [rsp + 0x64], 0
jl 0x14016a63f
mov dword [rsp + 0x58], 1
jmp 0x14016a647
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0x5a0]
call fcn.140137820
nop
lea rcx, [rsp + 0x580]
call fcn.140137a20
movzx eax, byte [rsp + 0x33]
jmp 0x14016a68e
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x580]
call fcn.140137a20
movzx eax, byte [rsp + 0x34]
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.1402143d0
add rsp, 0x5d8
pop rdi
pop rsi
ret