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

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x148]
sub rsp, 0x248
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor edi, edi
mov dword [rbp - 0x5c], r9d
mov r9, rcx
mov qword [rbp - 0x78], rcx
xor ecx, ecx
mov qword [rbp - 0x50], r8
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x54], edi
mov r10, qword [r9 + 0x48]
mov qword [rsp + 0x70], r10
mov dword [rbp - 0x60], edi
mov dword [rbp + 0xf8], ecx
mov byte [rbp + 0xfc], cl
mov dword [rbp - 0x30], edi
mov qword [rbp - 0x20], rdi
test r8, r8
jne 0x14019f50a
lea eax, [rdi + 7]
jmp 0x1401a0a4d
movzx ecx, word [r9 + 0x18]
movzx r8d, byte [r9 + 0xc]
mov qword [rsp + 0x278], rbx
mov qword [rsp + 0x240], rsi
mov qword [rsp + 0x238], r12
mov qword [rsp + 0x230], r13
lea ebx, [r8 + rcx]
mov qword [rsp + 0x228], r14
mov qword [rsp + 0x220], r15
cmp ebx, 2
jae 0x14019f551
mov edx, edi
jmp 0x14019f579
test edx, edx
jne 0x14019f559
mov edx, edi
jmp 0x14019f56c
cmp edx, ebx
jne 0x14019f56a
mov eax, dword [rbp + 0x180]
lea edx, [rax - 2]
add edx, ebx
jmp 0x14019f572
dec edx
mov eax, dword [rbp + 0x180]
mov ebx, 2
sub ebx, eax
mov eax, edx
mov dword [rsp + 0x68], edx
sub eax, r8d
mov dword [rsp + 0x78], ebx
add eax, ebx
lea r11d, [rbx + 1]
mov dword [rsp + 0x6c], r11d
cmp eax, ecx
jne 0x14019f5a0
movzx ecx, byte [r9 + 9]
add rcx, 8
jmp 0x14019f5bc
add eax, eax
movsxd rcx, eax
mov rax, qword [r9 + 0x60]
movzx edx, word [rcx + rax]
movzx eax, word [r9 + 0x1a]
ror dx, 8
movzx ecx, dx
and rcx, rax
add rcx, qword [r9 + 0x50]
lea r12, [rbp + 0x58]
mov qword [rbp - 0x58], rcx
mov eax, dword [rcx]
movsxd rcx, ebx
bswap eax
mov dword [rbp - 0x68], eax
mov esi, eax
mov dword [rbp - 0x70], eax
lea r12, [r12 + rcx*4]
mov qword [rbp - 0x38], rcx
lea r15, [rcx*8]
lea rcx, [0x14033c8a4]
movsxd r13, ebx
cmp esi, dword [r10 + 0x40]
jbe 0x14019f62a
mov qword [rsp + 0x20], rcx
lea r8, str.database_corruption
mov ecx, listen
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0xff5f
call fcn.140194110
mov r14d, listen
mov dword [rsp + 0x44], r14d
jmp 0x14019f717
mov rax, qword [r10]
lea r8, [rsp + 0x60]
xor r9d, r9d
mov edx, esi
mov rcx, rax
call qword [rax + 0x108]
mov dword [rsp + 0x44], eax
mov r14d, eax
test eax, eax
jne 0x14019f717
mov rdx, qword [rsp + 0x60]
mov rax, qword [rdx + 0x10]
mov qword [rbp + r15 + 0x70], rax
cmp byte [rax], r14b
jne 0x14019f710
mov rcx, qword [rdx + 0x10]
cmp esi, dword [rcx + 4]
je 0x14019f69c
mov rax, qword [rdx + 8]
cmp esi, 1
mov qword [rcx + 0x50], rax
mov rax, qword [rsp + 0x70]
mov qword [rcx + 0x48], rax
mov eax, edi
mov qword [rcx + 0x70], rdx
mov edx, 0x64
cmove eax, edx
mov dword [rcx + 4], esi
mov byte [rcx + 9], al
mov rax, qword [rbp + r15 + 0x70]
mov rcx, rax
call fcn.1401a1f30
mov dword [rsp + 0x44], eax
mov r14d, eax
test eax, eax
je 0x14019f710
mov r8, qword [rbp + r15 + 0x70]
test r8, r8
je 0x14019f717
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x14019f706
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
movsxd rax, dword [r10 + 0xbc]
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
mov r9, qword [rcx]
imul rdx, rax
call qword [r9 + 0x90]
jmp 0x14019f717
mov rcx, r8
call fcn.1402078a0
jmp 0x14019f717
mov r14d, edi
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x40], r14d
test r14d, r14d
jne 0x1401a0990
mov rcx, qword [rbp + r15 + 0x70]
cmp dword [rcx + 0x14], r14d
jge 0x14019f748
call fcn.1401a12d0
mov dword [rsp + 0x44], eax
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x14019f874
mov ecx, ebx
sub r12, 4
dec ebx
sub r15, 8
test ecx, ecx
je 0x14019f962
mov r8, qword [rbp - 0x78]
movzx edx, byte [r8 + 0xc]
test dl, dl
je 0x14019f7b5
mov eax, dword [rsp + 0x68]
movzx ecx, word [r8 + 0x1c]
add eax, ebx
cmp eax, ecx
jne 0x14019f7b5
mov rdx, qword [r8 + 0x28]
mov rcx, r8
mov qword [rbp + r15 + 0x100], rdx
mov r14d, dword [rdx]
bswap r14d
mov dword [rbp - 0x68], r14d
mov dword [rbp - 0x70], r14d
call qword [r8 + 0x78]
mov r10, qword [rsp + 0x70]
mov esi, r14d
movzx eax, ax
mov dword [r12], eax
mov rax, qword [rbp - 0x78]
mov byte [rax + 0xc], 0
jmp 0x14019f5e7
mov ecx, dword [rsp + 0x68]
movzx eax, dl
sub ecx, eax
mov rax, qword [r8 + 0x60]
add ecx, ebx
add ecx, ecx
movsxd rcx, ecx
movzx edx, word [rcx + rax]
mov rcx, r8
movzx eax, word [r8 + 0x1a]
ror dx, 8
movzx edi, dx
and rdi, rax
add rdi, qword [r8 + 0x50]
mov rdx, rdi
mov qword [rbp + r15 + 0x100], rdi
mov eax, dword [rdi]
bswap eax
mov dword [rbp - 0x68], eax
mov esi, eax
mov dword [rbp - 0x70], eax
call qword [r8 + 0x78]
mov rdx, qword [rsp + 0x70]
movzx r14d, ax
mov dword [r12], r14d
test byte [rdx + 0x28], 0xc
je 0x14019f84b
mov rax, qword [rbp - 0x78]
mov ecx, edi
sub ecx, dword [rax + 0x50]
lea eax, [r14 + rcx]
cmp eax, dword [rdx + 0x38]
jg 0x14019f88c
movsxd rcx, ecx
mov r8d, r14d
add rcx, qword [rbp - 0x50]
mov rdx, rdi
call fcn.140289020
mov rcx, qword [rbp - 0x78]
sub rdi, qword [rcx + 0x50]
add rdi, qword [rbp - 0x50]
mov qword [rbp + r15 + 0x100], rdi
jmp 0x14019f84f
mov rcx, qword [rbp - 0x78]
movzx eax, byte [rcx + 0xc]
lea r9, [rsp + 0x40]
mov edx, dword [rsp + 0x68]
mov r8d, r14d
sub edx, eax
add edx, ebx
call fcn.1401ab520
mov r10, qword [rsp + 0x70]
xor edi, edi
jmp 0x14019f5e7
movsxd r8, ebx
lea rcx, [rbp + 0x70]
xor edx, edx
lea r8, [r8*8]
call fcn.140289490
jmp 0x14019f8d0
lea rax, [0x14033c8a4]
mov r9d, 0x11483
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, listen
call fcn.140194110
mov r8, r13
lea rcx, [rbp + 0x70]
shl r8, 3
xor edx, edx
mov r14d, listen
call fcn.140289490
xor edi, edi
movsxd rax, dword [rsp + 0x6c]
mov r15, qword [rsp + 0x220]
mov rsi, rax
mov r13, qword [rsp + 0x230]
mov r12, qword [rsp + 0x238]
test eax, eax
jle 0x1401a09be
mov rbx, rdi
nop dword [rax + rax]
mov r8, qword [rbp + rbx*8 + 0x70]
test r8, r8
je 0x1401a09b2
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1401a09aa
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
movsxd rax, dword [r10 + 0xbc]
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
mov r9, qword [rcx]
imul rdx, rax
call qword [r9 + 0x90]
jmp 0x1401a09b2
mov rax, qword [rsp + 0x70]
mov esi, dword [rsp + 0x6c]
mov r8d, dword [rax + 0x34]
mov eax, 0xaaaaaaab
lea ecx, [r8 - 8]
mul ecx
mov ebx, edx
shr ebx, 2
add ebx, 4
imul ebx, esi
add ebx, 3
and ebx, 0xfffffffc
lea eax, [rbx + rbx*4]
lea ecx, [r8 + rax*2]
movsxd rcx, ecx
call fcn.140203f00
mov qword [rbp - 0x20], rax
mov r8, rax
test rax, rax
jne 0x14019f9af
lea r14d, [rax + 7]
jmp 0x14019f8d0
movsxd rax, ebx
xor r12d, r12d
mov r13d, r12d
lea rdx, [r8 + rax*8]
lea rax, [rax + rax*4]
mov qword [rbp - 0x18], rdx
lea rax, [r8 + rax*2]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp - 0x28], rax
movzx r9d, byte [rax + 8]
movzx r10d, byte [rax + 3]
shl r9w, 2
mov word [rsp + 0x4c], r9w
mov dword [rsp + 0x48], r10d
test esi, esi
jg 0x14019fc07
mov rax, qword [rsp + 0x70]
mov ecx, r12d
movzx r9d, r9w
mov dword [rsp + 0x50], ecx
mov eax, dword [rax + 0x38]
add eax, 0xfffffff4
add r9d, eax
mov dword [rsp + 0x54], r9d
test esi, esi
jle 0x14019fb26
mov rdx, r12
lea r15, [rbp + 0x20]
mov qword [rsp + 0x60], rdx
lea r12, [rbp - 0x10]
lea r13, [rbp + 0x1c]
mov r8d, dword [rbp + rdx*4 + 0xc8]
mov rbx, qword [rbp + rdx*8 + 0x70]
mov dword [rsp + 0x78], r8d
mov rax, qword [rbx + 0x58]
mov qword [r12], rax
mov dword [r15], r8d
test ecx, ecx
je 0x14019fa6a
cmp r8d, dword [r13]
jne 0x14019fa6a
dec ecx
sub r12, 8
sub r13, 4
mov dword [rsp + 0x50], ecx
sub r15, 4
test r10b, r10b
jne 0x14019fa94
mov rax, qword [rbp - 0x78]
add r12, 8
inc ecx
add r13, 4
add r15, 4
mov dword [rsp + 0x50], ecx
mov rax, qword [rax + 0x58]
mov qword [r12], rax
lea eax, [r8 + 1]
mov dword [r15], eax
mov edi, r9d
lea rax, [rbp + 0x58]
sub edi, dword [rbx + 0x14]
lea rax, [rax + rdx*4]
xor r14d, r14d
mov qword [rbp - 0x80], rax
mov dword [rax], edi
cmp byte [rbx + 0xc], r14b
jbe 0x14019faf8
lea rsi, [rbx + 0x28]
mov rdx, qword [rsi]
mov rcx, rbx
call qword [rbx + 0x78]
movzx eax, ax
inc r14d
add eax, 2
lea rsi, [rsi + 8]
add edi, eax
movzx eax, byte [rbx + 0xc]
cmp r14d, eax
jl 0x14019fab5
mov rax, qword [rbp - 0x80]
mov ecx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x78]
mov r9d, dword [rsp + 0x54]
mov r10d, dword [rsp + 0x48]
mov esi, dword [rsp + 0x6c]
mov dword [rax], edi
inc ecx
mov dword [rbp + rdx*4 + 0x40], r8d
inc rdx
movsxd rax, esi
add r12, 8
mov qword [rsp + 0x60], rdx
add r13, 4
mov dword [rsp + 0x50], ecx
add r15, 4
cmp rdx, rax
jl 0x14019fa31
xor r12d, r12d
mov edx, esi
mov r13d, r12d
mov dword [rsp + 0x50], edx
test esi, esi
jle 0x14019ff59
mov ecx, dword [rbp - 0x30]
mov r15d, 1
mov r14, r12
nop dword [rax]
nop word [rax + rax]
mov ebx, dword [rbp + r14 + 0x58]
cmp ebx, r9d
jle 0x14019fe67
nop
cmp r15d, edx
jl 0x14019fb86
lea eax, [r15 + 1]
mov dword [rsp + 0x50], eax
cmp r14, 0xc
jg 0x14019ff43
mov dword [rbp + r14 + 0x5c], r12d
mov ebx, dword [rbp + r14 + 0x58]
mov dword [rbp + r14 + 0x44], ecx
movsxd rdi, dword [rbp + r14 + 0x40]
mov rcx, qword [rbp - 0x18]
mov rax, rdi
lea esi, [rdi - 1]
movzx eax, word [rcx + rdi*2 - 2]
test ax, ax
jne 0x14019fbb8
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.1401a7380
mov rcx, qword [rbp - 0x18]
mov r9d, dword [rsp + 0x54]
mov r10d, dword [rsp + 0x48]
movzx eax, ax
add eax, 2
sub ebx, eax
mov dword [rbp + r14 + 0x58], ebx
test r10b, r10b
jne 0x14019fe4d
cmp edi, dword [rbp - 0x30]
jge 0x14019fe4a
mov rax, rdi
movzx eax, word [rcx + rdi*2]
test ax, ax
jne 0x14019fbf3
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.1401a7380
mov r10d, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x54]
movzx eax, ax
add eax, 2
jmp 0x14019fe4d
mov rdx, qword [rbp - 0x18]
mov r14, qword [rbp + r12*8 + 0x70]
mov rax, qword [rbp + 0x70]
mov rdi, qword [r14 + 0x50]
mov rcx, qword [rax + 0x50]
movzx ebx, word [r14 + 0x12]
movzx esi, word [r14 + 0x1a]
add rbx, rdi
movzx eax, byte [rcx]
cmp byte [rdi], al
jne 0x14019fe15
movzx eax, word [r14 + 0x18]
movsxd r15, dword [rbp - 0x30]
movzx r8d, byte [r14 + 0xc]
add r8, rax
mov rax, r15
add r8, r8
lea rcx, [rdx + r15*2]
xor edx, edx
call fcn.140289490
movzx eax, byte [r14 + 0xc]
xor r9d, r9d
test al, al
je 0x14019fcd2
movzx ecx, word [r14 + 0x1c]
mov r10, qword [rbp - 0x20]
cmp r9w, cx
jae 0x14019fca0
movzx edx, cx
movzx eax, word [rbx]
add rbx, 2
ror ax, 8
movzx ecx, ax
movzx eax, si
and rcx, rax
movsxd rax, r15d
add rcx, rdi
inc r15d
mov qword [r10 + rax*8], rcx
sub rdx, 1
jne 0x14019fc70
movzx eax, byte [r14 + 0xc]
mov dword [rbp - 0x30], r15d
mov r8d, r9d
test al, al
je 0x14019fcd2
lea rdx, [r14 + 0x28]
nop dword [rax + rax]
mov rax, qword [rdx]
lea rdx, [rdx + 8]
movsxd rcx, r15d
inc r8d
inc r15d
mov qword [r10 + rcx*8], rax
movzx eax, byte [r14 + 0xc]
cmp r8d, eax
jl 0x14019fcb0
mov dword [rbp - 0x30], r15d
movzx edx, word [r14 + 0x18]
movzx ecx, word [r14 + 0x12]
add rcx, rdi
lea rax, [rcx + rdx*2]
mov rdx, r9
mov r8, rax
sub r8, rbx
inc r8
shr r8, 1
cmp rbx, rax
cmova r8, r9
test r8, r8
je 0x14019fd2f
mov r9, qword [rbp - 0x20]
movzx eax, word [rbx]
lea rbx, [rbx + 2]
ror ax, 8
inc rdx
movzx ecx, ax
movzx eax, si
and rcx, rax
movsxd rax, r15d
add rcx, rdi
inc r15d
mov qword [r9 + rax*8], rcx
cmp rdx, r8
jb 0x14019fd02
mov dword [rbp - 0x30], r15d
mov r10d, dword [rsp + 0x48]
mov dword [rbp + r12*4 + 0xc8], r15d
cmp r13d, dword [rsp + 0x78]
jge 0x14019fdf3
test r10b, r10b
jne 0x14019fdf3
movzx ecx, word [rbp + r12*4 + 0x58]
mov rax, qword [rbp - 0x18]
mov r8d, ecx
mov rdx, qword [rbp + r12*8 + 0x100]
movsxd rdi, r15d
movsxd r15, dword [rsp + 0x54]
lea rsi, [rax + rdi*2]
mov rbx, r15
mov word [rsi], cx
add rbx, qword [rsp + 0x60]
add r15d, ecx
mov rcx, rbx
mov dword [rsp + 0x54], r15d
call fcn.140289020
movzx r9d, word [rsp + 0x4c]
mov r8, qword [rbp - 0x20]
lea rax, [rbx + r9]
mov qword [r8 + rdi*8], rax
sub word [rsi], r9w
cmp byte [r14 + 8], 0
jne 0x14019fdc0
mov rax, qword [r14 + 0x50]
mov rcx, qword [r8 + rdi*8]
inc dword [rbp - 0x30]
mov r10d, dword [rsp + 0x48]
mov eax, dword [rax + 8]
mov dword [rcx], eax
jmp 0x14019fdf9
cmp word [rsi], 4
jae 0x14019fde9
mov rcx, qword [rsp + 0x60]
movsxd rax, r15d
add rcx, rax
mov byte [rcx], 0
lea rcx, [rcx + 1]
inc word [rsi]
inc r15d
cmp word [rsi], 4
jb 0x14019fdd1
mov dword [rsp + 0x54], r15d
inc dword [rbp - 0x30]
mov r10d, dword [rsp + 0x48]
jmp 0x14019fdf9
movzx r9d, word [rsp + 0x4c]
movsxd rsi, dword [rsp + 0x6c]
inc r13d
inc r12
cmp r12, rsi
jl 0x14019fc03
xor r12d, r12d
jmp 0x14019f9f7
mov r9d, 0x114c5
lea rax, [0x14033c8a4]
mov ecx, listen
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140194110
mov r14d, listen
jmp 0x1401a091c
mov eax, r12d
add dword [rbp + r14 + 0x5c], eax
mov ecx, dword [rbp - 0x30]
mov edx, dword [rsp + 0x50]
mov dword [rbp + r14 + 0x40], esi
cmp ebx, r9d
jg 0x14019fb60
mov edi, dword [rbp + r14 + 0x40]
cmp edi, ecx
jge 0x14019ff06
mov rdx, qword [rbp - 0x18]
nop dword [rax + rax]
movsxd rax, edi
movsxd rsi, edi
movzx eax, word [rdx + rax*2]
test ax, ax
jne 0x14019fea6
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.1401a7380
mov ecx, dword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r9d, dword [rsp + 0x54]
movzx eax, ax
add eax, 2
add ebx, eax
cmp ebx, r9d
jg 0x14019ff26
inc edi
mov dword [rbp + r14 + 0x58], ebx
cmp byte [rsp + 0x48], 0
mov dword [rbp + r14 + 0x40], edi
jne 0x14019fef9
cmp edi, ecx
jge 0x14019fef6
mov rax, rsi
movzx eax, word [rdx + rsi*2 + 2]
test ax, ax
jne 0x14019feee
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.1401a7380
mov ecx, dword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r9d, dword [rsp + 0x54]
movzx eax, ax
add eax, 2
jmp 0x14019fef9
mov eax, r12d
sub dword [rbp + r14 + 0x5c], eax
cmp edi, ecx
jl 0x14019fe80
mov edx, r15d
mov dword [rsp + 0x50], edx
inc r13d
inc r15d
add r14, 4
cmp r13d, edx
jge 0x14019ff59
mov r10d, dword [rsp + 0x48]
jmp 0x14019fb50
cmp edi, ecx
jge 0x14019ff06
test r13d, r13d
jle 0x14019ff36
mov eax, dword [rbp + r14 + 0x3c]
jmp 0x14019ff39
mov eax, r12d
cmp edi, eax
jle 0x14019ff4e
mov edx, dword [rsp + 0x50]
jmp 0x14019ff0d
mov r9d, 0x1153d
jmp 0x14019fe1b
mov r9d, 0x1155e
jmp 0x14019fe1b
lea eax, [rdx - 1]
movsxd rsi, eax
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x78], eax
test eax, eax
jle 0x1401a00c6
lea rax, [rbp + 0x40]
lea rcx, [rbp + 0x58]
sub rax, rcx
add rax, 0xfffffffffffffffc
mov qword [rbp + 0x100], rax
nop word [rax + rax]
mov r12d, dword [rbp + rsi*4 + 0x54]
lea rax, [rbp + 0x58]
mov r14d, dword [rax + rsi*4]
lea rax, [rax + rsi*4]
mov r8d, dword [rbp + rsi*4 + 0x3c]
mov rdi, qword [rbp - 0x18]
mov qword [rbp - 0x48], rax
lea rax, [rbp + rsi*4 + 0x54]
mov qword [rbp - 0x40], rax
lea ebx, [r8 - 1]
mov eax, ebx
sub eax, dword [rsp + 0x48]
movsxd r15, eax
inc r15
cmp word [rdi + r15*2], 0
lea edx, [rax + 1]
lea r15, [rdi + r15*2]
jne 0x14019ffe4
lea rcx, [rbp - 0x30]
call fcn.1401a7380
mov r8d, dword [rbp + rsi*4 + 0x3c]
movsxd rax, ebx
lea rsi, [rdi + rax*2]
nop dword [rax + rax]
cmp word [rsi], 0
mov edi, r8d
mov r8d, ebx
jne 0x1401a000a
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1401a7380
mov r8d, ebx
test r14d, r14d
je 0x1401a0047
cmp dword [rbp + 0x180], 0
jne 0x1401a007a
mov ecx, dword [rsp + 0x50]
mov eax, 2
dec ecx
mov edx, r12d
cmp dword [rsp + 0x78], ecx
mov ecx, 0
cmove eax, ecx
lea ecx, [r14 + 2]
sub edx, eax
movzx eax, word [rsi]
sub edx, eax
movzx eax, word [r15]
add ecx, eax
cmp ecx, edx
jg 0x1401a007a
movzx eax, word [r15]
mov ecx, 0xfffffffe
add eax, 2
sub r15, 2
add r14d, eax
mov edi, ebx
movzx eax, word [rsi]
sub rsi, 2
sub ecx, eax
mov rax, qword [rsp + 0x60]
add r12d, ecx
mov dword [rbp + rax*4 + 0x3c], ebx
sub ebx, 1
jns 0x14019fff0
mov rax, qword [rbp - 0x48]
mov rsi, qword [rsp + 0x60]
mov dword [rax], r14d
mov rax, qword [rbp - 0x40]
mov dword [rax], r12d
xor r12d, r12d
cmp rsi, 1
jle 0x1401a00a2
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax]
jmp 0x1401a00a5
mov eax, r12d
cmp edi, eax
jle 0x1401a013b
dec dword [rsp + 0x78]
dec rsi
mov qword [rsp + 0x60], rsi
test rsi, rsi
jg 0x14019ff90
mov edx, dword [rsp + 0x50]
mov rax, qword [rbp + 0x70]
movsxd rsi, edx
mov rcx, qword [rax + 0x50]
movzx r15d, byte [rcx]
mov dword [rbp - 0x80], r15d
test edx, edx
jle 0x1401a0243
mov rbx, r12
mov r13d, 1
nop word [rax + rax]
movsxd rcx, dword [rsp + 0x6c]
cmp rbx, rcx
jge 0x1401a0196
mov rax, qword [rbp + rbx*8 + 0x70]
mov qword [rbp + rbx*8 + 0x88], rax
mov qword [rbp + rbx*8 + 0x70], r12
mov qword [rsp + 0x60], rax
mov rcx, qword [rax + 0x70]
test byte [rcx + 0x34], 4
mov rdx, qword [rcx + 0x28]
je 0x1401a0150
mov eax, dword [rcx + 0x30]
cmp dword [rdx + 0x1c], eax
jb 0x1401a0150
cmp dword [rdx + 0x80], 0
je 0x1401a0146
call fcn.14022ec10
jmp 0x1401a0178
mov r9d, 0x11588
jmp 0x14019fe1b
mov r14d, r12d
mov dword [rsp + 0x44], r12d
jmp 0x1401a017f
mov r14d, dword [rdx + 0x2c]
mov dword [rsp + 0x44], r14d
test r14d, r14d
jne 0x1401a017f
mov eax, dword [rdx + 0xbc]
cmp dword [rdx + 0xb8], eax
jbe 0x1401a0173
call fcn.1401cfcb0
jmp 0x1401a0178
call fcn.1401d0fe0
mov r14d, eax
mov dword [rsp + 0x44], eax
inc dword [rsp + 0x58]
mov dword [rsp + 0x40], r14d
test r14d, r14d
jne 0x1401a091c
jmp 0x1401a0237
mov r9d, dword [rbp - 0x68]
lea r8, [rbp - 0x70]
cmp dword [rbp + 0x180], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
cmovne r9d, r13d
mov byte [rsp + 0x20], 0
call fcn.14019c5a0
mov dword [rsp + 0x44], eax
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x1401a091c
mov rdi, qword [rsp + 0x60]
mov edx, r15d
mov rcx, rdi
call fcn.1402456e0
mov rcx, qword [rsp + 0x70]
inc dword [rsp + 0x58]
mov eax, dword [rbp - 0x30]
mov qword [rbp + rbx*8 + 0x88], rdi
mov dword [rbp + rbx*4 + 0xc8], eax
cmp byte [rcx + 0x21], r14b
je 0x1401a0231
mov edx, dword [rdi + 4]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8b, 5
mov rax, qword [rbp - 0x78]
mov r9d, dword [rax + 4]
call fcn.1401d45f0
mov r14d, dword [rsp + 0x40]
mov dword [rsp + 0x44], r14d
test r14d, r14d
jne 0x1401a091c
mov eax, dword [rbp - 0x70]
mov dword [rbp - 0x68], eax
inc rbx
cmp rbx, rsi
jl 0x1401a00f0
movsxd rdx, dword [rsp + 0x58]
mov rsi, rdx
test edx, edx
jle 0x1401a038c
mov rdx, r12
nop word [rax + rax]
mov rax, qword [rbp + rdx*8 + 0x88]
mov r8d, dword [rax + 4]
mov rax, qword [rax + 0x70]
mov dword [rbp + rdx*4 + 0xe0], r8d
mov dword [rbp + rdx*4 + 0xb0], r8d
movzx ecx, word [rax + 0x34]
mov rax, r12
mov word [rbp + rdx*2 + 0x100], cx
test rdx, rdx
jle 0x1401a02b6
nop dword [rax]
nop dword [rax + rax]
cmp dword [rbp + rax*4 + 0xe0], r8d
je 0x1401a0467
inc rax
cmp rax, rdx
jl 0x1401a02a0
inc rdx
cmp rdx, rsi
jl 0x1401a0260
mov rdi, r12
mov r15d, 1
nop word [rax + rax]
mov r10d, r12d
mov rbx, r12
mov r9d, r15d
mov r8, r15
cmp r15, rsi
jge 0x1401a030f
mov edx, dword [rbp + rbx*4 + 0xb0]
mov rax, r8
cmp dword [rbp + r8*4 + 0xb0], edx
cmovae rax, rbx
mov rbx, rax
mov eax, r9d
cmovae eax, r10d
inc r9d
inc r8
mov r10d, eax
cmp r8, rsi
jl 0x1401a02e1
mov r14d, dword [rbp + rbx*4 + 0xb0]
mov dword [rbp + rbx*4 + 0xb0], 0xffffffff
cmp rbx, rdi
je 0x1401a0378
jle 0x1401a034c
mov rax, qword [rsp + 0x70]
mov edx, dword [rax + 0x40]
mov rax, qword [rbp + rbx*8 + 0x88]
inc edx
add edx, r10d
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], r12w
call fcn.1402077d0
mov rax, qword [rbp + rdi*8 + 0x88]
mov edx, r14d
mov rcx, qword [rax + 0x70]
movzx eax, word [rbp + rbx*2 + 0x100]
mov word [rcx + 0x34], ax
call fcn.1402077d0
mov rax, qword [rbp + rdi*8 + 0x88]
mov dword [rax + 4], r14d
inc rdi
cmp rdi, rsi
jl 0x1401a02d0
mov r15d, dword [rbp - 0x80]
mov edx, dword [rsp + 0x58]
lea r12, [rsi - 1]
mov rax, qword [rbp + r12*8 + 0x88]
mov ecx, dword [rax + 4]
mov rax, qword [rbp - 0x58]
bswap ecx
mov dword [rax], ecx
test r15b, 8
jne 0x1401a03dc
cmp dword [rsp + 0x6c], edx
je 0x1401a03dc
mov rcx, qword [rbp - 0x38]
lea rax, [rbp + 0x88]
lea r8, [rbp + 0x70]
cmovge rax, r8
mov rax, qword [rax + rcx*8]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + r12*8 + 0x88]
mov rcx, qword [rax + 0x50]
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov r10, qword [rsp + 0x70]
cmp byte [r10 + 0x21], 0
je 0x1401a05f0
mov rbx, qword [rbp + 0x88]
xor r15d, r15d
mov r13d, dword [rbp - 0x30]
movzx r14d, word [rbx + 0x18]
movzx eax, byte [rbx + 0xc]
add r14d, eax
test r13d, r13d
jle 0x1401a05fb
mov rax, qword [rbp - 0x18]
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp - 0x20]
lea r8, [rbp + 0x40]
mov qword [rbp - 0x80], rax
xor edi, edi
mov qword [rbp - 0x68], rdx
mov r13, rbx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x78], rcx
nop dword [rax]
mov r12, qword [rcx]
mov r9d, dword [rsp + 0x48]
cmp r15d, r14d
jne 0x1401a0498
xor edx, edx
test r9b, r9b
sete dl
inc rdi
cmp rdi, rsi
jge 0x1401a0472
mov rbx, qword [rbp + rdi*8 + 0x88]
jmp 0x1401a0477
mov r9d, 0x115d2
jmp 0x14019fe1b
mov rbx, qword [rbp + rdi*8 + 0x70]
movzx eax, word [rbx + 0x18]
movzx ecx, byte [rbx + 0xc]
add eax, edx
add ecx, eax
add r14d, ecx
cmp r15d, r14d
je 0x1401a0455
mov rax, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x68]
cmp r15d, dword [r8]
jne 0x1401a04bb
mov r13, qword [rdx + 8]
add rdx, 8
add r8, 4
mov qword [rbp - 0x68], rdx
mov qword [rsp + 0x60], r8
test r9b, r9b
je 0x1401a05be
cmp rdi, rsi
jge 0x1401a04dd
mov eax, dword [rbp + rdi*4 + 0xe0]
cmp dword [r13 + 4], eax
jne 0x1401a04dd
cmp r12, qword [rbx + 0x50]
jb 0x1401a04dd
cmp r12, qword [rbx + 0x58]
jb 0x1401a05ba
cmp word [rsp + 0x4c], 0
jne 0x1401a050c
mov edx, dword [r12]
lea rax, [rsp + 0x40]
mov r9d, dword [r13 + 4]
mov r8b, 5
bswap edx
mov rcx, r10
mov qword [rsp + 0x20], rax
call fcn.1401d45f0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov rax, qword [rbp - 0x80]
movzx eax, word [rax]
test ax, ax
jne 0x1401a0524
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.1401a7380
cmp ax, word [r13 + 0x10]
jbe 0x1401a059f
cmp dword [rsp + 0x44], 0
jne 0x1401a0917
lea r8, [rbp + 0xb0]
mov rdx, r12
mov rcx, r13
call qword [r13 + 0x80]
movzx edx, word [rbp + 0xc4]
cmp edx, dword [rbp + 0xc0]
jae 0x1401a05ab
mov rcx, qword [rbx + 0x58]
cmp rcx, r12
jb 0x1401a056d
movzx eax, dx
add rax, r12
cmp rcx, rax
jb 0x1401a05e1
movzx eax, word [rbp + 0xc6]
mov r8b, 3
mov r9d, dword [r13 + 4]
mov rcx, qword [r13 + 0x48]
mov edx, dword [rax + r12 - 4]
lea rax, [rsp + 0x40]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.1401d45f0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
jmp 0x1401a05a3
mov eax, dword [rsp + 0x44]
test eax, eax
jne 0x1401a0917
mov r10, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rbp - 0x80]
add rcx, 8
add rax, 2
inc r15d
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rax
cmp r15d, dword [rbp - 0x30]
jge 0x1401a05ec
mov rdx, qword [rbp - 0x68]
jmp 0x1401a0440
mov r9d, 0xfc4d
jmp 0x14019fe1b
lea r12, [rsi - 1]
mov rbx, qword [rbp + 0x88]
mov r13d, dword [rbp - 0x30]
test r12, r12
jle 0x1401a0731
xor r15d, r15d
movsxd rdx, dword [rbp + r15*4 + 0x40]
mov rax, qword [rbp - 0x18]
mov r14, qword [rbp + r15*8 + 0x88]
mov rcx, qword [rbp - 0x20]
movzx r9d, word [rsp + 0x4c]
movzx eax, word [rax + rdx*2]
movsxd rdi, dword [rbp - 0x60]
add r9d, eax
add rdi, qword [rbp - 0x50]
cmp byte [r14 + 8], 0
mov rbx, qword [rcx + rdx*8]
jne 0x1401a064a
mov rcx, qword [r14 + 0x50]
mov eax, dword [rbx]
mov dword [rcx + 8], eax
jmp 0x1401a06db
cmp byte [rsp + 0x48], 0
je 0x1401a06c1
mov rdx, qword [rcx + rdx*8 - 8]
lea r8, [rbp + 0xe0]
mov rcx, r14
call qword [r14 + 0x80]
mov rdx, qword [rbp + 0xe0]
lea rcx, [rdi + 4]
mov rbx, rdi
cmp rdx, 0x7f
ja 0x1401a068d
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
xor edi, edi
lea r9d, [rax + 4]
jmp 0x1401a06db
cmp rdx, 0x3fff
ja 0x1401a06b4
mov rax, rdx
and dl, 0x7f
shr rax, 7
or al, 0x80
mov byte [rcx + 1], dl
mov byte [rcx], al
xor edi, edi
mov eax, 2
lea r9d, [rax + 4]
jmp 0x1401a06db
call fcn.1401d4f90
xor edi, edi
lea r9d, [rax + 4]
jmp 0x1401a06db
sub rbx, 4
cmp eax, 4
jne 0x1401a06db
mov rax, qword [rbp - 0x78]
mov rdx, rbx
mov rcx, rax
call qword [rax + 0x78]
movzx r9d, ax
mov rcx, qword [rbp - 0x78]
lea rax, [rsp + 0x40]
add dword [rbp - 0x60], r9d
mov r8, rbx
mov ebx, dword [rsp + 0x68]
mov edx, ebx
mov qword [rsp + 0x30], rax
mov eax, dword [r14 + 4]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call fcn.1401c7c20
mov r14d, dword [rsp + 0x40]
test r14d, r14d
jne 0x1401a091c
inc ebx
inc r15
mov dword [rsp + 0x68], ebx
cmp r15, r12
jl 0x1401a0607
mov rbx, qword [rbp + 0x88]
jmp 0x1401a0736
mov r14d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x58]
mov r15d, 1
sub r15d, r8d
cmp r15d, r8d
jge 0x1401a081e
mov edi, dword [rbp + 0x40]
mov eax, r15d
cdq
xor eax, edx
sub eax, edx
movsxd rbx, eax
cmp byte [rbp + rbx + 0xf8], 0
jne 0x1401a080b
test r15d, r15d
jns 0x1401a077f
mov ecx, dword [rbp + rbx*4 + 0x3c]
cmp dword [rbp + rbx*4 + 0xc4], ecx
jl 0x1401a080b
test eax, eax
jne 0x1401a078f
xor eax, eax
mov r9d, edi
mov edx, eax
mov r8d, eax
jmp 0x1401a07c6
xor r12d, r12d
cmp eax, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x48]
jge 0x1401a07ad
test al, al
mov edx, r12d
sete dl
add edx, dword [rbp + rbx*4 + 0xc4]
jmp 0x1401a07b0
mov edx, r13d
mov r9d, dword [rbp + rbx*4 + 0x40]
test al, al
mov r8d, r12d
sete r8b
add r8d, dword [rbp + rbx*4 + 0x3c]
sub r9d, r8d
mov rcx, qword [rbp + rbx*8 + 0x88]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.1401ab740
mov dword [rsp + 0x40], eax
mov r14d, eax
test eax, eax
jne 0x1401a091c
mov rax, qword [rbp + rbx*8 + 0x88]
mov ecx, dword [rsp + 0x54]
sub ecx, dword [rbp + rbx*4 + 0x58]
mov r8d, dword [rsp + 0x58]
mov dword [rax + 0x14], ecx
mov byte [rbp + rbx + 0xf8], 1
inc r15d
cmp r15d, r8d
jl 0x1401a0750
mov rbx, qword [rbp + 0x88]
cmp dword [rbp - 0x5c], 0
je 0x1401a0883
mov rdi, qword [rbp - 0x78]
cmp word [rdi + 0x18], 0
jne 0x1401a0883
movzx eax, byte [rdi + 9]
cmp eax, dword [rbx + 0x14]
jg 0x1401a0883
mov edx, 0xffffffff
mov rcx, rbx
call fcn.1401aa290
mov rcx, qword [rbp + 0x88]
lea r8, [rsp + 0x40]
mov rdx, rdi
mov dword [rsp + 0x40], eax
call fcn.1401a91f0
mov r14d, dword [rsp + 0x40]
test r14d, r14d
jne 0x1401a08dc
mov rcx, qword [rbp + 0x88]
mov rdx, rcx
mov r8d, dword [rcx + 4]
mov rcx, qword [rcx + 0x48]
call fcn.1401b2280
mov r14d, eax
jmp 0x1401a08dc
mov r10, qword [rsp + 0x70]
cmp byte [r10 + 0x21], 0
je 0x1401a08dc
cmp word [rsp + 0x4c], 0
jne 0x1401a08dc
test rsi, rsi
jle 0x1401a08dc
xor ebx, ebx
nop
mov rcx, qword [rbp + rbx*8 + 0x88]
mov r8b, 5
mov rax, qword [rcx + 0x50]
mov r9d, dword [rcx + 4]
mov rcx, r10
mov edx, dword [rax + 8]
lea rax, [rsp + 0x40]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.1401d45f0
mov r10, qword [rsp + 0x70]
inc rbx
cmp rbx, rsi
jl 0x1401a08a0
mov r14d, dword [rsp + 0x40]
movsxd rax, dword [rsp + 0x6c]
mov rbx, rax
cmp rsi, rax
jge 0x1401a091c
nop dword [rax]
mov rcx, qword [rbp + rsi*8 + 0x70]
test r14d, r14d
jne 0x1401a090d
mov r8d, dword [rcx + 4]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.1401b2280
mov r14d, eax
inc rsi
cmp rsi, rbx
jl 0x1401a08f0
jmp 0x1401a091c
mov r14d, dword [rsp + 0x44]
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x14019f8ce
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x1401a0982
mov rcx, qword [0x1403db8a0]
test rcx, rcx
je 0x1401a0944
call qword [0x1403ba330]
mov rcx, rbx
call qword [0x1403ba2e8]
dec qword [0x1403db798]
movsxd rcx, eax
sub qword [0x1403db750], rcx
mov rcx, rbx
call qword [0x1403ba2d8]
mov rcx, qword [0x1403db8a0]
test rcx, rcx
je 0x14019f8ce
call qword [0x1403ba340]
jmp 0x14019f8ce
mov rcx, rbx
call qword [0x1403ba2d8]
jmp 0x14019f8ce
lea eax, [rbx + 1]
xor edx, edx
movsxd r8, eax
lea rcx, [rbp + 0x70]
shl r8, 3
call fcn.140289490
jmp 0x14019f8d0
mov rcx, r8
call fcn.1402078a0
inc rbx
cmp rbx, rsi
jl 0x14019f900
movsxd rbx, dword [rsp + 0x58]
mov rsi, qword [rsp + 0x240]
test rbx, rbx
jle 0x1401a0a3a
mov r8, qword [rbp + rdi*8 + 0x88]
test r8, r8
je 0x1401a0a32
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1401a0a2a
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
movsxd rax, dword [r10 + 0xbc]
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
mov r9, qword [rcx]
imul rdx, rax
call qword [r9 + 0x90]
jmp 0x1401a0a32
mov rcx, r8
call fcn.1402078a0
inc rdi
cmp rdi, rbx
jl 0x1401a09d0
mov rbx, qword [rsp + 0x278]
mov eax, r14d
mov r14, qword [rsp + 0x228]
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140172190
add rsp, 0x248
pop rdi
pop rbp
ret