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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0xf0
mov rax, qword [0x14014c0a8]
xor rax, rsp
mov qword [rsp + 0xe0], rax
movzx edi, byte [rcx + 0x41]
xor r12d, r12d
inc edi
mov dword [rsp + 0x3c], r12d
mov eax, 3
mov dword [rsp + 0x40], r12d
sub eax, edi
mov dword [rsp + 0x30], edi
mov r8d, eax
mov dword [rsp + 0x78], eax
mov edx, edi
mov rbx, rcx
mov esi, r12d
mov r14d, r12d
call fcn.140026880
test eax, eax
jne 0x1400272a1
xorps xmm0, xmm0
mov qword [rsp + 0x130], r13
movups xmmword [rbx + 0x48], xmm0
lea rdx, [rsp + 0xb8]
mov qword [rsp + 0x138], r15
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x30]
lea r13d, [r12 + 1]
mov r15d, eax
test eax, eax
jne 0x140027257
cmp qword [rsp + 0xb8], 0x20
mov qword [rsp + 0x128], rbp
jle 0x14002715e
mov rcx, qword [rbx + 0x10]
lea r8d, [r12 + 0x20]
xor r9d, r9d
lea rdx, [rsp + 0xc0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r15d, eax
test eax, eax
jne 0x14002724f
mov ecx, dword [rsp + 0xc0]
mov ebp, dword [rsp + 0xc8]
bswap ecx
mov eax, ecx
and eax, 0xfffffffe
bswap ebp
mov dword [rsp + 0x74], ebp
cmp eax, 0x377f0682
jne 0x14002715e
lea eax, [rbp - 1]
test ebp, eax
jne 0x14002715e
lea eax, [rbp - 0x200]
cmp eax, 0xfe00
ja 0x14002715e
mov eax, dword [rsp + 0xcc]
lea rdi, [rbx + 0x60]
and cl, r13b
mov dword [rbx + 0x38], ebp
bswap eax
movzx ecx, cl
lea r8d, [r12 + 0x18]
mov dword [rbx + 0x88], eax
lea rdx, [rsp + 0xc0]
mov rax, qword [rsp + 0xd0]
xor r9d, r9d
mov byte [rbx + 0x55], cl
xor ecx, r13d
mov qword [rbx + 0x68], rax
mov qword [rsp + 0x20], rdi
call fcn.140026630
mov eax, dword [rsp + 0xd8]
bswap eax
cmp dword [rdi], eax
jne 0x14002715e
mov eax, dword [rsp + 0xdc]
bswap eax
cmp dword [rbx + 0x64], eax
jne 0x14002715e
mov eax, dword [rsp + 0xc4]
bswap eax
cmp eax, 0x2de218
je 0x140026d7b
lea rax, [0x1401317b4]
mov r15d, 0xe
mov ecx, r15d
mov qword [rsp + 0x20], rax
mov r9d, 0x1006d
lea r8, str.cannot_open_file
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400126c0
jmp 0x14002724b
lea eax, [rbp + 0x18]
movsxd r14, eax
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x70], eax
call fcn.1400d6860
test eax, eax
je 0x140026da5
mov qword [rbx + 0x90], r12
mov r15d, 7
jmp 0x14002724b
lea rcx, [r14 + 0x8000]
call fcn.14000f510
lea rdi, [rbx + 0x90]
mov rsi, rax
mov qword [rsp + 0x50], rdi
mov qword [rdi], rax
test rax, rax
jne 0x140026dd1
lea r15d, [rax + 7]
jmp 0x14002724b
add rax, 0x18
movsxd rcx, ebp
add rcx, rax
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb8]
add rax, 0xffffffffffffffe0
mov qword [rsp + 0x90], rcx
cqo
mov dword [rsp + 0x38], r12d
idiv r14
mov qword [rsp + 0x60], r12
mov rdx, rax
mov qword [rsp + 0xa8], rax
add eax, 0x1000
mov r8d, edx
sub rax, 0xfdf
mov qword [rsp + 0xb0], r8
shr rax, 0xc
mov qword [rsp + 0xa0], rax
nop dword [rax]
nop word [rax + rax]
mov eax, r12d
shl eax, 0xc
mov ecx, eax
add rax, 0xfde
cmp r8, rax
jae 0x140026e59
mov dword [rsp + 0x34], edx
jmp 0x140026e63
lea eax, [rcx + 0xfde]
mov dword [rsp + 0x34], eax
mov ebp, r13d
test r12d, r12d
je 0x140026e6e
lea ebp, [rcx - 0x21]
call fcn.140026440
cmp dword [rbx + 0x28], r12d
jle 0x140026ea7
mov rax, qword [rbx + 0x30]
lea rdx, [rbx + 0x30]
movsxd rcx, r12d
mov qword [rsp + 0x58], rdx
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rcx
test rcx, rcx
je 0x140026eb0
xor r15d, r15d
jmp 0x140026ee0
lea rax, [rbx + 0x30]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x80]
mov edx, r12d
mov rcx, rbx
call fcn.1400264b0
mov rdx, qword [rsp + 0x58]
mov r15d, eax
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x88], rcx
test rcx, rcx
je 0x1400270eb
mov rax, qword [rdx]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov dword [rbx + 0xa0], r12d
mov qword [rbx + 0x98], rcx
mov qword [r8 + rax], r9
cmp ebp, dword [rsp + 0x34]
ja 0x14002706c
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
lea r9d, [rbp - 1]
mov r8d, dword [rsp + 0x70]
mov rdx, rsi
imul r9, r14
mov r10, qword [rcx]
mov r12, rdi
add r9, 0x20
mov r13, r14
call qword [r10 + 0x10]
mov r15d, eax
test eax, eax
jne 0x140027054
mov rax, qword [rbx + 0x68]
cmp rax, qword [rsi + 8]
jne 0x140027054
mov r14d, dword [rsi]
bswap r14d
test r14d, r14d
je 0x14002704a
xor edi, edi
lea rax, [rbx + 0x60]
cmp byte [rbx + 0x55], dil
lea r8d, [r15 + 8]
mov r9, rax
mov qword [rsp + 0x20], rax
sete dil
mov rdx, rsi
mov ecx, edi
call fcn.140026630
mov r8d, dword [rbx + 0x38]
lea rax, [rbx + 0x60]
mov rdx, qword [rsp + 0x98]
mov r9, rax
mov ecx, edi
mov qword [rsp + 0x20], rax
call fcn.140026630
mov eax, dword [rsi + 0x10]
bswap eax
cmp dword [rbx + 0x60], eax
jne 0x14002703e
mov eax, dword [rsi + 0x14]
bswap eax
cmp dword [rbx + 0x64], eax
jne 0x14002703e
mov edi, dword [rsi + 4]
mov r8d, r14d
mov edx, ebp
mov rcx, rbx
bswap edi
call fcn.140026a00
mov qword [rsp + 0x48], r13
mov r15d, eax
mov qword [rsp + 0x50], r12
mov rdx, rsi
mov r14, r13
test eax, eax
jne 0x140027051
test edi, edi
je 0x140027023
mov eax, dword [rsp + 0x74]
mov r8d, 0xff00
mov ecx, eax
mov dword [rbx + 0x58], ebp
and ax, r8w
mov dword [rbx + 0x5c], edi
sar ecx, 0x10
or cx, ax
mov word [rbx + 0x56], cx
mov eax, dword [rbx + 0x60]
mov dword [rsp + 0x3c], eax
mov eax, dword [rbx + 0x64]
mov dword [rsp + 0x40], eax
inc ebp
mov qword [rsp + 0x48], r13
mov rdi, r12
mov qword [rsp + 0x50], r12
cmp ebp, dword [rsp + 0x34]
jbe 0x140026f20
jmp 0x140027054
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
jmp 0x140027054
mov r14, qword [rsp + 0x48]
jmp 0x140027054
mov rdi, r12
mov r12d, dword [rsp + 0x38]
mov r13d, 1
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rdx]
mov r8d, 0x8000
mov rdx, qword [rsp + 0x60]
mov qword [rdx + rax], rcx
xor eax, eax
test r12d, r12d
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 + 0x90]
add rdx, rax
add rcx, rax
call fcn.1400f7820
call fcn.140026440
cmp ebp, dword [rsp + 0x34]
jbe 0x1400270eb
add qword [rsp + 0x60], 8
inc r12d
mov rdx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb0]
mov dword [rsp + 0x38], r12d
cmp r12d, dword [rsp + 0xa0]
jbe 0x140026e40
xor r12d, r12d
mov qword [rdi], r12
cmp dword [0x14014ce70], r12d
je 0x140027143
mov rcx, qword [0x1401540c8]
test rcx, rcx
je 0x14002710c
call qword [0x14014cef0]
mov rcx, rsi
call qword [0x14014cea8]
dec qword [0x140153eb8]
mov rcx, rsi
movsxd rdx, eax
sub qword [0x140153e70], rdx
call qword [0x14014ce98]
mov rcx, qword [0x1401540c8]
test rcx, rcx
je 0x14002714c
call qword [0x14014cf00]
jmp 0x14002714c
mov rcx, rsi
call qword [0x14014ce98]
test r15d, r15d
jne 0x14002724b
mov esi, dword [rsp + 0x3c]
mov r14d, dword [rsp + 0x40]
mov rcx, rbx
mov dword [rbx + 0x60], esi
mov dword [rbx + 0x64], r14d
call fcn.1400267d0
call fcn.140026440
mov rax, qword [rbx + 0x30]
mov edi, r13d
mov r14, qword [rax]
mov dword [r14 + 0x60], r12d
mov eax, dword [rbx + 0x58]
mov dword [r14 + 0x80], eax
mov dword [r14 + 0x64], r12d
nop
cmp byte [rbx + 0x3f], 0
je 0x14002719b
mov r15d, r12d
jmp 0x1400271c6
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 0xa
mov r8d, r13d
mov rax, qword [rcx]
call qword [rax + 0x70]
mov r15d, eax
test eax, eax
jne 0x140027219
lea ecx, [rdi + 0xb]
mov eax, r13d
shl eax, cl
or dword [rbx + 0x8c], eax
cmp edi, 1
jne 0x1400271da
cmp dword [rbx + 0x58], 0
je 0x1400271da
mov eax, dword [rbx + 0x58]
mov dword [r14 + 0x68], eax
jmp 0x1400271e6
movsxd rax, edi
mov dword [r14 + rax*4 + 0x64], 0xffffffff
call fcn.140026440
cmp byte [rbx + 0x3f], 0
jne 0x14002721e
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 9
mov r8d, r13d
mov rax, qword [rcx]
call qword [rax + 0x70]
lea ecx, [rdi + 0xb]
mov eax, r13d
shl eax, cl
not eax
and dword [rbx + 0x8c], eax
jmp 0x14002721e
cmp eax, 5
jne 0x14002724b
inc edi
cmp edi, 5
jl 0x140027190
cmp dword [rbx + 0x5c], 0
je 0x14002724b
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.1400126c0
mov edi, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x128]
cmp byte [rbx + 0x3f], 0
jne 0x14002728e
mov rcx, qword [rbx + 8]
mov r9d, 9
mov r8d, dword [rsp + 0x78]
mov edx, edi
mov rax, qword [rcx]
call qword [rax + 0x70]
mov ecx, dword [rsp + 0x78]
shl r13d, cl
lea ecx, [rdi + 8]
dec r13d
shl r13d, cl
not r13d
and dword [rbx + 0x8c], r13d
mov r13, qword [rsp + 0x130]
mov eax, r15d
mov r15, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400f5310
add rsp, 0xf0
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret