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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xc0
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movzx ebp, byte [rcx + 0x41]
xor r13d, r13d
inc ebp
mov qword [rsp + 0x40], r13
mov rbx, rcx
mov dword [rsp + 0x34], ebp
lea r12d, [r13 + 3]
cmp byte [rcx + 0x3f], r13b
jne 0x14001a589
mov r14, qword [rcx + 8]
mov edi, r12d
sub edi, ebp
mov rax, qword [r14]
mov rsi, qword [rax + 0x70]
mov rcx, rsi
call qword [fcn.1400059b0]
lea r9d, [r13 + 0xa]
mov r8d, edi
mov edx, ebp
mov rcx, r14
call rsi
test eax, eax
jne 0x14001aad9
xor eax, eax
mov qword [rsp + 0xf8], r15
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x60], rax
mov qword [rbx + 0x68], rax
mov qword [rbx + 0x70], rax
mov rsi, qword [rbx + 0x10]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x30]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call rdi
mov r15d, eax
test eax, eax
jne 0x14001aaa1
cmp qword [rsp + 0x60], 0x20
jle 0x14001a9a3
mov rsi, qword [rbx + 0x10]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
xor r9d, r9d
lea r8d, [r15 + 0x20]
lea rdx, [rsp + 0x90]
mov rcx, rsi
call rdi
mov r15d, eax
test eax, eax
jne 0x14001aaa1
mov ecx, dword [rsp + 0x90]
mov ebp, dword [rsp + 0x98]
bswap ecx
mov eax, ecx
and eax, 0xfffffffe
bswap ebp
mov dword [rsp + 0x50], ebp
cmp eax, 0x377f0682
jne 0x14001a9a3
lea eax, [rbp - 1]
test ebp, eax
jne 0x14001a9a3
lea eax, [rbp - 0x200]
cmp eax, 0xfe00
ja 0x14001a9a3
mov eax, dword [rsp + 0x9c]
lea r12, [rbx + 0x60]
and cl, 1
mov dword [rbx + 0x38], ebp
mov byte [rbx + 0x55], cl
lea r8d, [r15 + 0x18]
bswap eax
mov ecx, r13d
mov dword [rbx + 0x88], eax
mov rax, qword [rsp + 0xa0]
lea rdx, [rsp + 0x90]
sete cl
mov qword [rbx + 0x68], rax
xor r9d, r9d
mov qword [rsp + 0x20], r12
call fcn.140019e90
mov eax, dword [rsp + 0xa8]
bswap eax
cmp dword [r12], eax
jne 0x14001a9a3
mov eax, dword [rsp + 0xac]
bswap eax
cmp dword [rbx + 0x64], eax
jne 0x14001a9a3
mov eax, dword [rsp + 0x94]
bswap eax
cmp eax, 0x2de218
je 0x14001a6e3
mov ecx, 0xfd2c
call fcn.1400b6210
mov r15d, eax
jmp 0x14001a99a
lea eax, [rbp + 0x18]
movsxd rdi, eax
mov dword [rsp + 0x38], eax
lea rcx, [rdi + 0x8000]
call fcn.140006480
mov r14, rax
test rax, rax
jne 0x14001a70a
lea r15d, [rax + 7]
jmp 0x14001aa97
add rax, 0x18
movsxd r8, ebp
add r8, rax
mov dword [rsp + 0x3c], r13d
mov rax, qword [rsp + 0x60]
add rax, 0xffffffffffffffe0
mov qword [rsp + 0x58], r8
cqo
idiv rdi
mov r9, rax
mov qword [rsp + 0x80], rax
add eax, 0x1000
mov r10d, r9d
sub rax, 0xfdf
mov qword [rsp + 0x88], r10
shr rax, 0xc
xor edx, edx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], rdx
nop dword [rax]
mov eax, r13d
mov edi, r9d
shl eax, 0xc
mov ecx, eax
add rax, 0xfde
cmp r10, rax
jb 0x14001a77c
lea edi, [rcx + 0xfde]
mov dword [rsp + 0x30], edi
test r13d, r13d
jne 0x14001a789
xor eax, eax
jmp 0x14001a795
lea eax, [rcx - 0x1000]
add rax, 0xfde
lea esi, [rax + 1]
cmp dword [rbx + 0x28], r13d
jle 0x14001a7bd
mov rax, qword [rbx + 0x30]
movsxd rcx, r13d
mov rbp, qword [rax + rcx*8]
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x68], rbp
test rbp, rbp
je 0x14001a7bd
xor r15d, r15d
jmp 0x14001a7e4
lea r8, [rsp + 0x68]
mov edx, r13d
mov rcx, rbx
call fcn.140019d20
mov rbp, qword [rsp + 0x68]
mov r15d, eax
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov qword [rsp + 0x70], rbp
test rbp, rbp
je 0x14001a98d
mov rax, qword [rbx + 0x30]
mov qword [rdx + rax], r8
cmp esi, edi
ja 0x14001a916
movsxd rcx, dword [rsp + 0x38]
mov r13, rcx
nop word [rax + rax]
mov r8d, ecx
lea r9d, [rsi - 1]
mov rcx, qword [rbx + 0x10]
mov rdx, r14
imul r9, r13
add r9, 0x20
call fcn.140004fd0
mov r15d, eax
test eax, eax
jne 0x14001a907
mov rax, qword [rbx + 0x68]
cmp rax, qword [r14 + 8]
jne 0x14001a907
mov ebp, dword [r14]
bswap ebp
test ebp, ebp
je 0x14001a907
xor edi, edi
mov qword [rsp + 0x20], r12
cmp byte [rbx + 0x55], dil
lea r8d, [r15 + 8]
mov r9, r12
mov rdx, r14
sete dil
mov ecx, edi
call fcn.140019e90
mov r8d, dword [rbx + 0x38]
lea rdx, [r14 + 0x18]
mov r9, r12
mov qword [rsp + 0x20], r12
mov ecx, edi
call fcn.140019e90
mov eax, dword [r14 + 0x10]
bswap eax
cmp dword [r12], eax
jne 0x14001a903
mov eax, dword [r14 + 0x14]
bswap eax
cmp dword [r12 + 4], eax
jne 0x14001a903
mov edi, dword [r14 + 4]
mov r8d, ebp
mov edx, esi
mov rcx, rbx
bswap edi
call fcn.14001a3e0
mov r15d, eax
test eax, eax
jne 0x14001a903
test edi, edi
je 0x14001a8ef
mov ebp, dword [rsp + 0x50]
mov edx, 0xff00
movzx eax, bp
mov dword [rbx + 0x58], esi
and ax, dx
mov dword [rbx + 0x5c], edi
mov ecx, ebp
sar ecx, 0x10
or cx, ax
mov word [rbx + 0x56], cx
mov eax, dword [r12]
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0x64]
mov dword [rsp + 0x44], eax
mov edi, dword [rsp + 0x30]
inc esi
mov ecx, dword [rsp + 0x38]
cmp esi, edi
jbe 0x14001a810
jmp 0x14001a907
mov edi, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x3c]
mov rbp, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rbx + 0x30]
mov ecx, 0x88
mov r8d, 0x8000
mov qword [rdx + rax], rbp
xor eax, eax
test r13d, r13d
cmove eax, ecx
mov ecx, eax
sub r8, rcx
shr rax, 2
mov rcx, qword [rsp + 0x58]
lea rdx, [rcx + rax*4]
lea rcx, [rax*4]
add rcx, rbp
call fcn.1401a6950
cmp esi, edi
jbe 0x14001a98d
mov rdx, qword [rsp + 0x48]
inc r13d
mov r8, qword [rsp + 0x58]
add rdx, 8
mov r9, qword [rsp + 0x80]
mov r10, qword [rsp + 0x88]
mov dword [rsp + 0x3c], r13d
mov qword [rsp + 0x48], rdx
cmp r13d, dword [rsp + 0x78]
jbe 0x14001a760
mov rcx, r14
call fcn.140006590
mov r13d, dword [rsp + 0x40]
test r15d, r15d
jne 0x14001aa97
mov eax, dword [rsp + 0x44]
mov rcx, rbx
mov dword [rbx + 0x64], eax
mov dword [rbx + 0x60], r13d
call fcn.14001a060
mov rax, qword [rbx + 0x30]
mov ebp, 1
mov r12, qword [rax]
mov dword [r12 + 0x60], 0
mov eax, dword [rbx + 0x58]
mov dword [r12 + 0x80], eax
mov dword [r12 + 0x64], 0
nop
cmp byte [rbx + 0x3f], 0
je 0x14001a9eb
xor r15d, r15d
jmp 0x14001aa18
mov r14, qword [rbx + 8]
mov rax, qword [r14]
mov rsi, qword [rax + 0x70]
mov rcx, rsi
call qword [fcn.1400059b0]
mov r9d, 0xa
lea edx, [rbp + 3]
mov rcx, r14
lea r8d, [r9 - 9]
call rsi
mov r15d, eax
test eax, eax
jne 0x14001aa65
cmp ebp, 1
jne 0x14001aa2b
mov eax, dword [rbx + 0x58]
test eax, eax
je 0x14001aa2b
mov dword [r12 + 0x68], eax
jmp 0x14001aa37
movsxd rax, ebp
mov dword [r12 + rax*4 + 0x64], 0xffffffff
cmp byte [rbx + 0x3f], 0
jne 0x14001aa6a
mov r14, qword [rbx + 8]
mov rax, qword [r14]
mov rsi, qword [rax + 0x70]
mov rcx, rsi
call qword [fcn.1400059b0]
mov r9d, 9
lea edx, [rbp + 3]
mov rcx, r14
lea r8d, [r9 - 8]
call rsi
jmp 0x14001aa6a
cmp eax, 5
jne 0x14001aa97
inc ebp
cmp ebp, 5
jl 0x14001a9e0
cmp dword [rbx + 0x5c], 0
je 0x14001aa97
mov r9, qword [rbx + 0x80]
lea rdx, str.recovered__d_frames_from_WAL_file__s
mov r8d, dword [rbx + 0x58]
mov ecx, 0x11b
call fcn.140009770
mov ebp, dword [rsp + 0x34]
mov r12d, 3
cmp byte [rbx + 0x3f], 0
jne 0x14001aace
mov rdi, qword [rbx + 8]
sub r12d, ebp
mov rax, qword [rdi]
mov rbx, qword [rax + 0x70]
mov rcx, rbx
call qword [fcn.1400059b0]
mov r9d, 9
mov r8d, r12d
mov edx, ebp
mov rcx, rdi
call rbx
mov eax, r15d
mov r15, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140164ec0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret