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

Disassembly:
push rbp
push rsi
push r12
push r13
lea rbp, [rsp - 0x138]
sub rsp, 0x238
mov rax, qword [0x140213480]
xor rax, rsp
mov qword [rbp + 0x118], rax
xorps xmm0, xmm0
mov qword [rbp - 0x40], r8
mov r11, r8
mov dword [rbp - 0x48], r9d
xor r9d, r9d
mov qword [rbp - 0x80], rcx
mov r8, rcx
mov dword [rbp - 0x50], edx
xor ecx, ecx
mov dword [rsp + 0x3c], r9d
mov dword [rsp + 0x38], r9d
mov eax, edx
mov dword [rsp + 0x30], r9d
mov esi, r9d
mov r10, qword [r8 + 0x48]
mov r12d, r9d
mov qword [rsp + 0x78], r10
mov r13d, r9d
mov dword [rbp - 0x58], r9d
mov dword [rbp + 0x110], ecx
mov byte [rbp + 0x114], cl
mov qword [rbp + 0x60], rcx
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
test r11, r11
jne 0x1400b1510
lea eax, [rcx + 7]
jmp 0x1400b2b02
movzx ecx, word [r8 + 0x18]
movzx edx, byte [r8 + 0xc]
mov qword [rsp + 0x278], rbx
mov qword [rsp + 0x230], rdi
mov qword [rsp + 0x228], r14
lea ebx, [rdx + rcx]
mov qword [rsp + 0x220], r15
cmp ebx, 2
jae 0x1400b154c
mov r11d, r9d
mov dword [rsp + 0x6c], r9d
jmp 0x1400b1588
test eax, eax
jne 0x1400b155a
mov r11d, r9d
mov dword [rsp + 0x6c], r9d
jmp 0x1400b157b
cmp eax, ebx
jne 0x1400b1572
mov eax, dword [rbp + 0x180]
lea r11d, [rax - 2]
add r11d, ebx
mov dword [rsp + 0x6c], r11d
jmp 0x1400b1581
lea r11d, [rax - 1]
mov dword [rsp + 0x6c], r11d
mov eax, dword [rbp + 0x180]
mov ebx, 2
sub ebx, eax
mov eax, r11d
mov dword [rbp - 0x78], ebx
sub eax, edx
lea edi, [rbx + 1]
add eax, ebx
mov dword [rbp - 0x70], edi
cmp eax, ecx
jne 0x1400b15a7
movzx ecx, byte [r8 + 9]
add rcx, 8
jmp 0x1400b15c3
add eax, eax
movsxd rcx, eax
mov rax, qword [r8 + 0x60]
movzx edx, word [rcx + rax]
movzx eax, word [r8 + 0x1a]
ror dx, 8
movzx ecx, dx
and rcx, rax
add rcx, qword [r8 + 0x50]
lea r15, [rbp + 0x70]
movsxd rax, ebx
mov qword [rbp - 0x30], rcx
mov edx, dword [rcx]
bswap edx
movsxd rcx, edi
lea r15, [r15 + rax*4]
mov dword [rsp + 0x70], edx
lea r14, [rax*8]
mov dword [rbp - 0x68], edx
mov qword [rsp + 0x50], rcx
movsxd rdi, ebx
test r12d, r12d
jne 0x1400b29dd
mov dword [rsp + 0x20], r9d
lea r8, [rbp + 0x88]
lea r8, [r8 + rdi*8]
xor r9d, r9d
mov rcx, r10
call fcn.1401066c0
mov dword [rsp + 0x38], eax
mov r12d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400b29dd
mov rcx, qword [rbp + r14 + 0x88]
cmp dword [rcx + 0x14], r13d
jge 0x1400b1651
call fcn.1400b33d0
mov dword [rsp + 0x38], eax
mov r12d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400b179f
mov rax, qword [rbp + r14 + 0x88]
add esi, 4
sub r15, 4
sub r14, 8
movzx ecx, word [rax + 0x18]
mov eax, ebx
add esi, ecx
dec ebx
mov dword [rsp + 0x48], esi
test eax, eax
je 0x1400b17ba
mov r8, qword [rbp - 0x80]
movzx edx, byte [r8 + 0xc]
test dl, dl
je 0x1400b16d3
mov eax, dword [rsp + 0x6c]
movzx ecx, word [r8 + 0x1c]
add eax, ebx
cmp eax, ecx
jne 0x1400b16d3
mov rdx, qword [r8 + 0x28]
mov rcx, r8
mov qword [rbp + r14 + 0xe0], rdx
mov eax, dword [rdx]
bswap eax
mov dword [rsp + 0x70], eax
mov dword [rbp - 0x68], eax
call qword [r8 + 0x78]
mov edx, dword [rsp + 0x70]
xor r9d, r9d
mov r10, qword [rsp + 0x78]
movzx eax, ax
mov dword [r15], eax
mov rax, qword [rbp - 0x80]
mov byte [rax + 0xc], r13b
jmp 0x1400b15f1
mov rax, qword [r8 + 0x60]
mov ecx, dword [rsp + 0x6c]
sub ecx, edx
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 + r14 + 0xe0], rdi
mov eax, dword [rdi]
bswap eax
mov dword [rsp + 0x70], eax
mov dword [rbp - 0x68], eax
call qword [r8 + 0x78]
mov rdx, qword [rsp + 0x78]
mov r12, qword [rbp - 0x80]
movzx esi, ax
mov dword [r15], esi
test byte [rdx + 0x28], 0xc
je 0x1400b1762
mov ecx, edi
sub ecx, dword [r12 + 0x50]
lea eax, [rsi + rcx]
cmp eax, dword [rdx + 0x38]
jg 0x1400b1762
movsxd rcx, ecx
mov r8d, esi
add rcx, qword [rbp - 0x40]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x40]
sub rax, qword [r12 + 0x50]
add rax, rdi
mov qword [rbp + r14 + 0xe0], rax
movzx eax, byte [r12 + 0xc]
lea r9, [rsp + 0x30]
mov edx, dword [rsp + 0x6c]
mov r8d, esi
sub edx, eax
mov rcx, r12
add edx, ebx
call fcn.1400be180
mov r12d, dword [rsp + 0x30]
xor r9d, r9d
mov edx, dword [rsp + 0x70]
mov r10, qword [rsp + 0x78]
mov esi, dword [rsp + 0x48]
mov dword [rsp + 0x38], r12d
jmp 0x1400b15f1
lea r8, [rdi*8]
xor edx, edx
lea rcx, [rbp + 0x88]
call sub.VCRUNTIME140.dll_memset
jmp 0x1400b1a7a
lea ebx, [rsi + 3]
mov rsi, qword [rsp + 0x78]
and ebx, 0xfffffffc
mov eax, dword [rsi + 0x34]
lea ecx, [rbx + rbx*4]
lea ecx, [rax + rcx*2]
movsxd rcx, ecx
call fcn.140160ac0
mov qword [rbp + 0x10], rax
mov rdi, rax
test rax, rax
jne 0x1400b17eb
lea r12d, [rax + 7]
jmp 0x1400b1a7a
mov rdx, qword [rbp + 0x88]
movsxd rax, ebx
mov qword [rbp + 8], rdx
movzx r11d, byte [rdx + 8]
lea r10, [rdi + rax*8]
shl r11w, 2
lea rax, [r10 + rax*2]
mov qword [rbp + 0x18], r10
mov qword [rsp + 0x60], rax
movzx eax, byte [rdx + 2]
mov dword [rsp + 0x58], eax
xor eax, eax
mov word [rsp + 0x40], r11w
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x50], rax
jle 0x1400b1c83
mov esi, dword [rbp]
mov r9d, eax
mov qword [rsp + 0x48], rax
nop
mov r15, qword [rbp + r9*8 + 0x88]
mov rax, qword [rdx + 0x50]
mov rdi, qword [r15 + 0x50]
movzx ebx, word [r15 + 0x12]
movzx ecx, byte [rax]
add rbx, rdi
movzx r8d, word [r15 + 0x18]
movzx r14d, word [r15 + 0x1a]
mov word [rsp + 0x68], r8w
cmp byte [rdi], cl
jne 0x1400b1c50
movzx eax, byte [r15 + 0xc]
xor edx, edx
add r8, rax
movsxd rax, esi
add r8, r8
lea rcx, [r10 + rax*2]
call sub.VCRUNTIME140.dll_memset
cmp byte [r15 + 0xc], 0
jbe 0x1400b1910
movzx eax, word [r15 + 0x1c]
cmp word [rsp + 0x68], ax
jb 0x1400b1a6a
mov r9, qword [rbp + 0x10]
xor r8d, r8d
cmp r8w, ax
jae 0x1400b18d8
mov edx, eax
movzx eax, word [rbx]
add rbx, 2
ror ax, 8
movzx ecx, ax
and rcx, r14
movsxd rax, esi
add rcx, rdi
inc esi
mov qword [r9 + rax*8], rcx
sub rdx, 1
jne 0x1400b18b2
mov dword [rbp], esi
cmp byte [r15 + 0xc], r8b
jbe 0x1400b1910
lea rdx, [r15 + 0x28]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx]
lea rdx, [rdx + 8]
movsxd rcx, esi
inc r8d
inc esi
mov qword [r9 + rcx*8], rax
movzx eax, byte [r15 + 0xc]
cmp r8d, eax
jl 0x1400b18f0
mov dword [rbp], esi
movzx ecx, word [r15 + 0x12]
movzx edx, word [r15 + 0x18]
add rcx, rdi
lea r8, [rcx + rdx*2]
cmp rbx, r8
jae 0x1400b1955
mov rdx, qword [rbp + 0x10]
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
ror ax, 8
movzx ecx, ax
and rcx, r14
movsxd rax, esi
add rcx, rdi
inc esi
mov qword [rdx + rax*8], rcx
cmp rbx, r8
jb 0x1400b1930
mov dword [rbp], esi
mov r9, qword [rsp + 0x48]
mov eax, dword [rbp - 0x70]
mov r10d, dword [rsp + 0x34]
dec eax
mov dword [rbp + r9*4 + 0xf8], esi
cmp r10d, eax
jge 0x1400b1a36
cmp byte [rsp + 0x58], 0
jne 0x1400b1a36
movzx ecx, word [rbp + r9*4 + 0x70]
mov rax, qword [rbp + 0x18]
mov r8d, ecx
mov rdx, qword [rbp + r9*8 + 0xe0]
movsxd rbx, r13d
add r13d, ecx
add rbx, qword [rsp + 0x60]
movsxd rdi, esi
lea r14, [rax + rdi*2]
mov word [r14], cx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movzx r11d, word [rsp + 0x40]
mov rcx, qword [rbp + 0x10]
lea rax, [rbx + r11]
mov qword [rcx + rdi*8], rax
movzx eax, word [r14]
sub ax, r11w
mov word [r14], ax
cmp byte [r15 + 8], 0
jne 0x1400b19f6
mov rax, qword [r15 + 0x50]
inc esi
mov rcx, qword [rcx + rdi*8]
mov r9, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x34]
mov eax, dword [rax + 8]
mov dword [rcx], eax
mov dword [rbp], esi
jmp 0x1400b1a3c
cmp ax, 4
jae 0x1400b1a25
mov rcx, qword [rsp + 0x60]
movsxd rax, r13d
add rcx, rax
nop word [rax + rax]
mov byte [rcx], 0
lea rcx, [rcx + 1]
inc word [r14]
inc r13d
cmp word [r14], 4
jb 0x1400b1a10
mov r9, qword [rsp + 0x48]
inc esi
mov r10d, dword [rsp + 0x34]
mov dword [rbp], esi
jmp 0x1400b1a3c
movzx r11d, word [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
inc r10d
inc r9
mov dword [rsp + 0x34], r10d
mov qword [rsp + 0x48], r9
cmp r9, rdx
jge 0x1400b1af9
mov rdx, qword [rbp + 0x88]
mov r10, qword [rbp + 0x18]
jmp 0x1400b1840
mov ecx, 0x12add
call fcn.140136f10
mov r12d, eax
xor r13d, r13d
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rbp + 0x10]
mov r15, qword [rsp + 0x220]
mov r14, qword [rsp + 0x228]
test rbx, rbx
je 0x1400b2a03
cmp dword [0x14020e0b0], 0
je 0x1400b29fa
mov rcx, qword [0x1402136d0]
test rcx, rcx
je 0x1400b1abb
call qword [0x14020e130]
mov rcx, rbx
call qword [0x14020e0e8]
dec qword [0x140213658]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x140213610], rdx
call qword [0x14020e0d8]
mov rcx, qword [0x1402136d0]
test rcx, rcx
je 0x1400b2a03
call qword [0x14020e140]
jmp 0x1400b2a03
mov rax, qword [rsp + 0x78]
lea rdi, [rbp + 0x4c]
movzx ecx, r11w
lea r15, [rbp + 0x50]
mov r8, rdx
mov qword [rsp + 0x48], rdi
shl r8, 2
lea rdx, [rbp + 0xf8]
mov eax, dword [rax + 0x38]
lea r13, [rbp + 0x20]
add eax, 0xfffffff4
add eax, ecx
lea rcx, [rbp + 0xa0]
mov dword [rsp + 0x68], eax
xor eax, eax
mov esi, eax
mov dword [rsp + 0x34], eax
mov r14d, eax
mov qword [rsp + 0x60], rax
call sub.VCRUNTIME140.dll_memcpy
xor r12d, r12d
nop dword [rax]
mov rbx, qword [rbp + r14*8 + 0x88]
mov ecx, dword [rbp + r14*4 + 0xf8]
mov rax, qword [rbx + 0x58]
mov qword [r13], rax
mov dword [r15], ecx
test esi, esi
je 0x1400b1b8a
cmp ecx, dword [rdi]
jne 0x1400b1b8a
dec esi
sub rdi, 4
sub r13, 8
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x48], rdi
sub r15, 4
cmp byte [rsp + 0x58], r12b
jne 0x1400b1bba
mov rax, qword [rbp - 0x80]
add r13, 8
inc esi
add rdi, 4
add r15, 4
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x48], rdi
mov rax, qword [rax + 0x58]
mov qword [r13], rax
lea eax, [rcx + 1]
mov dword [r15], eax
mov eax, dword [rsp + 0x68]
mov edi, eax
sub edi, dword [rbx + 0x14]
mov dword [rbp + r14*4 + 0x70], edi
mov r14d, r12d
cmp byte [rbx + 0xc], r12b
jbe 0x1400b1c0a
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 0x1400b1bd5
mov r14, qword [rsp + 0x60]
mov esi, dword [rsp + 0x34]
mov eax, dword [rsp + 0x68]
mov dword [rbp + r14*4 + 0x70], edi
jmp 0x1400b1c0f
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x48]
inc r14
add rdi, 4
mov qword [rsp + 0x60], r14
inc esi
mov qword [rsp + 0x48], rdi
add r13, 8
mov dword [rsp + 0x34], esi
add r15, 4
cmp r14, qword [rsp + 0x50]
jl 0x1400b1b50
mov rdx, qword [rbp + 0x88]
mov r12d, dword [rsp + 0x38]
mov r10, qword [rbp + 0x18]
jmp 0x1400b1c93
lea rax, [0x1401dc4f4]
mov r12d, 0xb
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov r9d, 0x12ac5
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140088f10
jmp 0x1400b1a77
mov eax, dword [rsi + 0x38]
add eax, 0xfffffff4
movzx ecx, r11w
add eax, ecx
mov dword [rsp + 0x68], eax
mov r8d, dword [rbp - 0x70]
xor r13d, r13d
mov dword [rsp + 0x60], r13d
mov ecx, r8d
mov dword [rsp + 0x34], ecx
test r8d, r8d
jle 0x1400b1eb6
lea r15d, [r13 + 1]
mov ebx, r13d
nop word [rax + rax]
mov esi, dword [rbp + rbx + 0x70]
cmp esi, eax
jle 0x1400b1d7b
lea rdx, [rbp + 0x74]
add rdx, rbx
cmp r15d, ecx
jl 0x1400b1cf7
lea eax, [r15 + 1]
mov dword [rsp + 0x34], eax
cmp rbx, 0xc
jg 0x1400b1e49
mov eax, dword [rbp]
mov dword [rbp + rbx + 0xa4], eax
mov dword [rdx], r13d
movsxd rdi, dword [rbp + rbx + 0xa0]
movzx eax, word [r10 + rdi*2 - 2]
test ax, ax
jne 0x1400b1d1a
lea edx, [rdi - 1]
lea rcx, [rbp]
call fcn.1400ba5a0
mov r10, qword [rbp + 0x18]
mov esi, dword [rbp + rbx + 0x70]
movzx ecx, ax
add ecx, 2
sub esi, ecx
mov dword [rbp + rbx + 0x70], esi
cmp byte [rsp + 0x58], r13b
jne 0x1400b1d5a
cmp edi, dword [rbp]
jge 0x1400b1d57
movzx eax, word [r10 + rdi*2]
test ax, ax
jne 0x1400b1d4f
mov edx, edi
lea rcx, [rbp]
call fcn.1400ba5a0
mov r10, qword [rbp + 0x18]
movzx ecx, ax
add ecx, 2
jmp 0x1400b1d5a
mov ecx, r13d
lea rdx, [rbp + 0x74]
add rdx, rbx
lea eax, [rdi - 1]
mov dword [rbp + rbx + 0xa0], eax
add dword [rdx], ecx
mov ecx, dword [rsp + 0x34]
cmp esi, dword [rsp + 0x68]
jg 0x1400b1cd3
movsxd rdi, dword [rbp + rbx + 0xa0]
mov ecx, dword [rbp]
cmp edi, ecx
jge 0x1400b1dfb
lea r14, [r10 + rdi*2]
nop
movzx eax, word [r14]
test ax, ax
jne 0x1400b1da7
mov edx, edi
lea rcx, [rbp]
call fcn.1400ba5a0
mov ecx, dword [rbp]
movzx eax, ax
add eax, 2
add esi, eax
cmp esi, dword [rsp + 0x68]
jg 0x1400b1e28
inc edi
mov dword [rbp + rbx + 0x70], esi
add r14, 2
mov dword [rbp + rbx + 0xa0], edi
cmp byte [rsp + 0x58], r13b
jne 0x1400b1df3
cmp edi, ecx
jge 0x1400b1df0
movzx eax, word [r14]
test ax, ax
jne 0x1400b1de8
mov edx, edi
lea rcx, [rbp]
call fcn.1400ba5a0
mov ecx, dword [rbp]
movzx eax, ax
add eax, 2
jmp 0x1400b1df3
mov eax, r13d
sub dword [rbp + rbx + 0x74], eax
cmp edi, ecx
jl 0x1400b1d90
mov ecx, r15d
mov dword [rsp + 0x34], ecx
mov eax, dword [rsp + 0x60]
inc r15d
inc eax
add rbx, 4
mov dword [rsp + 0x60], eax
cmp eax, ecx
jge 0x1400b1eaf
mov r10, qword [rbp + 0x18]
mov eax, dword [rsp + 0x68]
jmp 0x1400b1cc0
cmp edi, ecx
jge 0x1400b1dfb
cmp dword [rsp + 0x60], r13d
jle 0x1400b1e3c
mov eax, dword [rbp + rbx + 0x9c]
jmp 0x1400b1e3f
mov eax, r13d
cmp edi, eax
jle 0x1400b1e7c
mov ecx, dword [rsp + 0x34]
jmp 0x1400b1e02
lea rax, [0x1401dc4f4]
mov r12d, 0xb
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov r9d, 0x12b42
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140088f10
jmp 0x1400b1a7a
lea rax, [0x1401dc4f4]
mov r12d, 0xb
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov r9d, 0x12b63
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140088f10
jmp 0x1400b1a7a
mov rdx, qword [rbp + 0x88]
lea eax, [rcx - 1]
movsxd rcx, eax
mov qword [rbp - 0x38], rcx
mov dword [rsp + 0x48], eax
test eax, eax
jle 0x1400b2015
lea rdx, [rbp + 0x70]
sub rdx, 4
lea rax, [rbp + 0xa0]
sub rax, 4
mov qword [rbp + 0xe0], rdx
mov qword [rbp - 0x60], rax
lea r9, [rbp + 0x70]
nop
mov r8d, dword [rax + rcx*4]
lea rax, [rax + rcx*4]
mov rsi, qword [rbp + 0x18]
mov r15d, dword [rdx + rcx*4]
mov edi, dword [r9 + rcx*4]
mov qword [rbp - 0x28], rax
lea ebx, [r8 - 1]
mov eax, ebx
mov dword [rsp + 0x60], r8d
sub eax, dword [rsp + 0x58]
movsxd r14, eax
inc r14
lea edx, [rax + 1]
cmp word [rsi + r14*2], r13w
lea r14, [rsi + r14*2]
jne 0x1400b1f34
lea rcx, [rbp]
call fcn.1400ba5a0
mov r12, qword [rbp - 0x28]
movsxd rax, ebx
lea rsi, [rsi + rax*2]
nop
movzx eax, word [rsi]
test ax, ax
jne 0x1400b1f53
mov edx, ebx
lea rcx, [rbp]
call fcn.1400ba5a0
movzx r8d, word [r14]
movzx edx, ax
test edi, edi
je 0x1400b1f8b
cmp dword [rbp + 0x180], r13d
jne 0x1400b1fb6
mov ecx, dword [rsp + 0x34]
mov eax, 2
dec ecx
cmp dword [rsp + 0x48], ecx
mov ecx, r15d
cmove eax, r13d
sub ecx, eax
lea eax, [rdi + 2]
add eax, r8d
sub ecx, edx
cmp eax, ecx
jg 0x1400b1fb6
add r8d, 2
mov dword [rsp + 0x60], ebx
add edi, r8d
mov dword [r12], ebx
mov eax, 0xfffffffe
sub rsi, 2
sub eax, edx
sub r14, 2
add r15d, eax
mov r8d, ebx
sub ebx, 1
jns 0x1400b1f40
jmp 0x1400b1fbb
mov r8d, dword [rsp + 0x60]
mov rcx, qword [rbp - 0x38]
lea rax, [rbp + 0x70]
mov rdx, qword [rbp + 0xe0]
mov r12d, dword [rsp + 0x38]
mov dword [rax + rcx*4], edi
mov dword [rdx + rcx*4], r15d
cmp rcx, 1
jbe 0x1400b1fe6
mov rax, qword [rbp - 0x60]
mov eax, dword [rax + rcx*4 - 4]
jmp 0x1400b1fe9
mov eax, r13d
cmp r8d, eax
jle 0x1400b2090
dec dword [rsp + 0x48]
lea r9, [rbp + 0x70]
mov rax, qword [rbp - 0x60]
dec rcx
mov qword [rbp - 0x38], rcx
test rcx, rcx
jg 0x1400b1ef0
mov rdx, qword [rbp + 0x88]
mov rax, qword [rdx + 0x50]
mov r14d, r13d
movsxd r15, dword [rsp + 0x34]
movzx ebx, byte [rax]
mov dword [rsp + 0x60], ebx
test r15, r15
jle 0x1400b223e
mov rdi, r13
cmp rdi, qword [rsp + 0x50]
jge 0x1400b2143
mov rsi, qword [rbp + rdi*8 + 0x88]
mov qword [rbp + rdi*8 + 0xb8], rsi
mov qword [rbp + rdi*8 + 0x88], r13
mov qword [rbp - 0x60], rsi
mov rbx, qword [rsi + 0x70]
test byte [rbx + 0x34], 4
mov rcx, qword [rbx + 0x28]
je 0x1400b20cd
mov eax, dword [rbx + 0x30]
cmp dword [rcx + 0x20], eax
jb 0x1400b20cd
cmp dword [rcx + 0x80], r13d
je 0x1400b20c3
mov rcx, rbx
call fcn.140197330
test eax, eax
je 0x1400b20c3
mov rcx, rbx
call fcn.1401974c0
jmp 0x1400b20f8
lea rax, [0x1401dc4f4]
mov r12d, 0xb
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov r9d, 0x12b8f
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140088f10
jmp 0x1400b1a7a
mov r12d, r13d
mov dword [rsp + 0x38], r13d
jmp 0x1400b20ff
mov r12d, dword [rcx + 0x30]
mov dword [rsp + 0x38], r12d
test r12d, r12d
jne 0x1400b20ff
mov eax, dword [rcx + 0xc8]
cmp dword [rcx + 0xb8], eax
mov rcx, rbx
jbe 0x1400b20f3
call fcn.140116d80
jmp 0x1400b20f8
call fcn.140118070
mov r12d, eax
mov dword [rsp + 0x38], eax
mov r10d, dword [rsp + 0x3c]
mov ecx, r13d
mov eax, dword [rbp - 0x50]
inc r10d
sub eax, dword [rsp + 0x6c]
cmp r14d, eax
mov dword [rsp + 0x30], r12d
mov rax, qword [rsi + 0x70]
sete cl
mov dword [rsp + 0x3c], r10d
inc ecx
cmp dword [rax + 0x38], ecx
je 0x1400b2135
test r12d, r12d
je 0x1400b220b
test r12d, r12d
jne 0x1400b1a7a
jmp 0x1400b21f7
mov r9d, dword [rsp + 0x70]
lea r8, [rbp - 0x68]
cmp dword [rbp + 0x180], r13d
lea rdx, [rbp - 0x60]
mov rsi, qword [rsp + 0x78]
mov ecx, 1
cmovne r9d, ecx
mov byte [rsp + 0x20], r13b
mov rcx, rsi
call fcn.1400ad160
mov dword [rsp + 0x38], eax
mov r12d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400b1a7a
mov edx, ebx
mov rbx, qword [rbp - 0x60]
mov rcx, rbx
call fcn.1401b3130
mov r10d, dword [rsp + 0x3c]
mov eax, dword [rbp]
inc r10d
mov qword [rbp + rdi*8 + 0xb8], rbx
mov dword [rsp + 0x3c], r10d
mov dword [rbp + rdi*4 + 0xf8], eax
cmp byte [rsi + 0x21], r13b
je 0x1400b21f0
mov edx, dword [rbx + 4]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r8b, 5
mov rax, qword [rbp - 0x80]
mov rcx, rsi
mov r9d, dword [rax + 4]
call fcn.14011c3d0
mov r12d, dword [rsp + 0x30]
mov dword [rsp + 0x38], r12d
test r12d, r12d
jne 0x1400b1a7a
mov r10d, dword [rsp + 0x3c]
mov edx, dword [rbp - 0x68]
mov dword [rsp + 0x70], edx
inc r14d
inc rdi
cmp rdi, r15
jge 0x1400b2241
mov ebx, dword [rsp + 0x60]
jmp 0x1400b2034
lea rax, [0x1401dc4f4]
mov r12d, 0xb
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov r9d, 0x12bb0
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140088f10
jmp 0x1400b1a7a
mov r10d, r13d
movsxd r8, r10d
mov qword [rbp - 0x50], r8
test r10d, r10d
jle 0x1400b226a
mov rdx, r13
mov rax, qword [rbp + rdx*8 + 0xb8]
mov ecx, dword [rax + 4]
mov dword [rbp + rdx*4 + 0xe0], ecx
inc rdx
cmp rdx, r8
jl 0x1400b2250
lea r9d, [r10 - 1]
mov dword [rsp + 0x48], r9d
test r9d, r9d
jle 0x1400b23b0
mov r11d, 1
lea r12, [rbp + 0xb8]
mov qword [rbp - 0x60], r11
mov rbx, r8
mov eax, r9d
nop dword [rax]
nop word [rax + rax]
lea r15, [r11 - 1]
mov r10d, r13d
lea r9d, [r13 + 1]
mov r8, r11
cmp r11, rbx
jge 0x1400b238b
nop word [rax + rax]
mov rax, qword [rbp + r15*8 + 0xb8]
mov edx, dword [rax + 4]
mov rax, qword [rbp + r8*8 + 0xb8]
mov ecx, dword [rax + 4]
cmp ecx, edx
mov rax, r8
cmovae rax, r15
mov r15, rax
mov eax, r9d
cmovae eax, r10d
inc r9d
inc r8
mov r10d, eax
cmp r8, rbx
jl 0x1400b22c0
cmp eax, r13d
je 0x1400b2387
mov eax, dword [0x14020e408]
xor edx, edx
mov rcx, qword [r12]
mov r8, qword [rbp + r15*8 + 0xb8]
mov r9, qword [rsp + 0x78]
mov r14d, dword [rcx + 4]
mov rcx, qword [rcx + 0x70]
div dword [r9 + 0x34]
mov esi, dword [r8 + 4]
movzx ebx, word [rcx + 0x34]
lea edx, [rax + 1]
mov rax, qword [r8 + 0x70]
movzx edi, word [rax + 0x34]
mov word [rcx + 0x34], di
call fcn.140164de0
mov rax, qword [rbp + r15*8 + 0xb8]
mov edx, r14d
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], bx
call fcn.140164de0
mov rax, qword [r12]
mov edx, esi
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], di
call fcn.140164de0
mov rax, qword [r12]
mov r11, qword [rbp - 0x60]
mov rbx, qword [rbp - 0x50]
mov dword [rax + 4], esi
mov rax, qword [rbp + r15*8 + 0xb8]
mov dword [rax + 4], r14d
mov eax, dword [rsp + 0x48]
inc r11
inc r13d
add r12, 8
mov qword [rbp - 0x60], r11
cmp r13d, eax
jl 0x1400b22a0
mov r12d, dword [rsp + 0x38]
mov r8, qword [rbp - 0x50]
mov r10d, dword [rsp + 0x3c]
test byte [rsp + 0x60], 8
movsxd rax, r10d
lea r9, [rbp + rax*8 + 0xb0]
mov rax, qword [rbp + rax*8 + 0xb0]
mov ecx, dword [rax + 4]
mov rax, qword [rbp - 0x30]
bswap ecx
mov dword [rax], ecx
jne 0x1400b2406
cmp dword [rbp - 0x70], r10d
je 0x1400b2406
movsxd rax, dword [rbp - 0x78]
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xb8]
cmovge rcx, rdx
mov rcx, qword [rcx + rax*8]
mov rax, qword [r9]
mov rdx, qword [rcx + 0x50]
mov rcx, qword [rax + 0x50]
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov r11, qword [rsp + 0x78]
xor r13d, r13d
cmp byte [r11 + 0x21], r13b
je 0x1400b260a
mov rbx, qword [rbp + 0xb8]
mov r14d, r13d
movzx esi, word [rbx + 0x18]
movzx eax, byte [rbx + 0xc]
add esi, eax
cmp dword [rbp], r13d
jle 0x1400b260a
mov rax, qword [rbp + 0x18]
lea rdx, [rbp + 0xb8]
mov rcx, qword [rbp + 0x10]
lea r9, [rbp + 0xa0]
mov edi, r13d
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], rdx
mov r13, rbx
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x48], rcx
nop dword [rax]
nop dword [rax + rax]
mov r15, qword [rcx]
mov r10d, dword [rsp + 0x58]
cmp r14d, esi
jne 0x1400b24bf
xor edx, edx
test r10b, r10b
sete dl
inc rdi
cmp rdi, r8
jge 0x1400b2497
mov rbx, qword [rbp + rdi*8 + 0xb8]
jmp 0x1400b249f
mov rbx, qword [rbp + rdi*8 + 0x88]
movzx eax, word [rbx + 0x18]
movzx ecx, byte [rbx + 0xc]
add eax, edx
add ecx, eax
add esi, ecx
cmp r14d, esi
je 0x1400b2485
mov rax, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x68]
cmp r14d, dword [r9]
jne 0x1400b24e2
mov r13, qword [rdx + 8]
add rdx, 8
add r9, 4
mov qword [rbp - 0x68], rdx
mov qword [rsp + 0x60], r9
test r10b, r10b
je 0x1400b25dc
cmp rdi, r8
jge 0x1400b2504
mov eax, dword [rbp + rdi*4 + 0xe0]
cmp dword [r13 + 4], eax
jne 0x1400b2504
cmp r15, qword [rbx + 0x50]
jb 0x1400b2504
cmp r15, qword [rbx + 0x58]
jb 0x1400b25d8
cmp word [rsp + 0x40], 0
jne 0x1400b252f
mov edx, dword [r15]
lea rax, [rsp + 0x30]
mov r9d, dword [r13 + 4]
mov r8b, 5
bswap edx
mov rcx, r11
mov qword [rsp + 0x20], rax
call fcn.14011c3d0
mov r12d, dword [rsp + 0x30]
mov rax, qword [rbp - 0x78]
movzx eax, word [rax]
test ax, ax
jne 0x1400b2547
mov edx, r14d
lea rcx, [rbp]
call fcn.1400ba5a0
cmp ax, word [r13 + 0x10]
jbe 0x1400b25c0
test r12d, r12d
jne 0x1400b1a77
lea r8, [rbp - 0x20]
mov rdx, r15
mov rcx, r13
call qword [r13 + 0x80]
movzx edx, word [rbp - 0xc]
cmp edx, dword [rbp - 0x10]
jae 0x1400b25c9
mov rcx, qword [rbx + 0x58]
cmp rcx, r15
jb 0x1400b2596
lea rax, [r15 + rdx]
cmp rcx, rax
jae 0x1400b2596
mov ecx, 0x11109
call fcn.140136f10
mov r12d, eax
mov dword [rsp + 0x30], eax
jmp 0x1400b25c0
movzx eax, word [rbp - 0xa]
mov r8b, 3
mov r9d, dword [r13 + 4]
mov rcx, qword [r13 + 0x48]
mov edx, dword [rax + r15 - 4]
lea rax, [rsp + 0x30]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.14011c3d0
mov r12d, dword [rsp + 0x30]
test r12d, r12d
jne 0x1400b1a77
mov r11, qword [rsp + 0x78]
mov r9, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rbp - 0x78]
mov r8, qword [rbp - 0x50]
add rcx, 8
mov rdx, qword [rbp - 0x68]
add rax, 2
inc r14d
mov qword [rsp + 0x48], rcx
mov qword [rbp - 0x78], rax
cmp r14d, dword [rbp]
jl 0x1400b2470
mov r10d, dword [rsp + 0x3c]
xor r13d, r13d
lea eax, [r10 - 1]
cdqe
mov qword [rbp + 0xe0], rax
test rax, rax
jle 0x1400b27d1
movzx edx, word [rsp + 0x40]
mov r15, r13
mov dword [rbp - 0x78], edx
nop dword [rax + rax]
movsxd rbx, dword [rbp + r15*4 + 0xa0]
mov rcx, qword [rbp + 0x18]
mov r14, qword [rbp + r15*8 + 0xb8]
mov r10, qword [rbp + 0x10]
movsxd rsi, dword [rbp - 0x58]
movzx ecx, word [rcx + rbx*2]
add rsi, qword [rbp - 0x40]
cmp byte [r14 + 8], 0
mov rdi, qword [r10 + rbx*8]
lea r9d, [rdx + rcx]
jne 0x1400b26f3
mov rcx, qword [r14 + 0x50]
mov eax, dword [rdi]
mov dword [rcx + 8], eax
mov r12, qword [rbp - 0x80]
add dword [rbp - 0x58], r9d
mov rax, r13
cmp dword [rbp + 0x50], ebx
jg 0x1400b268f
cmp rax, 6
jge 0x1400b268f
inc rax
cmp dword [rbp + rax*4 + 0x50], ebx
jle 0x1400b2680
mov rcx, qword [rbp + rax*8 + 0x20]
cmp rcx, rdi
jb 0x1400b26a8
movsxd rax, r9d
add rax, rdi
cmp rcx, rax
jb 0x1400b2799
mov eax, dword [r14 + 4]
mov r8, rdi
mov ebx, dword [rsp + 0x6c]
mov rcx, r12
mov dword [rsp + 0x28], eax
mov edx, ebx
mov qword [rsp + 0x20], rsi
call fcn.1401096f0
mov dword [rsp + 0x30], eax
mov r12d, eax
test eax, eax
jne 0x1400b1a7a
inc ebx
inc r15
mov dword [rsp + 0x6c], ebx
cmp r15, qword [rbp + 0xe0]
jge 0x1400b27cc
mov edx, dword [rbp - 0x78]
jmp 0x1400b2630
cmp byte [rsp + 0x58], 0
je 0x1400b2774
dec ebx
lea r8, [rbp - 0x20]
movsxd rdx, ebx
mov rcx, r14
mov rdx, qword [r10 + rdx*8]
call qword [r14 + 0x80]
mov rdx, qword [rbp - 0x20]
lea rcx, [rsi + 4]
mov rdi, rsi
cmp rdx, 0x7f
ja 0x1400b2738
mov eax, 1
and dl, 0x7f
mov byte [rcx], dl
mov rsi, r13
lea r9d, [rax + 4]
jmp 0x1400b2670
cmp rdx, 0x3fff
ja 0x1400b2763
mov rax, rdx
mov rsi, r13
shr rax, 7
or al, 0x80
mov byte [rcx], al
and dl, 0x7f
mov eax, 2
mov byte [rcx + 1], dl
lea r9d, [rax + 4]
jmp 0x1400b2670
call fcn.1400fa6c0
mov rsi, r13
lea r9d, [rax + 4]
jmp 0x1400b2670
sub rdi, 4
cmp ecx, 4
jne 0x1400b2670
mov r12, qword [rbp - 0x80]
mov rdx, rdi
mov rcx, r12
call qword [r12 + 0x78]
movzx r9d, ax
jmp 0x1400b2674
lea rax, [0x1401dc4f4]
mov r12d, 0xb
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov r9d, 0x12c78
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140088f10
jmp 0x1400b1a7a
mov r10d, dword [rsp + 0x3c]
mov r14d, 1
sub r14d, r10d
cmp r14d, r10d
jge 0x1400b28d6
mov esi, dword [rbp + 0xa0]
nop dword [rax]
mov ebx, r14d
neg ebx
cmovs ebx, r14d
movsxd rcx, ebx
cmp byte [rbp + rcx + 0x110], 0
jne 0x1400b28ca
test r14d, r14d
jns 0x1400b2823
mov eax, dword [rbp + rcx*4 + 0x9c]
cmp dword [rbp + rcx*4 + 0xf4], eax
jl 0x1400b28ca
mov rax, 0xffffffffffffffff
lea r9, [rax + rcx]
test ebx, ebx
jne 0x1400b283d
mov edx, r13d
mov r8d, r13d
mov r9d, esi
jmp 0x1400b287a
mov eax, dword [rsp + 0x58]
cmp ebx, dword [rbp - 0x70]
jge 0x1400b2858
test al, al
mov edx, r13d
sete dl
add edx, dword [rbp + r9*4 + 0xf8]
jmp 0x1400b285b
mov edx, dword [rbp]
test al, al
mov r8d, r13d
movsxd rax, ebx
sete r8b
add r8d, dword [rbp + r9*4 + 0xa0]
mov r9d, dword [rbp + rax*4 + 0xa0]
sub r9d, r8d
movsxd rax, ebx
lea rdi, [rbp + 0xb8]
mov rcx, qword [rdi + rax*8]
lea rdi, [rdi + rax*8]
lea rax, [rbp]
mov qword [rsp + 0x20], rax
call fcn.1400be3b0
mov dword [rsp + 0x30], eax
mov r12d, eax
test eax, eax
jne 0x1400b1a7a
mov ecx, dword [rsp + 0x68]
mov r10d, dword [rsp + 0x3c]
movsxd rax, ebx
mov byte [rbp + rax + 0x110], 1
movsxd rax, ebx
sub ecx, dword [rbp + rax*4 + 0x70]
mov rax, qword [rdi]
mov dword [rax + 0x14], ecx
inc r14d
cmp r14d, r10d
jl 0x1400b27f0
cmp dword [rbp - 0x48], 0
je 0x1400b293f
mov rbx, qword [rbp - 0x80]
cmp word [rbx + 0x18], 0
jne 0x1400b293f
mov rcx, qword [rbp + 0xb8]
movzx eax, byte [rbx + 9]
cmp eax, dword [rcx + 0x14]
jg 0x1400b293f
mov edx, 0xffffffff
call fcn.1400bd6a0
mov rcx, qword [rbp + 0xb8]
lea r8, [rsp + 0x30]
mov rdx, rbx
mov dword [rsp + 0x30], eax
call fcn.1400bc710
mov r12d, dword [rsp + 0x30]
test r12d, r12d
jne 0x1400b2999
mov rcx, qword [rbp + 0xb8]
mov rdx, rcx
mov r8d, dword [rcx + 4]
mov rcx, qword [rcx + 0x48]
call fcn.1400c8e40
mov r12d, eax
jmp 0x1400b2999
mov rcx, qword [rsp + 0x78]
cmp byte [rcx + 0x21], 0
je 0x1400b299e
cmp word [rsp + 0x40], 0
jne 0x1400b299e
mov rdi, qword [rbp - 0x50]
test rdi, rdi
jle 0x1400b299e
mov rbx, r13
nop
mov r9, qword [rbp + rbx*8 + 0xb8]
mov r8b, 5
mov rax, qword [r9 + 0x50]
mov r9d, dword [r9 + 4]
mov edx, dword [rax + 8]
lea rax, [rsp + 0x30]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.14011c3d0
mov rcx, qword [rsp + 0x78]
inc rbx
cmp rbx, rdi
jl 0x1400b2960
mov r12d, dword [rsp + 0x30]
mov r10d, dword [rsp + 0x3c]
mov rdi, qword [rsp + 0x50]
movsxd rbx, r10d
cmp rbx, rdi
jge 0x1400b1a7f
nop
mov rcx, qword [rbp + rbx*8 + 0x88]
test r12d, r12d
jne 0x1400b29d0
mov r8d, dword [rcx + 4]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.1400c8e40
mov r12d, eax
inc rbx
cmp rbx, rdi
jl 0x1400b29b0
jmp 0x1400b1a7f
lea eax, [rbx + 1]
xor edx, edx
movsxd r8, eax
lea rcx, [rbp + 0x88]
shl r8, 3
call sub.VCRUNTIME140.dll_memset
jmp 0x1400b1a7a
mov rcx, rbx
call qword [0x14020e0d8]
test rdi, rdi
jle 0x1400b2a77
mov rbx, r13
nop dword [rax + rax]
mov r8, qword [rbp + rbx*8 + 0x88]
test r8, r8
je 0x1400b2a6f
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1400b2a67
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
imul rdx, qword [r10 + 0xc8]
mov r9, qword [rcx]
call qword [r9 + 0x90]
jmp 0x1400b2a6f
mov rcx, r8
call fcn.140164ee0
inc rbx
cmp rbx, rdi
jl 0x1400b2a10
movsxd rbx, dword [rsp + 0x3c]
mov rdi, qword [rsp + 0x230]
test rbx, rbx
jle 0x1400b2af7
nop dword [rax]
mov r8, qword [rbp + r13*8 + 0xb8]
test r8, r8
je 0x1400b2aef
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1400b2ae7
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
imul rdx, qword [r10 + 0xc8]
mov r9, qword [rcx]
call qword [r9 + 0x90]
jmp 0x1400b2aef
mov rcx, r8
call fcn.140164ee0
inc r13
cmp r13, rbx
jl 0x1400b2a90
mov rbx, qword [rsp + 0x278]
mov eax, r12d
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.1401b39d0
add rsp, 0x238
pop r13
pop r12
pop rsi
pop rbp
ret