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

Disassembly:
push rbx
push rdi
push r13
push r15
sub rsp, 0xc8
mov rax, qword [0x140149a80]
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.1400eb010
test eax, eax
jne 0x1400eaaa8
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 0x1400eaa5d
cmp qword [rsp + 0x58], 0x20
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], r12
jle 0x1400ea957
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 0x1400eaa4d
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 0x1400ea957
lea eax, [rsi - 1]
test esi, eax
jne 0x1400ea957
lea eax, [rsi - 0x200]
cmp eax, 0xfe00
ja 0x1400ea957
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.1400e9120
mov ecx, dword [rsp + 0xa8]
bswap ecx
cmp dword [r12], ecx
jne 0x1400ea957
mov eax, dword [rsp + 0xac]
bswap eax
cmp dword [rbx + 0x64], eax
jne 0x1400ea957
mov eax, dword [rsp + 0x94]
bswap eax
cmp eax, 0x2de218
je 0x1400ea672
mov ecx, 0x101ee
call fcn.14008eb90
mov r14d, eax
jmp 0x1400ea94e
lea eax, [rsi + 0x18]
movsxd rdi, eax
mov dword [rsp + 0x34], eax
lea rcx, [rdi + 0x8000]
call fcn.140045190
mov qword [rbx + 0x90], rax
mov r15, rax
test rax, rax
jne 0x1400ea6a0
lea r14d, [rax + 7]
jmp 0x1400eaa4d
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 0x1400ea71b
lea esi, [rdi + 0xfde]
mov dword [rsp + 0x30], esi
test r13d, r13d
jne 0x1400ea728
mov edi, ebp
jmp 0x1400ea72b
add edi, 0xffffffdf
mov rcx, rbx
call fcn.1400824f0
cmp dword [rbx + 0x28], r13d
jle 0x1400ea758
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 0x1400ea758
xor r14d, r14d
jmp 0x1400ea775
lea r8, [rsp + 0x60]
mov edx, r13d
mov rcx, rbx
call fcn.1400ea150
mov rcx, qword [rsp + 0x60]
mov r14d, eax
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x1400ea92d
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 0x1400ea8b7
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 0x1400ea8a3
mov rax, qword [rbx + 0x68]
cmp rax, qword [r15 + 8]
jne 0x1400ea8a3
mov esi, dword [r15]
bswap esi
test esi, esi
je 0x1400ea89f
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.1400e9120
mov r8d, dword [rbx + 0x38]
lea rdx, [r15 + 0x18]
mov r9, r12
mov qword [rsp + 0x20], r12
call fcn.1400e9120
mov ecx, dword [r15 + 0x10]
bswap ecx
cmp dword [r12], ecx
jne 0x1400ea89f
mov eax, dword [r15 + 0x14]
bswap eax
cmp dword [r12 + 4], eax
jne 0x1400ea89f
mov ebp, dword [r15 + 4]
mov r8d, esi
mov edx, edi
mov rcx, rbx
bswap ebp
call fcn.1400e9f00
mov r14d, eax
test eax, eax
jne 0x1400ea89f
test ebp, ebp
je 0x1400ea88b
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 0x1400ea7b0
jmp 0x1400ea8a3
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.1400824f0
cmp edi, esi
jbe 0x1400ea92d
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 0x1400ea700
mov rcx, r15
mov qword [rbx + 0x90], 0
call fcn.140045250
mov edi, dword [rsp + 0x3c]
mov r15d, dword [rsp + 0x40]
mov r13d, dword [rsp + 0x54]
test r14d, r14d
jne 0x1400eaa4d
mov rcx, rbx
mov dword [rbx + 0x60], edi
mov dword [rbx + 0x64], r15d
call fcn.1400eac70
mov rcx, rbx
call fcn.1400824f0
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 0x1400ea99c
xor r14d, r14d
jmp 0x1400ea9c6
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 0x1400eaa1b
lea ecx, [rdi + 0xb]
mov eax, ebp
shl eax, cl
or dword [rbx + 0x8c], eax
cmp edi, 1
jne 0x1400ea9da
cmp dword [rbx + 0x58], 0
je 0x1400ea9da
mov eax, dword [rbx + 0x58]
mov dword [r15 + 0x68], eax
jmp 0x1400ea9e6
movsxd rax, edi
mov dword [r15 + rax*4 + 0x64], 0xffffffff
mov rcx, rbx
call fcn.1400824f0
cmp byte [rbx + 0x3f], 0
jne 0x1400eaa20
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 0x1400eaa20
cmp eax, 5
jne 0x1400eaa4d
inc edi
cmp edi, 5
jl 0x1400ea991
cmp dword [rbx + 0x5c], 0
je 0x1400eaa4d
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.140031cf0
mov rsi, qword [rsp + 0x100]
mov r12, qword [rsp + 0x108]
mov edi, 3
sub edi, r13d
cmp byte [rbx + 0x3f], 0
jne 0x1400eaa95
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.1400fd240
add rsp, 0xc8
pop r15
pop r13
pop rdi
pop rbx
ret