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

Disassembly:
push rbx
push rsi
push rdi
push r13
push r15
sub rsp, 0xc0
mov rax, qword [0x14023c8a0]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movzx edi, byte [rcx + 0x41]
mov r13d, 3
inc edi
xor esi, esi
sub r13d, edi
mov dword [rsp + 0x3c], esi
xor r15d, r15d
mov dword [rsp + 0x30], edi
mov r8d, r13d
mov dword [rsp + 0x40], r15d
mov edx, edi
mov dword [rsp + 0x58], r13d
mov rbx, rcx
call fcn.1401b3580
test eax, eax
jne 0x1401b316f
xorps xmm0, xmm0
mov qword [rsp + 0xf8], rbp
movups xmmword [rbx + 0x48], xmm0
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x108], r14
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [case.0x1400faf48.0]
lea ebp, [rsi + 1]
mov r14d, eax
test eax, eax
jne 0x1401b3126
cmp qword [rsp + 0x90], 0x20
mov qword [rsp + 0x100], r12
jle 0x1401b304c
mov rcx, qword [rbx + 0x10]
lea r8d, [rsi + 0x20]
xor r9d, r9d
lea rdx, [rsp + 0x98]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400faf48.0]
mov r14d, eax
test eax, eax
jne 0x1401b311e
mov ecx, dword [rsp + 0x98]
mov edi, dword [rsp + 0xa0]
bswap ecx
mov eax, ecx
and eax, 0xfffffffe
bswap edi
mov dword [rsp + 0x54], edi
cmp eax, 0x377f0682
jne 0x1401b304c
lea eax, [rdi - 1]
test edi, eax
jne 0x1401b304c
lea eax, [rdi - 0x200]
cmp eax, 0xfe00
ja 0x1401b304c
mov eax, dword [rsp + 0xa4]
lea r12, [rbx + 0x60]
and cl, bpl
mov dword [rbx + 0x38], edi
bswap eax
movzx ecx, cl
lea r8d, [rsi + 0x18]
mov dword [rbx + 0x88], eax
lea rdx, [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
xor r9d, r9d
mov byte [rbx + 0x55], cl
xor ecx, ebp
mov qword [rbx + 0x68], rax
mov qword [rsp + 0x20], r12
call fcn.1401b3940
mov eax, dword [rsp + 0xb0]
bswap eax
cmp dword [r12], eax
jne 0x1401b304c
mov eax, dword [rsp + 0xb4]
bswap eax
cmp dword [rbx + 0x64], eax
jne 0x1401b304c
mov eax, dword [rsp + 0x9c]
bswap eax
cmp eax, 0x2de218
je 0x1401b2d63
mov ecx, 0x1006d
call fcn.1400f6ba0
mov r14d, eax
jmp 0x1401b3043
movsxd rcx, edi
lea esi, [rdi + 0x18]
add rcx, 0x8018
mov dword [rsp + 0x50], esi
call fcn.1401cd6d0
mov qword [rbx + 0x90], rax
mov r15, rax
test rax, rax
jne 0x1401b2d91
lea r14d, [rax + 7]
jmp 0x1401b311a
add rax, 0x18
movsxd rcx, edi
add rcx, rax
xor r13d, r13d
mov rax, qword [rsp + 0x90]
add rax, 0xffffffffffffffe0
mov qword [rsp + 0x70], rcx
cqo
movsxd rcx, esi
idiv rcx
mov dword [rsp + 0x38], r13d
mov r8, rax
mov qword [rsp + 0x80], rax
add eax, 0x1000
mov r9d, r8d
sub rax, 0xfdf
mov qword [rsp + 0x88], r9
shr rax, 0xc
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], r13
nop dword [rax + rax]
mov eax, r13d
mov edi, r8d
shl eax, 0xc
mov esi, ebp
mov edx, eax
lea rcx, [rax + 0xfde]
add eax, 0xfde
cmp r9, rcx
cmovae edi, eax
mov dword [rsp + 0x34], edi
test r13d, r13d
je 0x1401b2e1b
lea esi, [rdx - 0x21]
call fcn.1401b3d10
cmp dword [rbx + 0x28], r13d
jle 0x1401b2e45
mov rax, qword [rbx + 0x30]
movsxd rcx, r13d
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rcx
test rcx, rcx
je 0x1401b2e45
xor r14d, r14d
jmp 0x1401b2e62
lea r8, [rsp + 0x60]
mov edx, r13d
mov rcx, rbx
call fcn.1401b3bb0
mov rcx, qword [rsp + 0x60]
mov r14d, eax
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x1401b3022
mov rax, qword [rbx + 0x30]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x70]
mov dword [rbx + 0xa0], r13d
mov qword [rbx + 0x98], rcx
mov qword [rdx + rax], r8
cmp esi, edi
ja 0x1401b2faf
movsxd r13, dword [rsp + 0x50]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
lea r9d, [rsi - 1]
imul r9, r13
mov rdx, qword [rcx]
mov r8d, r13d
add r9, 0x20
mov rax, qword [rdx + 0x10]
mov rdx, r15
call qword [case.0x1400faf48.0]
mov r14d, eax
test eax, eax
jne 0x1401b2f9b
mov rax, qword [rbx + 0x68]
cmp rax, qword [r15 + 8]
jne 0x1401b2f9b
mov ebp, dword [r15]
bswap ebp
test ebp, ebp
je 0x1401b2f9b
xor edi, edi
mov qword [rsp + 0x20], r12
cmp byte [rbx + 0x55], dil
lea r8d, [r14 + 8]
mov r9, r12
mov rdx, r15
sete dil
mov ecx, edi
call fcn.1401b3940
mov r8d, dword [rbx + 0x38]
lea rdx, [r15 + 0x18]
mov r9, r12
mov qword [rsp + 0x20], r12
mov ecx, edi
call fcn.1401b3940
mov eax, dword [r15 + 0x10]
bswap eax
cmp dword [r12], eax
jne 0x1401b2f97
mov eax, dword [r15 + 0x14]
bswap eax
cmp dword [r12 + 4], eax
jne 0x1401b2f97
mov edi, dword [r15 + 4]
mov r8d, ebp
mov edx, esi
mov rcx, rbx
bswap edi
call fcn.1401b31a0
mov r14d, eax
test eax, eax
jne 0x1401b2f97
test edi, edi
je 0x1401b2f87
mov dword [rbx + 0x5c], edi
mov edx, 0xff00
mov edi, dword [rsp + 0x54]
mov ecx, edi
movzx eax, di
mov dword [rbx + 0x58], esi
and ax, dx
sar ecx, 0x10
or cx, ax
mov word [rbx + 0x56], cx
mov eax, dword [r12]
mov dword [rsp + 0x3c], eax
mov eax, dword [rbx + 0x64]
mov dword [rsp + 0x40], eax
mov edi, dword [rsp + 0x34]
inc esi
cmp esi, edi
jbe 0x1401b2ea0
jmp 0x1401b2f9b
mov edi, dword [rsp + 0x34]
mov r13d, dword [rsp + 0x38]
mov ebp, 1
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rbx + 0x30]
mov r8d, 0x8000
mov qword [rdx + rax], rcx
xor eax, eax
test r13d, r13d
mov dword [rbx + 0xa0], eax
mov edx, 0x88
mov qword [rbx + 0x98], rax
cmove eax, edx
mov edx, 0x7f78
cmove r8d, edx
mov rdx, qword [rsp + 0x70]
add rdx, rax
add rcx, rax
call fcn.1400b4460
call fcn.1401b3d10
cmp esi, edi
jbe 0x1401b3022
add qword [rsp + 0x48], 8
inc r13d
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
mov dword [rsp + 0x38], r13d
cmp r13d, dword [rsp + 0x78]
jbe 0x1401b2df0
mov rcx, r15
mov qword [rbx + 0x90], 0
call fcn.1401cd540
mov esi, dword [rsp + 0x3c]
mov r15d, dword [rsp + 0x40]
mov r13d, dword [rsp + 0x58]
test r14d, r14d
jne 0x1401b311a
mov rcx, rbx
mov dword [rbx + 0x60], esi
mov dword [rbx + 0x64], r15d
call fcn.1401b3860
call fcn.1401b3d10
mov rax, qword [rbx + 0x30]
xor ecx, ecx
mov edi, ebp
mov r15, qword [rax]
mov dword [r15 + 0x60], ecx
mov eax, dword [rbx + 0x58]
mov dword [r15 + 0x80], eax
mov dword [r15 + 0x64], ecx
nop dword [rax]
mov r8d, ebp
lea edx, [rdi + 3]
mov rcx, rbx
call fcn.1401b3580
mov r14d, eax
test eax, eax
jne 0x1401b30ec
cmp edi, 1
jne 0x1401b30a7
mov eax, dword [rbx + 0x58]
test eax, eax
je 0x1401b30a7
mov dword [r15 + 0x68], eax
jmp 0x1401b30b3
movsxd rax, edi
mov dword [r15 + rax*4 + 0x64], 0xffffffff
call fcn.1401b3d10
cmp byte [rbx + 0x3f], 0
jne 0x1401b30f1
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 9
mov r8d, ebp
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
call qword [case.0x1400faf48.0]
lea ecx, [rdi + 0xb]
mov eax, ebp
shl eax, cl
not eax
and dword [rbx + 0x8c], eax
jmp 0x1401b30f1
cmp eax, 5
jne 0x1401b311a
inc edi
cmp edi, 5
jl 0x1401b3080
cmp dword [rbx + 0x5c], 0
je 0x1401b311a
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.1401ca090
mov edi, dword [rsp + 0x30]
mov r12, qword [rsp + 0x100]
cmp byte [rbx + 0x3f], 0
jne 0x1401b315c
mov rcx, qword [rbx + 8]
mov r9d, 9
mov r8d, r13d
mov edx, edi
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
call qword [case.0x1400faf48.0]
mov ecx, r13d
shl ebp, cl
lea ecx, [rdi + 8]
dec ebp
shl ebp, cl
not ebp
and dword [rbx + 0x8c], ebp
mov rbp, qword [rsp + 0xf8]
mov eax, r14d
mov r14, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400b1c90
add rsp, 0xc0
pop r15
pop r13
pop rdi
pop rsi
pop rbx
ret