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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0xd0
mov rax, qword [0x1401c4de0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movzx edi, byte [rcx + 0x41]
xor esi, esi
inc edi
mov dword [rsp + 0x3c], esi
xor ebp, ebp
mov dword [rsp + 0x34], edi
mov rbx, rcx
mov dword [rsp + 0x40], ebp
lea r13d, [rsi + 3]
cmp byte [rcx + 0x3f], sil
jne 0x140108538
mov rcx, qword [rcx + 8]
lea r9d, [rsi + 0xa]
mov r8d, r13d
mov edx, edi
sub r8d, edi
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
call qword [case.0x1400c8de2.0]
test eax, eax
jne 0x140108a76
xorps xmm0, xmm0
mov qword [rsp + 0x110], r14
movups xmmword [rbx + 0x48], xmm0
lea rdx, [rsp + 0x98]
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.0x1400c8de2.0]
mov r14d, eax
test eax, eax
jne 0x140108a46
cmp qword [rsp + 0x98], 0x20
mov qword [rsp + 0x108], r12
mov qword [rsp + 0x118], r15
jle 0x14010895a
mov rcx, qword [rbx + 0x10]
lea r8d, [r14 + 0x20]
xor r9d, r9d
lea rdx, [rsp + 0xa0]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400c8de2.0]
mov r14d, eax
test eax, eax
jne 0x140108a36
mov ecx, dword [rsp + 0xa0]
mov edi, dword [rsp + 0xa8]
bswap ecx
mov eax, ecx
and eax, 0xfffffffe
bswap edi
mov dword [rsp + 0x48], edi
cmp eax, 0x377f0682
jne 0x14010895a
lea eax, [rdi - 1]
test edi, eax
jne 0x14010895a
lea eax, [rdi - 0x200]
cmp eax, 0xfe00
ja 0x14010895a
mov eax, dword [rsp + 0xac]
lea r12, [rbx + 0x60]
and cl, 1
mov dword [rbx + 0x38], edi
bswap eax
movzx ecx, cl
lea r8d, [r14 + 0x18]
mov dword [rbx + 0x88], eax
lea rdx, [rsp + 0xa0]
mov rax, qword [rsp + 0xb0]
xor r9d, r9d
mov byte [rbx + 0x55], cl
xor ecx, 1
mov qword [rbx + 0x68], rax
mov qword [rsp + 0x20], r12
call fcn.140107ca0
mov eax, dword [rsp + 0xb8]
bswap eax
cmp dword [r12], eax
jne 0x14010895a
mov eax, dword [rsp + 0xbc]
bswap eax
cmp dword [rbx + 0x64], eax
jne 0x14010895a
mov eax, dword [rsp + 0xa4]
bswap eax
cmp eax, 0x2de218
je 0x14010868d
mov ecx, 0xf092
call fcn.1400adda0
mov r14d, eax
jmp 0x140108951
lea eax, [rdi + 0x18]
movsxd rsi, edi
add rsi, 0x18
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x78], rsi
lea rcx, [rsi + 0x8000]
call fcn.14006aa60
mov r15, rax
test rax, rax
jne 0x1401086bd
lea r14d, [rax + 7]
jmp 0x140108a32
add rax, 0x18
movsxd rcx, edi
add rcx, rax
mov qword [rsp + 0x50], rbp
mov rax, qword [rsp + 0x98]
xor r13d, r13d
add rax, 0xffffffffffffffe0
mov qword [rsp + 0x68], rcx
cqo
mov dword [rsp + 0x38], r13d
idiv rsi
mov rdx, rax
mov qword [rsp + 0x88], rax
add eax, 0x1000
mov r8d, edx
sub rax, 0xfdf
mov qword [rsp + 0x90], r8
shr rax, 0xc
mov qword [rsp + 0x80], rax
nop word [rax + rax]
mov eax, r13d
mov edi, edx
shl eax, 0xc
mov ecx, eax
add rax, 0xfde
cmp r8, rax
jb 0x14010873b
lea edi, [rcx + 0xfde]
mov dword [rsp + 0x30], edi
mov ebp, 1
test r13d, r13d
je 0x14010874c
lea ebp, [rcx - 0x21]
lea rsi, [rbx + 0x30]
cmp dword [rbx + 0x28], r13d
jle 0x140108779
mov rax, qword [rsi]
movsxd rcx, r13d
mov qword [rsp + 0x60], rsi
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x58], rcx
test rcx, rcx
je 0x140108779
xor r14d, r14d
jmp 0x1401087a3
lea r8, [rsp + 0x58]
mov edx, r13d
mov rcx, rbx
call fcn.140108150
mov qword [rsp + 0x60], rsi
mov r14d, eax
test eax, eax
jne 0x14010893b
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
mov qword [rcx + rax], rdx
cmp ebp, edi
ja 0x1401088cd
mov r13, qword [rsp + 0x78]
mov rcx, qword [rbx + 0x10]
lea r9d, [rbp - 1]
mov r8d, dword [rsp + 0x44]
imul r9, r13
mov rdx, qword [rcx]
add r9, 0x20
mov rax, qword [rdx + 0x10]
mov rdx, r15
call qword [case.0x1400c8de2.0]
mov r14d, eax
test eax, eax
jne 0x1401088be
mov rax, qword [rbx + 0x68]
cmp rax, qword [r15 + 8]
jne 0x1401088be
mov esi, dword [r15]
bswap esi
test esi, esi
je 0x1401088be
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.140107ca0
mov r8d, dword [rbx + 0x38]
lea rdx, [r15 + 0x18]
mov r9, r12
mov qword [rsp + 0x20], r12
mov ecx, edi
call fcn.140107ca0
mov eax, dword [r15 + 0x10]
bswap eax
cmp dword [r12], eax
jne 0x1401088ba
mov eax, dword [r15 + 0x14]
bswap eax
cmp dword [r12 + 4], eax
jne 0x1401088ba
mov edi, dword [r15 + 4]
mov r8d, esi
mov edx, ebp
mov rcx, rbx
bswap edi
call fcn.140107e70
mov r14d, eax
test eax, eax
jne 0x1401088ba
test edi, edi
je 0x1401088aa
mov dword [rbx + 0x5c], edi
mov edx, 0xff00
mov edi, dword [rsp + 0x48]
mov ecx, edi
movzx eax, di
mov dword [rbx + 0x58], ebp
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 + 0x30]
inc ebp
cmp ebp, edi
jbe 0x1401087c1
jmp 0x1401088be
mov edi, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsi]
mov r8d, 0x88
mov rcx, qword [rsp + 0x70]
mov r9d, 0x7f78
mov rsi, qword [rsp + 0x50]
mov qword [rsi + rax], rcx
xor eax, eax
test r13d, r13d
cmove eax, r8d
mov r8d, 0x8000
cmove r8d, r9d
add rdx, rax
add rcx, rax
call fcn.1401441e0
cmp ebp, edi
jbe 0x14010893b
mov rdx, qword [rsp + 0x88]
inc r13d
mov r8, qword [rsp + 0x90]
add rsi, 8
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x50], rsi
cmp r13d, dword [rsp + 0x80]
jbe 0x140108720
mov rcx, r15
call fcn.14006abe0
mov esi, dword [rsp + 0x3c]
mov r13d, 3
mov ebp, dword [rsp + 0x40]
test r14d, r14d
jne 0x140108a32
mov rcx, rbx
mov dword [rbx + 0x60], esi
mov dword [rbx + 0x64], ebp
call fcn.140108c50
mov rax, qword [rbx + 0x30]
mov edi, 1
mov rsi, qword [rax]
mov dword [rsi + 0x60], 0
mov eax, dword [rbx + 0x58]
mov dword [rsi + 0x80], eax
mov dword [rsi + 0x64], 0
nop dword [rax + rax]
cmp byte [rbx + 0x3f], 0
je 0x14010899b
xor r14d, r14d
jmp 0x1401089c0
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 0xa
mov rax, qword [rcx]
lea r8d, [r9 - 9]
mov rax, qword [rax + 0x70]
call qword [case.0x1400c8de2.0]
mov r14d, eax
test eax, eax
jne 0x140108a04
cmp edi, 1
jne 0x1401089d3
cmp dword [rbx + 0x58], 0
je 0x1401089d3
mov eax, dword [rbx + 0x58]
mov dword [rsi + 0x68], eax
jmp 0x1401089de
movsxd rax, edi
mov dword [rsi + rax*4 + 0x64], 0xffffffff
cmp byte [rbx + 0x3f], 0
jne 0x140108a09
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 9
mov rax, qword [rcx]
lea r8d, [r9 - 8]
mov rax, qword [rax + 0x70]
call qword [case.0x1400c8de2.0]
jmp 0x140108a09
cmp eax, 5
jne 0x140108a32
inc edi
cmp edi, 5
jl 0x140108990
cmp dword [rbx + 0x5c], 0
je 0x140108a32
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.14005be30
mov edi, dword [rsp + 0x34]
mov r12, qword [rsp + 0x108]
mov r15, qword [rsp + 0x118]
cmp byte [rbx + 0x3f], 0
jne 0x140108a6b
mov rcx, qword [rbx + 8]
sub r13d, edi
mov r9d, 9
mov r8d, r13d
mov edx, edi
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
call qword [case.0x1400c8de2.0]
mov eax, r14d
mov r14, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140142180
add rsp, 0xd0
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret