Function at 0x140191540
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 [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
mov qword [rsp + 0x598], 0
mov edx, 8
lea rcx, [rsp + 0x580]
call fcn.14016c210
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
mov edx, dword [rax + 0x4c]
lea rcx, [rsp + 0x580]
call fcn.140165040
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call fcn.14016d360
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.1401a2f90
nop
mov dword [rsp + 0x3c], 0
jmp 0x1401915f9
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 0x14019164b
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 0x140191649
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x580]
call fcn.14015f6a0
movzx eax, byte [rsp + 0x30]
jmp 0x140191f4e
jmp 0x1401915ef
lea rcx, [rsp + 0x580]
call fcn.140160130
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.14019b900
movzx eax, al
test eax, eax
je 0x140191804
lea rcx, [rsp + 0x580]
call fcn.140160130
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.14015dc80
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x2f0]
call fcn.140158460
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x348]
call fcn.14018f6c0
nop
lea rax, [rsp + 0x3a0]
mov r8, rax
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x1b8]
call fcn.14015ded0
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.14015e320
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
lea rcx, [rsp + 0x1e8]
call fcn.14015e500
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.14015f7b0
nop
lea rcx, [rsp + 0x170]
call fcn.14015f730
nop
lea r9, [fcn.14015f7d0]
mov r8d, 2
mov edx, 0x58
lea rcx, [rsp + 0x2f0]
call fcn.14023b97c
nop
jmp 0x140191af6
call fcn.140181f70
movzx eax, al
test eax, eax
je 0x14019197f
lea rcx, [rsp + 0x580]
call fcn.140160130
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.14015dc80
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x3b0]
call fcn.140158460
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x408]
call fcn.14018f6c0
nop
lea rax, [rsp + 0x460]
mov r8, rax
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x1c8]
call fcn.14015ded0
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.14015e320
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
lea rcx, [rsp + 0x240]
call fcn.14015e500
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.14015f7b0
nop
lea rcx, [rsp + 0x188]
call fcn.14015f730
nop
lea r9, [fcn.14015f7d0]
mov r8d, 2
mov edx, 0x58
lea rcx, [rsp + 0x3b0]
call fcn.14023b97c
nop
jmp 0x140191af6
lea rcx, [rsp + 0x580]
call fcn.140160130
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.14015dc80
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x470]
call fcn.140158460
nop
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x4c8]
call fcn.140158460
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x520]
call fcn.14018f6c0
nop
lea rax, [rsp + 0x578]
mov r8, rax
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x1d8]
call fcn.14015ded0
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.14015e320
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
lea rcx, [rsp + 0x298]
call fcn.14015e500
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.14015f7b0
nop
lea rcx, [rsp + 0x1a0]
call fcn.14015f730
nop
lea r9, [fcn.14015f7d0]
mov r8d, 3
mov edx, 0x58
lea rcx, [rsp + 0x470]
call fcn.14023b97c
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call fcn.14016d890
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x580]
call fcn.140160280
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.1401ab6f0
lea rcx, [rsp + 0x580]
call fcn.140160130
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.14016d890
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x580]
call fcn.140160280
mov rcx, rax
call fcn.140160150
mov rcx, rax
call fcn.14016ce70
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x580]
call fcn.140160280
mov rcx, rax
call fcn.140160150
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.1401ae400
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.1401a2f90
nop
mov dword [rsp + 0x38], 0
jmp 0x140191c6c
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 0x140191f37
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 0x140191ca6
jmp 0x140191c62
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x5f8]
cmp dword [rcx + rax + 0x1c], 0
je 0x140191ce8
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.14015f6a0
movzx eax, byte [rsp + 0x31]
jmp 0x140191f4e
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.1401a2a30
nop
lea rcx, [rsp + 0x5a0]
call fcn.14015ff90
movzx eax, al
test eax, eax
jne 0x140191d53
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x5a0]
call fcn.14015f4a0
nop
lea rcx, [rsp + 0x580]
call fcn.14015f6a0
movzx eax, byte [rsp + 0x32]
jmp 0x140191f4e
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 0x140191dd6
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.1401600b0
mov rcx, rax
call fcn.14015d180
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 0x140191e16
mov dword [rsp + 0x48], 4
mov eax, dword [rsp + 0x40]
and eax, 0x1f
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x5a0]
call fcn.1401600b0
mov rcx, rax
call fcn.14015d130
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.1401a2bb0
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.1401a3440
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.1401a2bb0
nop
cmp dword [rsp + 0x64], 0
jl 0x140191eff
mov dword [rsp + 0x58], 1
jmp 0x140191f07
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0x5a0]
call fcn.14015f4a0
nop
lea rcx, [rsp + 0x580]
call fcn.14015f6a0
movzx eax, byte [rsp + 0x33]
jmp 0x140191f4e
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x580]
call fcn.14015f6a0
movzx eax, byte [rsp + 0x34]
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.14023b7f0
add rsp, 0x5d8
pop rdi
pop rsi
ret