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

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push r12
push r14
sub rsp, 0x60
xor ebp, ebp
mov r14d, r9d
mov ebx, r8d
mov r12d, edx
mov rsi, rcx
cmp r8d, 2
jae 0x140128007
mov ecx, ebp
jmp 0x14012803f
add r8d, 0xfffffffe
mov eax, 0xcccccccd
mul dword [rcx + 0x34]
mov eax, r8d
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
mov eax, dword [0x14033a700]
mov ecx, ebp
sub r8d, edx
xor edx, edx
div dword [rsi + 0x30]
dec eax
cmp r8d, eax
sete cl
add ecx, 2
add ecx, r8d
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r15
cmp ecx, ebx
je 0x1401282b7
mov eax, dword [0x14033a700]
xor edx, edx
div dword [rsi + 0x30]
lea r9d, [rax + 1]
cmp ebx, r9d
je 0x1401282b7
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + 0x50]
mov eax, dword [rcx + 0x24]
bswap eax
test eax, eax
jne 0x14012808c
mov eax, 0x65
jmp 0x14012831c
mov r15d, ebp
cmp ebx, 2
jb 0x1401280c3
lea r8d, [rbx - 2]
mov eax, 0xcccccccd
mul dword [rsi + 0x34]
mov eax, r8d
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
sub r8d, edx
lea eax, [r8 + 2]
cmp eax, r9d
sete r15b
add r15d, 2
add r15d, r8d
mov rcx, qword [rsi]
lea r8, [rsp + 0x38]
xor r9d, r9d
mov edx, r15d
call fcn.140153e20
mov edi, eax
test eax, eax
jne 0x140128149
mov rcx, qword [rsp + 0x38]
mov eax, ebx
sub eax, r15d
mov r8, qword [rcx + 8]
lea edx, [rax + rax*4]
lea eax, [rdx - 5]
test eax, eax
jns 0x140128101
call fcn.140155c40
mov r8d, 0xd5d3
jmp 0x14012812f
movsxd rax, edx
movzx edi, byte [rax + r8 - 5]
mov eax, dword [rax + r8 - 4]
bswap eax
mov dword [rsp + 0x38], eax
mov byte [rsp + 0xa0], dil
call fcn.140155c40
lea eax, [rdi - 1]
cmp al, 4
jbe 0x140128150
mov r8d, 0xd5db
mov edi, VariantTimeToDosDateTime
lea r9, [0x1402b951c]
mov ecx, edi
lea rdx, str.database_corruption_at_line__d_of___.10s_
call fcn.14010fcd0
mov eax, edi
jmp 0x14012831c
cmp dil, 1
jne 0x14012817d
mov edi, VariantTimeToDosDateTime
lea r9, [0x1402b951c]
mov ecx, edi
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0xdf98
call fcn.14010fcd0
mov eax, edi
jmp 0x14012831c
cmp dil, 2
jne 0x1401281cd
test r14d, r14d
jne 0x14012831a
mov r9d, ebx
mov byte [rsp + 0x20], 1
lea r8, [rsp + 0xa0]
mov rcx, rsi
lea rdx, [rsp + 0x38]
call fcn.140114300
test eax, eax
jne 0x14012831c
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401282bc
mov rcx, qword [rcx + 0x70]
call fcn.140155c40
jmp 0x1401282bc
mov rcx, qword [rsi]
lea r8, [rsp + 0x30]
xor r9d, r9d
mov edx, ebx
call fcn.140153e20
test eax, eax
jne 0x14012831c
mov rcx, qword [rsp + 0x30]
cmp ebx, 1
mov r13d, 2
mov rax, qword [rcx + 8]
mov r15, qword [rcx + 0x10]
mov qword [r15 + 0x50], rax
mov eax, ebp
mov qword [r15 + 0x70], rcx
mov ecx, 0x64
cmove eax, ecx
mov qword [r15 + 0x48], rsi
test r14d, r14d
mov dword [r15 + 0x88], ebx
mov byte [r15 + 6], al
cmovne r12d, ebp
cmovne r13d, ebp
nop dword [rax]
mov r9d, r12d
mov byte [rsp + 0x20], r13b
lea r8, [rsp + 0x30]
mov rcx, rsi
lea rdx, [rsp + 0x40]
call fcn.140114300
mov edi, eax
test eax, eax
jne 0x1401282aa
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140128263
mov rcx, qword [rcx + 0x70]
call fcn.140155c40
mov eax, dword [rsp + 0x30]
test r14d, r14d
je 0x140128275
cmp eax, dword [rsp + 0x98]
ja 0x140128230
mov r9d, dword [rsp + 0x38]
mov rdx, r15
movzx r8d, byte [rsp + 0xa0]
mov rcx, rsi
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
call fcn.140133080
mov rcx, qword [r15 + 0x70]
mov edi, eax
call fcn.140155c40
test edi, edi
je 0x1401282b7
mov eax, edi
jmp 0x14012831c
mov rcx, qword [r15 + 0x70]
call fcn.140155c40
mov eax, edi
jmp 0x14012831c
test r14d, r14d
jne 0x14012831a
mov eax, dword [0x14033a700]
xor edx, edx
div dword [rsi + 0x30]
lea r9d, [rax + 1]
nop dword [rax + rax]
dec ebx
cmp ebx, r9d
je 0x1401282d0
cmp ebx, 2
jae 0x1401282e0
mov ecx, ebp
jmp 0x14012830f
lea r8d, [rbx - 2]
mov eax, 0xcccccccd
mul dword [rsi + 0x34]
mov eax, r8d
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
mov ecx, ebp
sub r8d, edx
lea eax, [r8 + 2]
cmp eax, r9d
sete cl
add ecx, 2
add ecx, r8d
cmp ecx, ebx
je 0x1401282d0
mov byte [rsi + 0x23], 1
mov dword [rsi + 0x3c], ebx
xor eax, eax
mov r15, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret