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

Disassembly:
push rdi
push r12
push r14
push r15
sub rsp, 0x48
xor r15d, r15d
mov edi, r8d
mov r12d, edx
mov r14, rcx
cmp r8d, 2
jae 0x1400feab3
mov r8d, r15d
jmp 0x1400feaeb
mov eax, 0xcccccccd
mul dword [rcx + 0x34]
lea eax, [r8 - 2]
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
xor edx, edx
mov r8d, eax
mov eax, dword [0x1402a4844]
div dword [r14 + 0x30]
imul r8d, ecx
inc eax
add r8d, 2
cmp r8d, eax
jne 0x1400feaeb
inc r8d
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x40], rsi
cmp r8d, edi
je 0x1400fedeb
mov eax, dword [0x1402a4844]
xor edx, edx
div dword [r14 + 0x30]
inc eax
cmp edi, eax
je 0x1400fedeb
mov rax, qword [r14 + 0x18]
mov rdx, qword [rax + 0x50]
movzx eax, byte [rdx + 0x25]
movzx ecx, byte [rdx + 0x24]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x26]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x27]
shl ecx, 8
or ecx, eax
jne 0x1400feb4a
lea eax, [rcx + 0x65]
jmp 0x1400ff044
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x80]
mov edx, edi
mov rcx, r14
call fcn.1400fb9c0
test eax, eax
jne 0x1400ff044
cmp byte [rsp + 0x80], 1
jne 0x1400feb99
lea r9, [0x1402286f4]
lea rdx, str.database_corruption_at_line__d_of___.10s_
lea ecx, [rax + 0xb]
mov r8d, 0xcf91
call fcn.1400eaff0
mov eax, 0xb
jmp 0x1400ff044
cmp byte [rsp + 0x80], 2
jne 0x1400febe6
test r12d, r12d
jne 0x1400ff042
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x88]
mov r9d, edi
mov rcx, r14
mov byte [rsp + 0x20], 1
call fcn.140101240
test eax, eax
jne 0x1400ff044
mov rcx, qword [rsp + 0x88]
call fcn.1400fcd10
jmp 0x1400fedf4
mov rbx, qword [r14]
test edi, edi
je 0x1400ff05f
mov esi, dword [rbx + 0x2c]
test esi, esi
jne 0x1400fecfe
mov rcx, qword [rbx + 0xf0]
lea r9, [rsp + 0x88]
lea r8d, [rsi + 1]
mov edx, edi
call fcn.1400f0a00
mov esi, eax
test eax, eax
jne 0x1400fecfe
mov rbp, qword [rsp + 0x88]
cmp qword [rbp + 0x20], r15
je 0x1400fec39
inc dword [rbx + 0xd0]
jmp 0x1400fed1e
mov qword [rbp + 0x20], rbx
cmp edi, 0x7fffffff
ja 0x1400feca8
mov eax, dword [0x1402a4844]
movsxd rcx, dword [rbx + 0xa0]
cdq
idiv ecx
inc eax
cmp edi, eax
je 0x1400feca8
cmp byte [rbx + 0x12], r15b
jne 0x1400fec89
cmp dword [rbx + 0x1c], edi
jb 0x1400fec89
mov rax, qword [rbx + 0x48]
cmp qword [rax], r15
je 0x1400fec89
inc dword [rbx + 0xd4]
mov rcx, rbp
call fcn.1400f4510
mov esi, eax
test eax, eax
je 0x1400fed1e
jmp 0x1400feccb
cmp edi, dword [rbx + 0xa4]
jbe 0x1400fec98
mov esi, 0xd
jmp 0x1400feccb
mov r8, rcx
mov rcx, qword [rbp + 8]
xor edx, edx
call fcn.1401bcc1c
jmp 0x1400fed1e
lea r9, [0x1402286f4]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0xad17
mov ecx, 0xb
call fcn.1400eaff0
mov esi, 0xb
test byte [rbp + 0x2c], 2
je 0x1400fecd9
mov rcx, rbp
call fcn.1400f0990
mov rcx, qword [rbp + 0x30]
dec dword [rcx + 0x18]
cmp dword [rbp + 0x28], 1
jne 0x1400fecea
mov qword [rcx + 0x48], r15
mov rdx, qword [rbp]
mov rcx, qword [rcx + 0x40]
mov r8d, 1
call qword [0x1402a4978]
mov rax, qword [rbx + 0xf0]
cmp dword [rax + 0x18], r15d
jne 0x1400fed13
mov rcx, rbx
call fcn.1400f39a0
mov rbp, r15
test esi, esi
jne 0x1400ff082
mov rax, qword [rbp + 8]
mov rsi, qword [rbp + 0x10]
cmp edi, 1
mov qword [rsi + 0x50], rax
mov eax, r15d
mov ecx, 0x64
cmove eax, ecx
mov qword [rsi + 0x68], rbp
mov qword [rsi + 0x48], r14
mov byte [rsi + 5], al
mov dword [rsi + 0x70], edi
nop word [rax + rax]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x38]
xor r9d, r9d
mov rcx, r14
mov byte [rsp + 0x20], r15b
call fcn.140101240
mov ebx, eax
test eax, eax
jne 0x1400feddc
mov rcx, qword [rsp + 0x38]
call fcn.1400fcd10
mov ebx, dword [rsp + 0x88]
test r12d, r12d
je 0x1400fed8e
cmp ebx, r12d
ja 0x1400fed50
mov rcx, qword [rsi + 0x68]
call fcn.1400f68b0
mov ebp, eax
test eax, eax
jne 0x1400fedc9
mov r9d, dword [rsp + 0x30]
movzx r8d, byte [rsp + 0x80]
mov eax, r15d
test r12d, r12d
mov rdx, rsi
mov rcx, r14
setne al
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.1400fe7b0
mov ebp, eax
mov rcx, rsi
call fcn.1400fcd10
test ebp, ebp
je 0x1400fedeb
mov eax, ebp
jmp 0x1400ff044
mov rcx, rsi
call fcn.1400fcd10
mov eax, ebx
jmp 0x1400ff044
test r12d, r12d
jne 0x1400ff042
mov rbp, qword [rsp + 0x88]
dec edi
lea r12d, [rdi - 2]
nop word [rax + rax]
mov eax, dword [0x1402a4844]
xor edx, edx
div dword [r14 + 0x30]
lea r8d, [rax + 1]
cmp edi, r8d
je 0x1400fee5b
cmp edi, 2
jae 0x1400fee2f
mov eax, r15d
jmp 0x1400fee53
mov eax, 0xcccccccd
mul dword [r14 + 0x34]
mov eax, r12d
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
imul eax, ecx
add eax, 2
cmp eax, r8d
jne 0x1400fee53
inc eax
cmp eax, edi
jne 0x1400ff038
cmp edi, 2
jae 0x1400fee65
mov eax, r15d
jmp 0x1400fee89
mov eax, 0xcccccccd
mul dword [r14 + 0x34]
mov eax, r12d
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
imul eax, ecx
add eax, 2
cmp eax, r8d
jne 0x1400fee89
inc eax
cmp eax, edi
jne 0x1400ff02e
mov rbx, qword [r14]
test edi, edi
je 0x1400ff05f
mov esi, dword [rbx + 0x2c]
test esi, esi
jne 0x1400fefa9
mov rcx, qword [rbx + 0xf0]
lea r9, [rsp + 0x88]
lea r8d, [rsi + 1]
mov edx, edi
call fcn.1400f0a00
mov rbp, qword [rsp + 0x88]
mov esi, eax
test eax, eax
jne 0x1400fefa9
cmp qword [rbp + 0x20], r15
je 0x1400feee4
inc dword [rbx + 0xd0]
jmp 0x1400fefd1
mov qword [rbp + 0x20], rbx
cmp edi, 0x7fffffff
ja 0x1400fef53
mov eax, dword [0x1402a4844]
movsxd rcx, dword [rbx + 0xa0]
cdq
idiv ecx
inc eax
cmp edi, eax
je 0x1400fef53
cmp byte [rbx + 0x12], r15b
jne 0x1400fef34
cmp dword [rbx + 0x1c], edi
jb 0x1400fef34
mov rax, qword [rbx + 0x48]
cmp qword [rax], r15
je 0x1400fef34
inc dword [rbx + 0xd4]
mov rcx, rbp
call fcn.1400f4510
mov esi, eax
test eax, eax
je 0x1400fefd1
jmp 0x1400fef76
cmp edi, dword [rbx + 0xa4]
jbe 0x1400fef43
mov esi, 0xd
jmp 0x1400fef76
mov r8, rcx
mov rcx, qword [rbp + 8]
xor edx, edx
call fcn.1401bcc1c
jmp 0x1400fefd1
lea r9, [0x1402286f4]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0xad17
mov ecx, 0xb
call fcn.1400eaff0
mov esi, 0xb
test byte [rbp + 0x2c], 2
je 0x1400fef84
mov rcx, rbp
call fcn.1400f0990
mov rcx, qword [rbp + 0x30]
dec dword [rcx + 0x18]
cmp dword [rbp + 0x28], 1
jne 0x1400fef95
mov qword [rcx + 0x48], r15
mov rdx, qword [rbp]
mov rcx, qword [rcx + 0x40]
mov r8d, 1
call qword [0x1402a4978]
mov rax, qword [rbx + 0xf0]
cmp dword [rax + 0x18], r15d
jne 0x1400fefbe
mov rcx, rbx
call fcn.1400f39a0
mov rbp, r15
mov qword [rsp + 0x88], r15
test esi, esi
jne 0x1400ff082
mov rax, qword [rbp + 8]
mov rbx, qword [rbp + 0x10]
mov ecx, 0x64
mov qword [rbx + 0x50], rax
mov eax, r15d
cmp edi, 1
cmove eax, ecx
mov rcx, rbp
mov qword [rbx + 0x68], rbp
mov qword [rbx + 0x48], r14
mov dword [rbx + 0x70], edi
mov byte [rbx + 5], al
call fcn.1400f68b0
mov rcx, qword [rbx + 0x68]
mov esi, eax
test rcx, rcx
je 0x1400ff02a
mov rbx, qword [rcx + 0x20]
call fcn.1400f0bd0
mov r11, qword [rbx + 0xf0]
cmp dword [r11 + 0x18], r15d
jne 0x1400ff02a
mov rcx, rbx
call fcn.1400f39a0
test esi, esi
jne 0x1400ff082
dec edi
dec r12d
jmp 0x1400fee10
mov rax, qword [r14]
mov dword [rax + 0x1c], edi
mov dword [r14 + 0x3c], edi
xor eax, eax
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
ret
lea r9, [0x1402286f4]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0xacf1
mov ecx, 0xb
call fcn.1400eaff0
mov esi, 0xb
mov eax, esi
jmp 0x1400ff044