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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0xd8
mov rax, qword [rcx + 0x10]
xor r13d, r13d
mov rbp, qword [rcx]
xorps xmm0, xmm0
mov qword [rsp + 0x38], rax
mov r14, r9
mov qword [rsp + 0x40], rbp
mov rdi, r8
mov qword [rsp + 0x68], r13
mov r15, rdx
mov rsi, rcx
movdqu xmmword [r11 - 0x48], xmm0
test r9, r9
je 0x14019b3de
cmp dword [r9], 0x40
cmovge r14, r13
mov qword [r11 + 0x20], r14
movzx edx, word [rsp + 0x138]
mov r8d, 0xfeff
movzx ecx, byte [rbp + 0x5c]
and dx, r8w
mov eax, dword [r15]
and cl, 0x10
mov qword [rsp + 0xb0], r14
cmove dx, word [rsp + 0x138]
mov word [rsp + 0x30], dx
cmp eax, 0x40
jle 0x14019b43d
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, rsi
call fcn.140100f00
xor eax, eax
add rsp, 0xd8
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
test dl, 0x20
mov qword [rsp + 0x120], rbx
mov ecx, 1
mov qword [rsp + 0xd0], r12
cmovne eax, ecx
mov rcx, rbp
mov dword [rsp + 0x34], eax
lea eax, [rax + rax*2]
shl eax, 5
add eax, 0x39f
and eax, 0xfffffff8
movsxd rbx, eax
lea rdx, [rbx + 0x60]
call fcn.1400fd450
mov r12, rax
mov qword [rsp + 0x48], rax
cmp byte [rbp + 0x61], r13b
je 0x14019b4a0
test rax, rax
je 0x14019c376
mov rdx, rax
mov rcx, rbp
call fcn.1400fd030
jmp 0x14019c376
movsxd rdx, dword [rsp + 0x34]
lea rcx, [r12 + 0x398]
mov qword [rax + 8], r15
xorps xmm0, xmm0
mov r15, qword [rsp + 0x130]
mov rbp, 0xffffffffffffffff
mov qword [rax + 0x18], r15
mov qword [rax], rsi
mov qword [rax + 0x10], r14
mov qword [rax + 0x20], rdi
mov qword [rax + 0x28], rbp
mov byte [rax + 0x40], dl
mov eax, dword [rsi + 0x44]
dec eax
mov qword [rsp + 0x50], rbp
mov dword [rsi + 0x44], eax
mov dword [r12 + 0x30], eax
mov dword [r12 + 0x34], eax
movzx eax, word [rsp + 0x30]
mov word [r12 + 0x3c], ax
mov eax, dword [rsp + 0x140]
mov word [r12 + 0x3e], ax
mov dword [rsp + 0x58], eax
mov eax, dword [rsi + 0xc4]
mov dword [r12 + 0x38], eax
xor eax, eax
movups xmmword [r12 + 0x41], xmm0
movups xmmword [r12 + 0x51], xmm0
mov dword [r12 + 0x61], eax
mov word [r12 + 0x65], ax
mov byte [r12 + 0x67], al
lea rax, [rdx + 1]
lea r8, [rax + rax*2]
xor edx, edx
shl r8, 5
call fcn.1401b2ee0
mov word [rbx + r12 + 0x2c], r13w
lea r9, [r12 + 0x68]
mov dword [rbx + r12 + 0x28], r13d
lea rcx, [rbx + r12]
mov qword [rsp + 0xa0], r12
lea rax, [rcx + 0x48]
mov qword [rcx + 0x38], rax
mov eax, 3
mov word [rcx + 0x30], ax
lea rbp, [r12 + 0x290]
mov dword [rbp + 4], r13d
lea rax, [r9 + 0x28]
mov qword [r9 + 0x20], rax
mov rbx, rdi
mov qword [rsp + 0x60], r9
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0xb8], rcx
mov qword [r9], r12
mov byte [r9 + 0x11], r13b
mov qword [r9 + 8], r13
mov dword [r9 + 0x14], r13d
mov dword [r9 + 0x18], 8
test rdi, rdi
je 0x14019b5e3
nop dword [rax]
mov eax, dword [rbx + 4]
test eax, 0x41000
je 0x14019b5e3
bt eax, 0x12
jae 0x14019b5da
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x14019b5de
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14019b5c0
mov byte [r9 + 0x10], 0x2c
mov r10d, 0x80
test rbx, rbx
je 0x14019b829
cmp byte [rbx], 0x2c
je 0x14019b809
movsxd r8, dword [r9 + 0x18]
mov edx, r13d
cmp r13d, r8d
jl 0x14019b77a
mov rcx, qword [r12]
mov rdx, r8
mov rsi, qword [r9 + 0x20]
shl rdx, 7
mov rbx, qword [rcx]
movzx eax, word [rbx + 0x17c]
cmp rdx, rax
jbe 0x14019b651
cmp dword [rbx + 0x178], r13d
jne 0x14019b642
inc dword [rbx + 0x18c]
jmp 0x14019b729
cmp byte [rbx + 0x61], r13b
jne 0x14019b746
jmp 0x14019b729
cmp rdx, r10
ja 0x14019b6ed
mov rcx, qword [rbx + 0x1b0]
test rcx, rcx
je 0x14019b6d5
mov rax, qword [rcx]
mov qword [rbx + 0x1b0], rax
inc dword [rbx + 0x188]
mov qword [r9 + 0x20], rcx
movsxd r8, dword [r9 + 0x14]
mov rdx, rsi
shl r8, 6
call fcn.1401b2830
lea r9, [r12 + 0x68]
lea rax, [r9 + 0x28]
cmp rsi, rax
je 0x14019b6ad
test rsi, rsi
je 0x14019b6ad
mov rdx, rsi
mov rcx, rbx
call fcn.1400fd030
lea r9, [r12 + 0x68]
mov rcx, qword [r9 + 0x20]
cmp rcx, qword [rbx + 0x1c8]
jae 0x14019b761
cmp rcx, qword [rbx + 0x1b8]
jb 0x14019b74f
mov eax, 0x80
jmp 0x14019b76c
mov rcx, qword [rbx + 0x1a8]
test rcx, rcx
je 0x14019b6ed
mov rax, qword [rcx]
mov qword [rbx + 0x1a8], rax
jmp 0x14019b670
mov rcx, qword [rbx + 0x1a0]
test rcx, rcx
je 0x14019b708
mov rax, qword [rcx]
mov qword [rbx + 0x1a0], rax
jmp 0x14019b670
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x14019b723
mov rax, qword [rcx]
mov qword [rbx + 0x198], rax
jmp 0x14019b670
inc dword [rbx + 0x190]
mov rcx, rbx
call fcn.1400fd3f0
lea r9, [r12 + 0x68]
mov rcx, rax
mov qword [r9 + 0x20], rax
test rax, rax
jne 0x14019b67a
mov qword [r9 + 0x20], rsi
jmp 0x14019b829
cmp rcx, qword [rbx + 0x1c0]
jb 0x14019b761
movzx eax, word [rbx + 0x17e]
jmp 0x14019b76c
call qword [0x14024ed88]
lea r9, [r12 + 0x68]
mov edx, dword [r9 + 0x14]
cdqe
shr rax, 6
mov dword [r9 + 0x18], eax
movsxd r8, edx
lea eax, [rdx + 1]
shl r8, 6
add r8, qword [r9 + 0x20]
mov dword [r9 + 0x14], eax
test rdi, rdi
je 0x14019b7b2
test dword [rdi + 4], 0x40000
je 0x14019b7b2
movsxd rcx, dword [rdi + 0x2c]
call fcn.140102300
mov ecx, 0x10e
sub ax, cx
mov word [r8 + 0x10], ax
jmp 0x14019b7c1
mov eax, 1
mov word [r8 + 0x10], ax
test rdi, rdi
je 0x14019b7e4
mov eax, dword [rdi + 4]
test eax, 0x41000
je 0x14019b7e4
bt eax, 0x12
jae 0x14019b7db
mov rax, qword [rdi + 0x20]
mov rdi, qword [rax + 8]
jmp 0x14019b7df
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x14019b7c1
mov qword [r8], rdi
xorps xmm0, xmm0
mov word [r8 + 0x12], r13w
xor eax, eax
mov qword [r8 + 8], r9
movups xmmword [r8 + 0x14], xmm0
movups xmmword [r8 + 0x24], xmm0
mov qword [r8 + 0x34], rax
mov dword [r8 + 0x3c], eax
jmp 0x14019b829
mov rdx, qword [rbx + 0x10]
mov r8b, 0x2c
mov rcx, r9
call fcn.140194620
mov rdx, qword [rbx + 0x18]
lea rcx, [r12 + 0x68]
mov r8b, 0x2c
call fcn.140194620
mov ecx, 0x100
cmp dword [rsp + 0x34], r13d
jne 0x14019b868
test r14, r14
je 0x14019b843
movzx eax, byte [r14]
mov byte [r12 + 0x41], al
test word [rsp + 0x30], cx
je 0x14019b850
mov byte [r12 + 0x43], 1
mov rcx, qword [rsp + 0x110]
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
call fcn.1401244f0
jmp 0x14019b8bb
mov r14, qword [rsp + 0x118]
mov ebx, r13d
mov rsi, qword [rsp + 0x110]
lea rdi, [r14 + 0x4c]
nop
movsxd rcx, dword [rbp + 4]
lea rdx, [r14 + 8]
mov eax, dword [rdi]
lea r8, [r12 + 0x68]
mov dword [rbp + rcx*4 + 8], eax
inc dword [rbp + 4]
movsxd rax, ebx
imul rcx, rax, 0x70
add rdx, rcx
mov rcx, rsi
call fcn.140194970
inc ebx
lea rdi, [rdi + 0x70]
cmp ebx, dword [r14]
jl 0x14019b880
mov r14, qword [rsp + 0x128]
mov ebx, dword [r12 + 0x7c]
lea rax, [r12 + 0x68]
sub ebx, 1
js 0x14019b8fd
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x118]
nop word [rax + rax]
mov r8d, ebx
mov rdx, r12
mov rcx, rdi
call fcn.140193540
sub ebx, 1
jns 0x14019b8e0
mov r12, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov r8, qword [rsp + 0x40]
cmp byte [r8 + 0x61], r13b
jne 0x14019c357
mov esi, r13d
cmp dword [rax + 0x14], r13d
jle 0x14019ba18
mov r15, qword [rsp + 0x110]
lea rcx, [0x14019b360]
mov r14d, dword [rsp + 0x34]
lea r8, [0x14013fe50]
mov rdi, r13
nop word [rax + rax]
mov rbx, qword [r12 + 0x88]
add rbx, rdi
test byte [rbx + 0x12], 2
jne 0x14019b9ea
cmp qword [rbx + 0x38], r13
jne 0x14019b9ea
test r14d, r14d
je 0x14019b9c1
mov rdx, qword [rbx]
mov eax, 1
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x88], r13
mov dword [rsp + 0x90], r13d
mov qword [rsp + 0x96], r13
mov word [rsp + 0x9e], r13w
mov word [rsp + 0x94], ax
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], r8
test rdx, rdx
je 0x14019b9c1
lea rcx, [rsp + 0x70]
call fcn.1401395a0
cmp word [rsp + 0x94], r13w
je 0x14019b9dc
mov r8d, dword [r12 + 0x34]
mov r9d, reloc.WS2_32.dll_recv
mov rdx, qword [rbx]
mov rcx, r15
call fcn.140145f10
or word [rbx + 0x12], 4
lea r8, [0x14013fe50]
lea rcx, [0x14019b360]
inc esi
add rdi, 0x40
cmp esi, dword [r12 + 0x7c]
jl 0x14019b940
mov r14, qword [rsp + 0x128]
lea rbp, [r12 + 0x290]
mov r15, qword [rsp + 0x130]
lea rax, [r12 + 0x68]
movzx r13d, word [rsp + 0x30]
mov ebx, 0x100
and r13w, bx
je 0x14019ba65
mov rdx, qword [rsp + 0x118]
mov r9, r15
mov rcx, qword [rsp + 0x110]
mov r8, rax
call fcn.140195640
test eax, eax
je 0x14019ba50
mov byte [r12 + 0x43], 1
jmp 0x14019ba65
test r14, r14
jne 0x14019ba65
mov eax, 0x80
mov qword [r12 + 0x10], r15
or word [r12 + 0x3c], ax
cmp dword [rsp + 0x34], 1
jne 0x14019ba7d
lea rcx, [rsp + 0xa0]
call fcn.14019b180
test eax, eax
jne 0x14019bad7
lea rcx, [rsp + 0xa0]
call fcn.140199a00
test eax, eax
jne 0x14019c352
xor edx, edx
mov rcx, r12
call fcn.14019a690
mov r8, qword [rsp + 0x40]
cmp byte [r8 + 0x61], 0
jne 0x14019c357
cmp qword [r12 + 0x10], 0
je 0x14019bae4
movzx edx, word [r12 + 0x48]
mov rcx, r12
inc dx
call fcn.14019a690
mov r8, qword [rsp + 0x40]
cmp byte [r8 + 0x61], 0
jne 0x14019c357
jmp 0x14019badc
mov r8, qword [rsp + 0x40]
cmp qword [r12 + 0x10], 0
jne 0x14019bafd
mov eax, dword [r8 + 0x30]
mov rdi, 0xffffffffffffffff
bt rax, 0xc
jae 0x14019bb04
mov qword [r12 + 0x60], rdi
jmp 0x14019bb04
mov rdi, 0xffffffffffffffff
mov r10, qword [rsp + 0x110]
cmp dword [r10 + 0x30], 0
jne 0x14019c35f
cmp byte [r8 + 0x61], 0
jne 0x14019c35f
cmp byte [r12 + 0x40], 2
jb 0x14019bce8
test r15, r15
je 0x14019bce8
test word [r8 + 0x5c], bx
jne 0x14019bce8
mov rdx, r15
mov rcx, rbp
call fcn.1401948e0
mov rdx, qword [rsp + 0xb0]
mov r12, rax
test rdx, rdx
je 0x14019bb68
mov rcx, rbp
call fcn.1401948e0
or r12, rax
mov r8, qword [rsp + 0x48]
movzx ecx, byte [r8 + 0x40]
lea ebx, [rcx - 1]
cmp ebx, 1
jl 0x14019bcd8
mov r15, qword [rsp + 0xa8]
lea rsi, [r8 + 0x3e8]
movsxd rdx, ecx
lea rbp, [r8 + 0x338]
lea rcx, [rcx + rcx*2]
shl rcx, 5
lea r14, [r8 + 0x398]
add rbp, rcx
lea rax, [rdx - 1]
lea rax, [rax + rax*2]
shl rax, 5
add rsi, rax
lea rax, [rdx + rdx*2]
shl rax, 5
add r14, rax
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rsi]
movzx eax, byte [r10 + 0x10]
imul r11, rax, 0x70
add r11, qword [r8 + 8]
test byte [r11 + 0x44], 8
je 0x14019bc53
test r13w, r13w
jne 0x14019bbf7
test dword [r10 + 0x28], 0x1000
je 0x14019bc53
mov r9, qword [r10 + 8]
test r12, r9
jne 0x14019bc53
mov rax, qword [r15 + 0x20]
movsxd r8, dword [r15 + 0x14]
mov rdx, rax
shl r8, 6
add r8, rax
cmp rax, r8
jae 0x14019bc76
test qword [rdx + 0x38], r9
je 0x14019bc30
mov rcx, qword [rdx]
test byte [rcx + 4], 1
je 0x14019bc49
movsx ecx, word [rcx + 0x34]
cmp ecx, dword [r11 + 0x4c]
jne 0x14019bc49
add rdx, 0x40
cmp rdx, r8
jb 0x14019bc17
mov rcx, r9
not rcx
and rcx, rdi
mov qword [rsp + 0x50], rcx
jmp 0x14019bc83
cmp rdx, r8
jae 0x14019bc76
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
dec ebx
sub r14, 0x60
sub rbp, 0x60
sub rsi, 0x60
cmp ebx, 1
jge 0x14019bbd0
mov r12, qword [rsp + 0x48]
jmp 0x14019bcdb
not r9
and qword [rsp + 0x50], r9
cmp rax, r8
jae 0x14019bc9b
mov rcx, qword [rax + 0x38]
test qword [r10 + 8], rcx
je 0x14019bc92
or word [rax + 0x12], 4
add rax, 0x40
cmp rax, r8
jb 0x14019bc83
mov rdi, qword [rsp + 0x48]
movzx ecx, byte [rdi + 0x40]
lea eax, [rcx - 1]
cmp ebx, eax
je 0x14019bcc7
sub ecx, ebx
mov rdx, r14
dec ecx
lea eax, [rcx + rcx*2]
mov rcx, rbp
shl eax, 5
movsxd r8, eax
call fcn.1401b2830
movzx ecx, byte [rdi + 0x40]
dec cl
mov r8, rdi
dec dword [rsp + 0x34]
mov byte [rdi + 0x40], cl
jmp 0x14019bc53
mov r12, r8
mov r8, qword [rsp + 0x40]
mov r10, qword [rsp + 0x110]
mov rcx, qword [r12]
xor r9d, r9d
movsx eax, word [r12 + 0x48]
movzx ebx, r9w
movzx r13d, word [rsp + 0x30]
mov r11, qword [rsp + 0x118]
add dword [rcx + 0xc4], eax
mov dword [rsp + 0x128], ebx
test r13b, 4
je 0x14019bdaf
mov rdx, qword [r12 + 0x3e8]
mov ecx, dword [rdx + 0x28]
test ecx, 0x1000
jne 0x14019bd6f
mov ebx, r9d
mov dword [rsp + 0x128], ebx
test r13b, 8
je 0x14019bdaf
mov rax, qword [r11 + 0x28]
mov dword [rsp + 0x128], ebx
cmp dword [rax + 0x54], r9d
jne 0x14019bdaf
bt ecx, 0xd
jae 0x14019bd69
movzx ebx, r9w
mov dword [rsp + 0x128], ebx
test r13b, 0x10
je 0x14019bdaf
test ecx, 0x1000
sete al
movzx ebx, r9w
inc al
mov dword [rsp + 0x128], ebx
mov byte [r12 + 0x42], al
mov rax, qword [r11 + 0x28]
test byte [rax + 0x40], 0x80
jne 0x14019bdaf
mov dword [rsp + 0x128], ebx
test cl, 0x40
je 0x14019bdaf
and ecx, 0xffffffbf
movzx ebx, r13w
and bx, 8
mov dword [rdx + 0x28], ecx
mov dword [rsp + 0x128], ebx
mov r15d, dword [rsp + 0x34]
test r15d, r15d
jle 0x14019c0c1
mov eax, dword [rsp + 0x34]
lea r15, [r12 + 0x3e8]
mov qword [rsp + 0x60], rax
jmp 0x14019bdd3
xor r9d, r9d
movzx eax, byte [r15 - 0x1c]
mov esi, 0xffff8000
imul rbp, rax, 0x70
add rbp, r11
mov rdi, qword [rbp + 0x28]
mov rcx, qword [rdi + 0x70]
test rcx, rcx
je 0x14019be0c
mov rax, qword [r8 + 0x20]
mov esi, r9d
add rax, 0x18
cmp qword [rax], rcx
je 0x14019be0c
inc esi
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x14019be01
test byte [rdi + 0x40], 2
mov r14, qword [r15]
jne 0x14019c010
cmp qword [rdi + 0x18], 0
jne 0x14019c010
mov eax, dword [r14 + 0x28]
bt eax, 0xa
jae 0x14019bf12
mov rbx, qword [rdi + 0x60]
test rbx, rbx
je 0x14019be4e
nop dword [rax + rax]
cmp qword [rbx], r8
je 0x14019be4e
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14019be40
mov r13, qword [rsp + 0x38]
mov r8d, dword [rbp + 0x4c]
movsxd rdx, dword [r13 + 0x90]
cmp dword [r13 + 0x94], edx
jg 0x14019be80
mov dword [rsp + 0x20], r9d
mov edx, reloc.OLEAUT32.dll_LHashValOfNameSysA
xor r9d, r9d
mov rcx, r13
call fcn.140123cf0
mov edx, eax
jmp 0x14019beaf
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [r13 + 0x90], eax
mov rax, qword [r13 + 0x88]
mov dword [rax + rcx*8], reloc.OLEAUT32.dll_LHashValOfNameSysA
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [r13]
cmp byte [rax + 0x61], 0
jne 0x14019c015
test edx, edx
jns 0x14019beca
mov edx, dword [r13 + 0x90]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x14019bef9
mov r9d, 0xfffffff4
mov r8, rbx
mov rcx, r13
call fcn.140125070
jmp 0x14019c015
test rbx, rbx
je 0x14019c015
mov qword [rdx + 0x10], rbx
mov byte [rdx + 1], 0xf4
inc dword [rbx + 0x18]
jmp 0x14019c015
cmp dword [rdi + 0x54], 0
jne 0x14019c010
test al, 0x40
jne 0x14019bff7
test r13b, 0x20
jne 0x14019bff7
cmp byte [r12 + 0x42], 0
mov ecx, 0x60
je 0x14019bf48
mov eax, dword [rbp + 0x4c]
mov ecx, WSAAsyncSelect
mov dword [r12 + 0x28], eax
mov edx, dword [rbp + 0x4c]
mov r9, rdi
mov dword [rsp + 0x20], ecx
mov r8d, esi
mov rcx, r10
call fcn.140165560
cmp byte [r12 + 0x42], 0
jne 0x14019bfd5
cmp word [rdi + 0x46], 0x40
jge 0x14019bfd5
test byte [rdi + 0x40], 0xe0
jne 0x14019bfd5
mov rax, qword [rbp + 0x60]
xor r9d, r9d
test rax, rax
je 0x14019bf88
nop
inc r9d
shr rax, 1
jne 0x14019bf80
mov r13, qword [rsp + 0x38]
movsxd r8, r9d
mov rax, qword [r13]
cmp byte [rax + 0x61], 0
jne 0x14019bfda
movsxd rax, dword [r13 + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x14019bfcb
mov r9d, 0xfffffffd
mov rcx, r13
call fcn.140125070
jmp 0x14019bfda
mov dword [rdx + 0x10], r9d
mov byte [rdx + 1], 0xfd
jmp 0x14019bfda
mov r13, qword [rsp + 0x38]
movsxd rax, dword [r13 + 0x90]
test eax, eax
jle 0x14019c015
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
mov word [rax + rcx*8 - 0x16], bx
jmp 0x14019c015
mov rax, qword [rdi]
xor r9d, r9d
mov r8d, dword [rdi + 0x38]
mov edx, esi
mov rcx, r10
mov qword [rsp + 0x20], rax
call fcn.14014eb90
mov r13, qword [rsp + 0x38]
test dword [r14 + 0x28], 0x200
je 0x14019c055
test byte [rdi + 0x40], 0x80
mov r10d, WSAAsyncSelect
mov rbx, qword [r14 + 0x20]
je 0x14019c1be
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
movzx eax, word [rsp + 0x30]
jne 0x14019c1c3
test al, 0x20
je 0x14019c1c3
mov eax, dword [r15 - 0x4c]
mov dword [r15 - 0x48], eax
mov rbp, qword [rsp + 0x110]
test esi, esi
js 0x14019c08a
mov rax, qword [rbp + 0xa0]
mov rcx, rbp
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x74]
bt eax, esi
jb 0x14019c08a
bts eax, esi
mov dword [rcx + 0x74], eax
cmp esi, 1
jne 0x14019c08a
call fcn.1401579a0
mov ebx, dword [rsp + 0x128]
add r15, 0x60
sub qword [rsp + 0x60], 1
mov r10, qword [rsp + 0x110]
mov r8, qword [rsp + 0x40]
movzx r13d, word [rsp + 0x30]
mov r11, qword [rsp + 0x118]
jne 0x14019bdd0
mov r15d, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x38]
mov eax, dword [rsi + 0x90]
mov dword [r12 + 0x4c], eax
cmp byte [r8 + 0x61], 0
jne 0x14019c357
test r15d, r15d
jle 0x14019c1b6
mov r14, qword [rsp + 0x110]
lea rdi, [r12 + 0x3cc]
nop word [rax + rax]
mov rax, qword [rdi + 0x1c]
mov rbp, qword [rsp + 0x50]
test dword [rax + 0x28], 0x4000
je 0x14019c151
movzx eax, byte [rdi]
lea rdx, [rdi - 0x34]
mov r8, qword [rsp + 0x118]
mov r9, rbp
imul rcx, rax, 0x70
add r8, 8
mov qword [rsp + 0x20], rdx
add r8, rcx
lea rdx, [r12 + 0x68]
mov rcx, r14
call fcn.140195a20
mov r8, qword [rsp + 0x40]
cmp byte [r8 + 0x61], 0
jne 0x14019c357
mov rdx, qword [rsp + 0x118]
lea rbx, [rdi - 0x34]
mov r8, rbx
movzx r9d, r13w
mov rcx, r14
call fcn.14018d320
mov eax, dword [rsi + 0x90]
mov r8, r12
mov qword [rsp + 0x28], rbp
mov rdx, rsi
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rbx, qword [rsp + 0x68]
mov r9d, ebx
mov dword [rdi - 0x14], eax
call fcn.14018f160
mov ecx, dword [rdi - 0x1c]
inc ebx
add rdi, 0x60
mov qword [rsp + 0x50], rax
mov dword [r12 + 0x30], ecx
mov qword [rsp + 0x68], rbx
cmp ebx, r15d
jl 0x14019c100
mov rax, r12
jmp 0x14019c378
movzx eax, word [rsp + 0x30]
cmp byte [r12 + 0x42], 0
je 0x14019c205
mov rax, qword [rbp + 0x28]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14019c1f0
nop dword [rax]
cmp rcx, rbx
je 0x14019c1f0
mov rcx, qword [rcx + 0x28]
inc edx
test rcx, rcx
jne 0x14019c1e0
mov rbp, qword [rsp + 0x110]
mov r10d, WSAAsyncSelect
mov dword [r12 + 0x2c], edx
jmp 0x14019c236
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x14019c225
test al, 0x20
je 0x14019c225
mov rbp, qword [rsp + 0x110]
mov edx, ecx
mov r10d, 0x5f
mov eax, ecx
jmp 0x14019c238
mov rbp, qword [rsp + 0x110]
mov edx, dword [rbp + 0x34]
lea eax, [rdx + 1]
mov dword [rbp + 0x34], eax
mov eax, edx
mov dword [r15 - 0x48], eax
movsxd rcx, dword [r13 + 0x90]
mov r8d, dword [rbx + 0x58]
cmp dword [r13 + 0x94], ecx
jg 0x14019c267
mov r9d, r8d
mov dword [rsp + 0x20], esi
mov r8d, edx
mov rcx, r13
mov edx, r10d
call fcn.140123cf0
jmp 0x14019c2a0
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [r13 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r13 + 0x88]
mov byte [rax + rcx*8], r10b
mov word [rax + rcx*8 + 2], r9w
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r9
mov byte [rax + rcx*8 + 1], r9b
mov rdi, qword [rbp + 0x10]
mov rdx, rbx
mov rcx, rbp
call fcn.140158450
mov r8, rax
test rax, rax
je 0x14019c2fa
mov rax, qword [rdi]
cmp byte [rax + 0x61], 0
je 0x14019c2de
cmp qword [rax + 0x2d8], 0
jne 0x14019c2fa
add dword [r8], 0xffffffff
jne 0x14019c2fa
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.1400fd030
jmp 0x14019c2fa
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf7
mov qword [rax + rcx*8 - 8], r8
mov eax, dword [r14 + 0x28]
test al, 0xf
je 0x14019c05d
test eax, 0x88002
jne 0x14019c05d
test byte [r12 + 0x3c], 1
jne 0x14019c05d
cmp byte [r12 + 0x43], 2
je 0x14019c05d
movsxd rax, dword [r13 + 0x90]
test eax, eax
jle 0x14019c05d
lea rcx, [rax + rax*2]
mov edx, 2
mov rax, qword [r13 + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x14019c05d
mov r8, qword [rsp + 0x40]
mov r10, qword [rsp + 0x110]
mov eax, dword [r12 + 0x38]
mov rdx, r12
mov rcx, r8
mov dword [r10 + 0xc4], eax
call fcn.140196d50
xor eax, eax
mov rbx, qword [rsp + 0x120]
mov r12, qword [rsp + 0xd0]
add rsp, 0xd8
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret