Function at 0x140191550
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.14016c220
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
mov edx, dword [rax + 0x4c]
lea rcx, [rsp + 0x580]
call fcn.140165050
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call fcn.14016d370
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.1401a2fa0
nop
mov dword [rsp + 0x3c], 0
jmp 0x140191609
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 0x14019165b
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 0x140191659
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x580]
call fcn.14015f6b0
movzx eax, byte [rsp + 0x30]
jmp 0x140191f5e
jmp 0x1401915ff
lea rcx, [rsp + 0x580]
call fcn.140160140
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.14019b910
movzx eax, al
test eax, eax
je 0x140191814
lea rcx, [rsp + 0x580]
call fcn.140160140
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.14015dc90
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x2f0]
call fcn.140158470
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x348]
call fcn.14018f6d0
nop
lea rax, [rsp + 0x3a0]
mov r8, rax
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x1b8]
call fcn.14015dee0
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.14015e330
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
lea rcx, [rsp + 0x1e8]
call fcn.14015e510
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.14015f7c0
nop
lea rcx, [rsp + 0x170]
call fcn.14015f740
nop
lea r9, [fcn.14015f7e0]
mov r8d, 2
mov edx, 0x58
lea rcx, [rsp + 0x2f0]
call fcn.14023b98c
nop
jmp 0x140191b06
call fcn.140181f80
movzx eax, al
test eax, eax
je 0x14019198f
lea rcx, [rsp + 0x580]
call fcn.140160140
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.14015dc90
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x3b0]
call fcn.140158470
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x408]
call fcn.14018f6d0
nop
lea rax, [rsp + 0x460]
mov r8, rax
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x1c8]
call fcn.14015dee0
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.14015e330
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
lea rcx, [rsp + 0x240]
call fcn.14015e510
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.14015f7c0
nop
lea rcx, [rsp + 0x188]
call fcn.14015f740
nop
lea r9, [fcn.14015f7e0]
mov r8d, 2
mov edx, 0x58
lea rcx, [rsp + 0x3b0]
call fcn.14023b98c
nop
jmp 0x140191b06
lea rcx, [rsp + 0x580]
call fcn.140160140
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.14015dc90
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x470]
call fcn.140158470
nop
mov rax, qword [rsp + 0x5f0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x4c8]
call fcn.140158470
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x520]
call fcn.14018f6d0
nop
lea rax, [rsp + 0x578]
mov r8, rax
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x1d8]
call fcn.14015dee0
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.14015e330
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
lea rcx, [rsp + 0x298]
call fcn.14015e510
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.14015f7c0
nop
lea rcx, [rsp + 0x1a0]
call fcn.14015f740
nop
lea r9, [fcn.14015f7e0]
mov r8d, 3
mov edx, 0x58
lea rcx, [rsp + 0x470]
call fcn.14023b98c
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 8]
mov rcx, qword [rax]
call fcn.14016d8a0
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x580]
call fcn.140160290
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.1401ab700
lea rcx, [rsp + 0x580]
call fcn.140160140
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.14016d8a0
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x580]
call fcn.140160290
mov rcx, rax
call fcn.140160160
mov rcx, rax
call fcn.14016ce80
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x580]
call fcn.140160290
mov rcx, rax
call fcn.140160160
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.1401ae410
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.1401a2fa0
nop
mov dword [rsp + 0x38], 0
jmp 0x140191c7c
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 0x140191f47
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 0x140191cb6
jmp 0x140191c72
mov eax, dword [rsp + 0x38]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x5f8]
cmp dword [rcx + rax + 0x1c], 0
je 0x140191cf8
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.14015f6b0
movzx eax, byte [rsp + 0x31]
jmp 0x140191f5e
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.1401a2a40
nop
lea rcx, [rsp + 0x5a0]
call fcn.14015ffa0
movzx eax, al
test eax, eax
jne 0x140191d63
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x5a0]
call fcn.14015f4b0
nop
lea rcx, [rsp + 0x580]
call fcn.14015f6b0
movzx eax, byte [rsp + 0x32]
jmp 0x140191f5e
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 0x140191de6
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.1401600c0
mov rcx, rax
call fcn.14015d190
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 0x140191e26
mov dword [rsp + 0x48], 4
mov eax, dword [rsp + 0x40]
and eax, 0x1f
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x5a0]
call fcn.1401600c0
mov rcx, rax
call fcn.14015d140
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.1401a2bc0
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.1401a3450
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.1401a2bc0
nop
cmp dword [rsp + 0x64], 0
jl 0x140191f0f
mov dword [rsp + 0x58], 1
jmp 0x140191f17
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0x5a0]
call fcn.14015f4b0
nop
lea rcx, [rsp + 0x580]
call fcn.14015f6b0
movzx eax, byte [rsp + 0x33]
jmp 0x140191f5e
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x580]
call fcn.14015f6b0
movzx eax, byte [rsp + 0x34]
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.14023b800
add rsp, 0x5d8
pop rdi
pop rsi
ret