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

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x148]
sub rsp, 0x248
mov rax, qword [0x1402cecf8]
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 0x14019162a
lea eax, [rdi + 7]
jmp 0x140192b8d
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 0x140191671
mov edx, edi
jmp 0x140191699
test edx, edx
jne 0x140191679
mov edx, edi
jmp 0x14019168c
cmp edx, ebx
jne 0x14019168a
mov eax, dword [rbp + 0x180]
lea edx, [rax - 2]
add edx, ebx
jmp 0x140191692
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 0x1401916c0
movzx ecx, byte [r9 + 9]
add rcx, 8
jmp 0x1401916dc
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, [0x1402bbed4]
movsxd r13, ebx
cmp esi, dword [r10 + 0x40]
jbe 0x14019174a
mov qword [rsp + 0x20], rcx
lea r8, str.database_corruption
mov ecx, 0xb
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0x103c6
call fcn.140188ec0
mov r14d, recv
mov dword [rsp + 0x44], r14d
jmp 0x140191837
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 0x140191837
mov rdx, qword [rsp + 0x60]
mov rax, qword [rdx + 0x10]
mov qword [rbp + r15 + 0x70], rax
cmp byte [rax], r14b
jne 0x140191830
mov rcx, qword [rdx + 0x10]
cmp esi, dword [rcx + 4]
je 0x1401917bc
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.140194110
mov dword [rsp + 0x44], eax
mov r14d, eax
test eax, eax
je 0x140191830
mov r8, qword [rbp + r15 + 0x70]
test r8, r8
je 0x140191837
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x140191826
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 0x140191837
mov rcx, r8
call fcn.1401dd790
jmp 0x140191837
mov r14d, edi
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x40], r14d
test r14d, r14d
jne 0x140192ad0
mov rcx, qword [rbp + r15 + 0x70]
cmp dword [rcx + 0x14], r14d
jge 0x140191868
call fcn.140193380
mov dword [rsp + 0x44], eax
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x140191994
mov ecx, ebx
sub r12, 4
dec ebx
sub r15, 8
test ecx, ecx
je 0x140191a82
mov r8, qword [rbp - 0x78]
movzx edx, byte [r8 + 0xc]
test dl, dl
je 0x1401918d5
mov eax, dword [rsp + 0x68]
movzx ecx, word [r8 + 0x1c]
add eax, ebx
cmp eax, ecx
jne 0x1401918d5
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 0x140191707
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 0x14019196b
mov rax, qword [rbp - 0x78]
mov ecx, edi
sub ecx, dword [rax + 0x50]
lea eax, [r14 + rcx]
cmp eax, dword [rdx + 0x38]
jg 0x1401919ac
movsxd rcx, ecx
mov r8d, r14d
add rcx, qword [rbp - 0x50]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x78]
sub rdi, qword [rcx + 0x50]
add rdi, qword [rbp - 0x50]
mov qword [rbp + r15 + 0x100], rdi
jmp 0x14019196f
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.14019c920
mov r10, qword [rsp + 0x70]
xor edi, edi
jmp 0x140191707
movsxd r8, ebx
lea rcx, [rbp + 0x70]
xor edx, edx
lea r8, [r8*8]
call sub.VCRUNTIME140.dll_memset
jmp 0x1401919f0
lea rax, [0x1402bbed4]
mov r9d, 0x1191f
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.140188ec0
mov r8, r13
lea rcx, [rbp + 0x70]
shl r8, 3
xor edx, edx
mov r14d, recv
call sub.VCRUNTIME140.dll_memset
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 0x140192afe
mov rbx, rdi
nop dword [rax + rax]
mov r8, qword [rbp + rbx*8 + 0x70]
test r8, r8
je 0x140192af2
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x140192aea
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 0x140192af2
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.1401d9ec0
mov qword [rbp - 0x20], rax
mov r8, rax
test rax, rax
jne 0x140191acf
lea r14d, [rax + 7]
jmp 0x1401919f0
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
jle 0x140191d66
nop word [rax + rax]
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 + 0x18]
add rbx, rdi
movzx r15d, word [r14 + 0x1a]
movzx eax, byte [rcx]
cmp byte [rdi], al
jne 0x140191f58
movzx r8d, byte [r14 + 0xc]
movzx eax, si
add r8, rax
movsxd rax, dword [rbp - 0x30]
add r8, r8
lea rcx, [rdx + rax*2]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movzx ecx, byte [r14 + 0xc]
test cl, cl
je 0x140191c04
movzx eax, word [r14 + 0x1c]
cmp si, ax
jb 0x140191d51
mov r9d, dword [rbp - 0x30]
xor r10d, r10d
mov r11, qword [rbp - 0x20]
cmp r10w, ax
jae 0x140191bd1
movzx edx, ax
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
ror ax, 8
movzx ecx, ax
movzx eax, r15w
and rcx, rax
movsxd rax, r9d
add rcx, rdi
inc r9d
mov qword [r11 + rax*8], rcx
sub rdx, 1
jne 0x140191ba0
movzx ecx, byte [r14 + 0xc]
mov dword [rbp - 0x30], r9d
mov r8d, r10d
test cl, cl
je 0x140191c07
lea rdx, [r14 + 0x28]
nop dword [rax]
mov rax, qword [rdx]
lea rdx, [rdx + 8]
movsxd rcx, r9d
inc r8d
inc r9d
mov qword [r11 + rcx*8], rax
movzx eax, byte [r14 + 0xc]
cmp r8d, eax
jl 0x140191be0
mov dword [rbp - 0x30], r9d
jmp 0x140191c07
xor r10d, r10d
movzx edx, word [r14 + 0x18]
movzx ecx, word [r14 + 0x12]
mov r9d, dword [rbp - 0x30]
add rcx, rdi
lea rax, [rcx + rdx*2]
mov rdx, r10
mov r8, rax
sub r8, rbx
inc r8
shr r8, 1
cmp rbx, rax
cmova r8, r10
test r8, r8
je 0x140191c6e
mov r10, qword [rbp - 0x20]
nop dword [rax + rax]
movzx eax, word [rbx]
lea rbx, [rbx + 2]
ror ax, 8
inc rdx
movzx ecx, ax
movzx eax, r15w
and rcx, rax
movsxd rax, r9d
add rcx, rdi
inc r9d
mov qword [r10 + rax*8], rcx
cmp rdx, r8
jb 0x140191c40
mov dword [rbp - 0x30], r9d
mov r10d, dword [rsp + 0x48]
mov dword [rbp + r12*4 + 0xc8], r9d
cmp r13d, dword [rsp + 0x78]
jge 0x140191d32
test r10b, r10b
jne 0x140191d32
movzx ecx, word [rbp + r12*4 + 0x58]
movsxd r15, dword [rsp + 0x54]
mov r8d, ecx
mov rax, qword [rbp - 0x18]
mov rbx, r15
add rbx, qword [rsp + 0x60]
add r15d, ecx
mov rdx, qword [rbp + r12*8 + 0x100]
movsxd rdi, r9d
lea rsi, [rax + rdi*2]
mov dword [rsp + 0x54], r15d
mov word [rsi], cx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
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 0x140191cff
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 0x140191d38
cmp word [rsi], 4
jae 0x140191d28
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 0x140191d10
mov dword [rsp + 0x54], r15d
inc dword [rbp - 0x30]
mov r10d, dword [rsp + 0x48]
jmp 0x140191d38
movzx r9d, word [rsp + 0x4c]
movsxd rsi, dword [rsp + 0x6c]
inc r13d
inc r12
cmp r12, rsi
jge 0x140191d63
mov rdx, qword [rbp - 0x18]
jmp 0x140191b20
mov ecx, 0x1197a
call fcn.1401c4050
mov r14d, eax
jmp 0x140192a5c
xor r12d, r12d
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 0x140191e95
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 0x140191dd9
cmp r8d, dword [r13]
jne 0x140191dd9
dec ecx
sub r12, 8
sub r13, 4
mov dword [rsp + 0x50], ecx
sub r15, 4
test r10b, r10b
jne 0x140191e03
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 0x140191e67
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 0x140191e24
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 0x140191da0
xor r12d, r12d
mov edx, esi
mov r13d, r12d
mov dword [rsp + 0x50], edx
test esi, esi
jle 0x140192099
mov ecx, dword [rbp - 0x30]
mov r15d, 1
mov r14, r12
mov ebx, dword [rbp + r14 + 0x58]
cmp ebx, r9d
jle 0x140191faa
cmp r15d, edx
jl 0x140191ee6
lea eax, [r15 + 1]
mov dword [rsp + 0x50], eax
cmp r14, 0xc
jg 0x140192083
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 0x140191f18
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.1401991c0
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 0x140191f90
cmp edi, dword [rbp - 0x30]
jge 0x140191f8d
mov rax, rdi
movzx eax, word [rcx + rdi*2]
test ax, ax
jne 0x140191f4b
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.1401991c0
mov r10d, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x54]
movzx eax, ax
add eax, 2
jmp 0x140191f90
mov r9d, 0x11962
lea rax, [0x1402bbed4]
mov ecx, 0xb
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140188ec0
mov r14d, recv
jmp 0x140192a5c
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 0x140191ec0
mov edi, dword [rbp + r14 + 0x40]
cmp edi, ecx
jge 0x140192046
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 0x140191fe6
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.1401991c0
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 0x140192066
inc edi
mov dword [rbp + r14 + 0x58], ebx
cmp byte [rsp + 0x48], 0
mov dword [rbp + r14 + 0x40], edi
jne 0x140192039
cmp edi, ecx
jge 0x140192036
mov rax, rsi
movzx eax, word [rdx + rsi*2 + 2]
test ax, ax
jne 0x14019202e
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.1401991c0
mov ecx, dword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r9d, dword [rsp + 0x54]
movzx eax, ax
add eax, 2
jmp 0x140192039
mov eax, r12d
sub dword [rbp + r14 + 0x5c], eax
cmp edi, ecx
jl 0x140191fc0
mov edx, r15d
mov dword [rsp + 0x50], edx
inc r13d
inc r15d
add r14, 4
cmp r13d, edx
jge 0x140192099
mov r10d, dword [rsp + 0x48]
jmp 0x140191eb2
cmp edi, ecx
jge 0x140192046
test r13d, r13d
jle 0x140192076
mov eax, dword [rbp + r14 + 0x3c]
jmp 0x140192079
mov eax, r12d
cmp edi, eax
jle 0x14019208e
mov edx, dword [rsp + 0x50]
jmp 0x14019204d
mov r9d, 0x119df
jmp 0x140191f5e
mov r9d, 0x11a00
jmp 0x140191f5e
lea eax, [rdx - 1]
movsxd rsi, eax
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x78], eax
test eax, eax
jle 0x140192206
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 0x140192124
lea rcx, [rbp - 0x30]
call fcn.1401991c0
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 0x14019214a
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1401991c0
mov r8d, ebx
test r14d, r14d
je 0x140192187
cmp dword [rbp + 0x180], 0
jne 0x1401921ba
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 0x1401921ba
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 0x140192130
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 0x1401921e2
mov rcx, qword [rbp + 0x100]
mov eax, dword [rax + rcx]
jmp 0x1401921e5
mov eax, r12d
cmp edi, eax
jle 0x14019227b
dec dword [rsp + 0x78]
dec rsi
mov qword [rsp + 0x60], rsi
test rsi, rsi
jg 0x1401920d0
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 0x140192383
mov rbx, r12
mov r13d, 1
nop word [rax + rax]
movsxd rcx, dword [rsp + 0x6c]
cmp rbx, rcx
jge 0x1401922d6
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 0x140192290
mov eax, dword [rcx + 0x30]
cmp dword [rdx + 0x1c], eax
jb 0x140192290
cmp dword [rdx + 0x80], 0
je 0x140192286
call fcn.140207230
jmp 0x1401922b8
mov r9d, 0x11a2a
jmp 0x140191f5e
mov r14d, r12d
mov dword [rsp + 0x44], r12d
jmp 0x1401922bf
mov r14d, dword [rdx + 0x2c]
mov dword [rsp + 0x44], r14d
test r14d, r14d
jne 0x1401922bf
mov eax, dword [rdx + 0xbc]
cmp dword [rdx + 0xb8], eax
jbe 0x1401922b3
call fcn.1401ae4a0
jmp 0x1401922b8
call fcn.1401af6b0
mov r14d, eax
mov dword [rsp + 0x44], eax
inc dword [rsp + 0x58]
mov dword [rsp + 0x40], r14d
test r14d, r14d
jne 0x140192a5c
jmp 0x140192377
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.14018e6c0
mov dword [rsp + 0x44], eax
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x140192a5c
mov rdi, qword [rsp + 0x60]
mov edx, r15d
mov rcx, rdi
call fcn.14021de60
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 0x140192371
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.1401b1b30
mov r14d, dword [rsp + 0x40]
mov dword [rsp + 0x44], r14d
test r14d, r14d
jne 0x140192a5c
mov eax, dword [rbp - 0x70]
mov dword [rbp - 0x68], eax
inc rbx
cmp rbx, rsi
jl 0x140192230
movsxd rdx, dword [rsp + 0x58]
mov rsi, rdx
test edx, edx
jle 0x1401924cc
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 0x1401923f6
nop dword [rax]
nop dword [rax + rax]
cmp dword [rbp + rax*4 + 0xe0], r8d
je 0x1401925a7
inc rax
cmp rax, rdx
jl 0x1401923e0
inc rdx
cmp rdx, rsi
jl 0x1401923a0
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 0x14019244f
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 0x140192421
mov r14d, dword [rbp + rbx*4 + 0xb0]
mov dword [rbp + rbx*4 + 0xb0], 0xffffffff
cmp rbx, rdi
je 0x1401924b8
jle 0x14019248c
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.1401dd6c0
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.1401dd6c0
mov rax, qword [rbp + rdi*8 + 0x88]
mov dword [rax + 4], r14d
inc rdi
cmp rdi, rsi
jl 0x140192410
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 0x14019251c
cmp dword [rsp + 0x6c], edx
je 0x14019251c
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 0x140192730
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 0x14019273b
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 0x1401925d8
xor edx, edx
test r9b, r9b
sete dl
inc rdi
cmp rdi, rsi
jge 0x1401925b2
mov rbx, qword [rbp + rdi*8 + 0x88]
jmp 0x1401925b7
mov r9d, 0x11a74
jmp 0x140191f5e
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 0x140192595
mov rax, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x68]
cmp r15d, dword [r8]
jne 0x1401925fb
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 0x1401926fe
cmp rdi, rsi
jge 0x14019261d
mov eax, dword [rbp + rdi*4 + 0xe0]
cmp dword [r13 + 4], eax
jne 0x14019261d
cmp r12, qword [rbx + 0x50]
jb 0x14019261d
cmp r12, qword [rbx + 0x58]
jb 0x1401926fa
cmp word [rsp + 0x4c], 0
jne 0x14019264c
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.1401b1b30
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov rax, qword [rbp - 0x80]
movzx eax, word [rax]
test ax, ax
jne 0x140192664
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.1401991c0
cmp ax, word [r13 + 0x10]
jbe 0x1401926df
cmp dword [rsp + 0x44], 0
jne 0x140192a57
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 0x1401926eb
mov rcx, qword [rbx + 0x58]
cmp rcx, r12
jb 0x1401926ad
movzx eax, dx
add rax, r12
cmp rcx, rax
jb 0x140192721
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.1401b1b30
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
jmp 0x1401926e3
mov eax, dword [rsp + 0x44]
test eax, eax
jne 0x140192a57
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 0x14019272c
mov rdx, qword [rbp - 0x68]
jmp 0x140192580
mov r9d, 0x100ae
jmp 0x140191f5e
lea r12, [rsi - 1]
mov rbx, qword [rbp + 0x88]
mov r13d, dword [rbp - 0x30]
test r12, r12
jle 0x140192871
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 0x14019278a
mov rcx, qword [r14 + 0x50]
mov eax, dword [rbx]
mov dword [rcx + 8], eax
jmp 0x14019281b
cmp byte [rsp + 0x48], 0
je 0x140192801
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 0x1401927cd
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
xor edi, edi
lea r9d, [rax + 4]
jmp 0x14019281b
cmp rdx, 0x3fff
ja 0x1401927f4
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 0x14019281b
call fcn.1401b24c0
xor edi, edi
lea r9d, [rax + 4]
jmp 0x14019281b
sub rbx, 4
cmp eax, 4
jne 0x14019281b
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.1401a7430
mov r14d, dword [rsp + 0x40]
test r14d, r14d
jne 0x140192a5c
inc ebx
inc r15
mov dword [rsp + 0x68], ebx
cmp r15, r12
jl 0x140192747
mov rbx, qword [rbp + 0x88]
jmp 0x140192876
mov r14d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x58]
mov r15d, 1
sub r15d, r8d
cmp r15d, r8d
jge 0x14019295e
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 0x14019294b
test r15d, r15d
jns 0x1401928bf
mov ecx, dword [rbp + rbx*4 + 0x3c]
cmp dword [rbp + rbx*4 + 0xc4], ecx
jl 0x14019294b
test eax, eax
jne 0x1401928cf
xor eax, eax
mov r9d, edi
mov edx, eax
mov r8d, eax
jmp 0x140192906
xor r12d, r12d
cmp eax, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x48]
jge 0x1401928ed
test al, al
mov edx, r12d
sete dl
add edx, dword [rbp + rbx*4 + 0xc4]
jmp 0x1401928f0
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.14019cb40
mov dword [rsp + 0x40], eax
mov r14d, eax
test eax, eax
jne 0x140192a5c
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 0x140192890
mov rbx, qword [rbp + 0x88]
cmp dword [rbp - 0x5c], 0
je 0x1401929c3
mov rdi, qword [rbp - 0x78]
cmp word [rdi + 0x18], 0
jne 0x1401929c3
movzx eax, byte [rdi + 9]
cmp eax, dword [rbx + 0x14]
jg 0x1401929c3
mov edx, 0xffffffff
mov rcx, rbx
call fcn.14019bd40
mov rcx, qword [rbp + 0x88]
lea r8, [rsp + 0x40]
mov rdx, rdi
mov dword [rsp + 0x40], eax
call fcn.14019ae60
mov r14d, dword [rsp + 0x40]
test r14d, r14d
jne 0x140192a1c
mov rcx, qword [rbp + 0x88]
mov rdx, rcx
mov r8d, dword [rcx + 4]
mov rcx, qword [rcx + 0x48]
call fcn.1401a36b0
mov r14d, eax
jmp 0x140192a1c
mov r10, qword [rsp + 0x70]
cmp byte [r10 + 0x21], 0
je 0x140192a1c
cmp word [rsp + 0x4c], 0
jne 0x140192a1c
test rsi, rsi
jle 0x140192a1c
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.1401b1b30
mov r10, qword [rsp + 0x70]
inc rbx
cmp rbx, rsi
jl 0x1401929e0
mov r14d, dword [rsp + 0x40]
movsxd rax, dword [rsp + 0x6c]
mov rbx, rax
cmp rsi, rax
jge 0x140192a5c
nop dword [rax]
mov rcx, qword [rbp + rsi*8 + 0x70]
test r14d, r14d
jne 0x140192a4d
mov r8d, dword [rcx + 4]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.1401a36b0
mov r14d, eax
inc rsi
cmp rsi, rbx
jl 0x140192a30
jmp 0x140192a5c
mov r14d, dword [rsp + 0x44]
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x1401919ee
cmp dword [0x1402cc430], 0
je 0x140192ac2
mov rcx, qword [0x1402cf168]
test rcx, rcx
je 0x140192a84
call qword [0x1402cc4b0]
mov rcx, rbx
call qword [0x1402cc468]
dec qword [0x1402cf0f8]
movsxd rcx, eax
sub qword [0x1402cf0b0], rcx
mov rcx, rbx
call qword [0x1402cc458]
mov rcx, qword [0x1402cf168]
test rcx, rcx
je 0x1401919ee
call qword [0x1402cc4c0]
jmp 0x1401919ee
mov rcx, rbx
call qword [0x1402cc458]
jmp 0x1401919ee
lea eax, [rbx + 1]
xor edx, edx
movsxd r8, eax
lea rcx, [rbp + 0x70]
shl r8, 3
call sub.VCRUNTIME140.dll_memset
jmp 0x1401919f0
mov rcx, r8
call fcn.1401dd790
inc rbx
cmp rbx, rsi
jl 0x140191a20
movsxd rbx, dword [rsp + 0x58]
mov rsi, qword [rsp + 0x240]
test rbx, rbx
jle 0x140192b7a
mov r8, qword [rbp + rdi*8 + 0x88]
test r8, r8
je 0x140192b72
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x140192b6a
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 0x140192b72
mov rcx, r8
call fcn.1401dd790
inc rdi
cmp rdi, rbx
jl 0x140192b10
mov rbx, qword [rsp + 0x278]
mov eax, r14d
mov r14, qword [rsp + 0x228]
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14021e8a0
add rsp, 0x248
pop rdi
pop rbp
ret