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

Disassembly:
push rbx
push rdi
push r13
push r15
sub rsp, 0xc8
mov rax, qword [0x1404735c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movzx r13d, byte [rcx + 0x41]
mov r8d, 3
inc r13d
xor edi, edi
xor r15d, r15d
mov dword [rsp + 0x3c], edi
sub r8d, r13d
mov dword [rsp + 0x40], r15d
mov edx, r13d
mov dword [rsp + 0x54], r13d
mov rbx, rcx
call fcn.140326fb0
test eax, eax
jne 0x140326a48
xorps xmm0, xmm0
mov qword [rsp + 0xf8], rbp
movups xmmword [rbx + 0x48], xmm0
lea rdx, [rsp + 0x58]
mov qword [rsp + 0xc0], r14
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x30]
lea ebp, [rdi + 1]
mov r14d, eax
test eax, eax
jne 0x1403269fd
cmp qword [rsp + 0x58], 0x20
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], r12
jle 0x1403268f7
mov rcx, qword [rbx + 0x10]
lea r8d, [rdi + 0x20]
xor r9d, r9d
lea rdx, [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, eax
test eax, eax
jne 0x1403269ed
mov ecx, dword [rsp + 0x90]
mov esi, dword [rsp + 0x98]
bswap ecx
mov eax, ecx
and eax, 0xfffffffe
bswap esi
mov dword [rsp + 0x50], esi
cmp eax, 0x377f0682
jne 0x1403268f7
lea eax, [rsi - 1]
test esi, eax
jne 0x1403268f7
lea eax, [rsi - 0x200]
cmp eax, 0xfe00
ja 0x1403268f7
mov eax, dword [rsp + 0x9c]
lea r12, [rbx + 0x60]
bswap eax
and cl, bpl
mov dword [rbx + 0x88], eax
mov rax, qword [rsp + 0xa0]
lea r8d, [rdi + 0x18]
movzx ecx, cl
lea rdx, [rsp + 0x90]
mov byte [rbx + 0x55], cl
xor r9d, r9d
xor ecx, ebp
mov qword [rbx + 0x68], rax
mov dword [rbx + 0x38], esi
mov qword [rsp + 0x20], r12
call fcn.1403250d0
mov ecx, dword [rsp + 0xa8]
bswap ecx
cmp dword [r12], ecx
jne 0x1403268f7
mov eax, dword [rsp + 0xac]
bswap eax
cmp dword [rbx + 0x64], eax
jne 0x1403268f7
mov eax, dword [rsp + 0x94]
bswap eax
cmp eax, 0x2de218
je 0x140326612
mov ecx, 0x1006d
call fcn.1402b7e70
mov r14d, eax
jmp 0x1403268ee
lea eax, [rsi + 0x18]
movsxd rdi, eax
mov dword [rsp + 0x34], eax
lea rcx, [rdi + 0x8000]
call fcn.140225fb0
mov qword [rbx + 0x90], rax
mov r15, rax
test rax, rax
jne 0x140326640
lea r14d, [rax + 7]
jmp 0x1403269ed
add rax, 0x18
movsxd rcx, esi
add rcx, rax
xor r13d, r13d
mov rax, qword [rsp + 0x58]
add rax, 0xffffffffffffffe0
mov qword [rsp + 0x70], rcx
cqo
mov dword [rsp + 0x38], r13d
idiv rdi
mov qword [rsp + 0x48], r13
mov rdx, rax
mov qword [rsp + 0x80], rax
add eax, 0x1000
mov ecx, edx
sub rax, 0xfdf
mov qword [rsp + 0x88], rcx
shr rax, 0xc
mov qword [rsp + 0x78], rax
nop dword [rax]
nop word [rax + rax]
mov eax, r13d
mov esi, edx
shl eax, 0xc
mov edi, eax
add rax, 0xfde
cmp rcx, rax
jb 0x1403266bb
lea esi, [rdi + 0xfde]
mov dword [rsp + 0x30], esi
test r13d, r13d
jne 0x1403266c8
mov edi, ebp
jmp 0x1403266cb
add edi, 0xffffffdf
mov rcx, rbx
call fcn.1402aaec0
cmp dword [rbx + 0x28], r13d
jle 0x1403266f8
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 0x1403266f8
xor r14d, r14d
jmp 0x140326715
lea r8, [rsp + 0x60]
mov edx, r13d
mov rcx, rbx
call fcn.1403260f0
mov rcx, qword [rsp + 0x60]
mov r14d, eax
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x1403268cd
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 edi, esi
ja 0x140326857
movsxd rdx, dword [rsp + 0x34]
mov r13, rdx
nop
mov rcx, qword [rbx + 0x10]
lea r9d, [rdi - 1]
imul r9, r13
mov r10, qword [rcx]
mov r8d, edx
add r9, 0x20
mov rdx, r15
call qword [r10 + 0x10]
mov r14d, eax
test eax, eax
jne 0x140326843
mov rax, qword [rbx + 0x68]
cmp rax, qword [r15 + 8]
jne 0x140326843
mov esi, dword [r15]
bswap esi
test esi, esi
je 0x14032683f
xor ecx, ecx
mov qword [rsp + 0x20], r12
cmp byte [rbx + 0x55], cl
lea r8d, [r14 + 8]
mov r9, r12
mov rdx, r15
sete cl
call fcn.1403250d0
mov r8d, dword [rbx + 0x38]
lea rdx, [r15 + 0x18]
mov r9, r12
mov qword [rsp + 0x20], r12
call fcn.1403250d0
mov ecx, dword [r15 + 0x10]
bswap ecx
cmp dword [r12], ecx
jne 0x14032683f
mov eax, dword [r15 + 0x14]
bswap eax
cmp dword [r12 + 4], eax
jne 0x14032683f
mov ebp, dword [r15 + 4]
mov r8d, esi
mov edx, edi
mov rcx, rbx
bswap ebp
call fcn.140325ea0
mov r14d, eax
test eax, eax
jne 0x14032683f
test ebp, ebp
je 0x14032682b
mov esi, dword [rsp + 0x50]
mov edx, 0xff00
movzx eax, si
mov dword [rbx + 0x58], edi
and ax, dx
mov dword [rbx + 0x5c], ebp
mov ecx, esi
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 esi, dword [rsp + 0x30]
inc edi
mov edx, dword [rsp + 0x34]
cmp edi, esi
jbe 0x140326750
jmp 0x140326843
mov esi, dword [rsp + 0x30]
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 sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call fcn.1402aaec0
cmp edi, esi
jbe 0x1403268cd
add qword [rsp + 0x48], 8
inc r13d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0x38], r13d
cmp r13d, dword [rsp + 0x78]
jbe 0x1403266a0
mov rcx, r15
mov qword [rbx + 0x90], 0
call fcn.140226070
mov edi, dword [rsp + 0x3c]
mov r15d, dword [rsp + 0x40]
mov r13d, dword [rsp + 0x54]
test r14d, r14d
jne 0x1403269ed
mov rcx, rbx
mov dword [rbx + 0x60], edi
mov dword [rbx + 0x64], r15d
call fcn.140326c10
mov rcx, rbx
call fcn.1402aaec0
mov rax, qword [rbx + 0x30]
mov edi, ebp
mov r15, qword [rax]
mov dword [r15 + 0x60], 0
mov eax, dword [rbx + 0x58]
mov dword [r15 + 0x80], eax
mov dword [r15 + 0x64], 0
cmp byte [rbx + 0x3f], 0
je 0x14032693c
xor r14d, r14d
jmp 0x140326966
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 0xa
mov r8d, ebp
mov rax, qword [rcx]
call qword [rax + 0x70]
mov r14d, eax
test eax, eax
jne 0x1403269bb
lea ecx, [rdi + 0xb]
mov eax, ebp
shl eax, cl
or dword [rbx + 0x8c], eax
cmp edi, 1
jne 0x14032697a
cmp dword [rbx + 0x58], 0
je 0x14032697a
mov eax, dword [rbx + 0x58]
mov dword [r15 + 0x68], eax
jmp 0x140326986
movsxd rax, edi
mov dword [r15 + rax*4 + 0x64], 0xffffffff
mov rcx, rbx
call fcn.1402aaec0
cmp byte [rbx + 0x3f], 0
jne 0x1403269c0
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 9
mov r8d, ebp
mov rax, qword [rcx]
call qword [rax + 0x70]
lea ecx, [rdi + 0xb]
mov eax, ebp
shl eax, cl
not eax
and dword [rbx + 0x8c], eax
jmp 0x1403269c0
cmp eax, 5
jne 0x1403269ed
inc edi
cmp edi, 5
jl 0x140326931
cmp dword [rbx + 0x5c], 0
je 0x1403269ed
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.140208410
mov rsi, qword [rsp + 0x100]
mov r12, qword [rsp + 0x108]
mov edi, 3
sub edi, r13d
cmp byte [rbx + 0x3f], 0
jne 0x140326a35
mov rcx, qword [rbx + 8]
mov r9d, 9
mov r8d, edi
mov edx, r13d
mov rax, qword [rcx]
call qword [rax + 0x70]
mov ecx, edi
shl ebp, cl
lea ecx, [r13 + 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 + 0xc0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140339750
add rsp, 0xc8
pop r15
pop r13
pop rdi
pop rbx
ret