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

Disassembly:
push rbx
push rbp
push rdi
push r14
sub rsp, 0xc8
mov rax, qword [0x140188020]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movzx r14d, byte [rcx + 0x41]
xor edi, edi
inc r14d
mov dword [rsp + 0x3c], edi
xor ebp, ebp
mov dword [rsp + 0x34], r14d
mov rbx, rcx
mov dword [rsp + 0x40], ebp
cmp byte [rcx + 0x3f], dil
jne 0x14003f923
mov rcx, qword [rcx + 8]
lea r9d, [rdi + 0xa]
mov r8d, 3
mov edx, r14d
sub r8d, r14d
mov rax, qword [rcx]
call qword [rax + 0x70]
test eax, eax
jne 0x14003fe65
xorps xmm0, xmm0
mov qword [rsp + 0xf8], rsi
movups xmmword [rbx + 0x48], xmm0
lea rdx, [rsp + 0x88]
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov esi, eax
test eax, eax
jne 0x14003fe39
cmp qword [rsp + 0x88], 0x20
mov qword [rsp + 0x100], r12
mov qword [rsp + 0x108], r13
mov qword [rsp + 0xc0], r15
jle 0x14003fd4b
mov rcx, qword [rbx + 0x10]
lea r8d, [rsi + 0x20]
xor r9d, r9d
lea rdx, [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov esi, eax
test eax, eax
jne 0x14003fe21
mov ecx, dword [rsp + 0x90]
mov r13d, dword [rsp + 0x98]
bswap ecx
mov eax, ecx
and eax, 0xfffffffe
bswap r13d
cmp eax, 0x377f0682
jne 0x14003fd4b
lea eax, [r13 - 1]
test r13d, eax
jne 0x14003fd4b
lea eax, [r13 - 0x200]
cmp eax, 0xfe00
ja 0x14003fd4b
mov eax, dword [rsp + 0x9c]
lea r12, [rbx + 0x60]
and cl, 1
mov dword [rbx + 0x38], r13d
bswap eax
movzx ecx, cl
lea r8d, [rsi + 0x18]
mov dword [rbx + 0x88], eax
lea rdx, [rsp + 0x90]
mov rax, qword [rsp + 0xa0]
xor r9d, r9d
mov byte [rbx + 0x55], cl
xor ecx, 1
mov qword [rbx + 0x68], rax
mov qword [rsp + 0x20], r12
call fcn.14003f3e0
mov eax, dword [rsp + 0xa8]
bswap eax
cmp dword [r12], eax
jne 0x14003fd4b
mov eax, dword [rsp + 0xac]
bswap eax
cmp dword [rbx + 0x64], eax
jne 0x14003fd4b
mov eax, dword [rsp + 0x94]
bswap eax
cmp eax, 0x2de218
je 0x14003fa91
lea rax, [0x1401606f4]
mov esi, 0xe
mov ecx, esi
mov qword [rsp + 0x20], rax
mov r9d, 0xfd2c
lea r8, str.cannot_open_file
lea rdx, str._s_at_line__d_of___.10s_
call fcn.14002f380
jmp 0x14003fe21
call fcn.1400e5a90
test eax, eax
jne 0x14003fd8a
movsxd rdi, r13d
add rdi, 0x18
lea rcx, [rdi + 0x8000]
call fcn.14002bf00
mov r15, rax
test rax, rax
je 0x14003fd8a
add rax, 0x18
movsxd r9, r13d
add r9, rax
mov rax, qword [rsp + 0x88]
add rax, 0xffffffffffffffe0
mov qword [rsp + 0x50], r9
cqo
idiv rdi
xor edi, edi
mov r10, rax
mov qword [rsp + 0x78], rax
add eax, 0x1000
mov r11d, r10d
sub rax, 0xfdf
mov dword [rsp + 0x38], edi
shr rax, 0xc
xor r8d, r8d
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x80], r11
nop dword [rax]
nop word [rax + rax]
mov eax, edi
mov r14d, r10d
shl eax, 0xc
mov ebp, 1
mov edx, eax
lea rcx, [rax + 0xfde]
add eax, 0xfde
cmp r11, rcx
cmovae r14d, eax
mov dword [rsp + 0x30], r14d
test edi, edi
je 0x14003fb4e
lea ebp, [rdx - 0x21]
cmp dword [rbx + 0x28], edi
jle 0x14003fb71
mov rax, qword [rbx + 0x30]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rcx
test rcx, rcx
je 0x14003fb71
xor esi, esi
jmp 0x14003fb96
lea r8, [rsp + 0x58]
mov edx, edi
mov rcx, rbx
call fcn.14003f290
mov rcx, qword [rsp + 0x58]
mov esi, eax
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov qword [rsp + 0x60], rcx
test rcx, rcx
je 0x14003fd33
mov rax, qword [rbx + 0x30]
mov qword [r8 + rax], r9
cmp ebp, r14d
ja 0x14003fccf
lea r8d, [r13 + 0x18]
movsxd rdx, r8d
mov qword [rsp + 0x68], rdx
nop dword [rax]
mov rcx, qword [rbx + 0x10]
lea r9d, [rbp - 1]
imul r9, rdx
mov r10, qword [rcx]
mov rdx, r15
add r9, 0x20
call qword [r10 + 0x10]
mov esi, eax
test eax, eax
jne 0x14003fcbc
mov rax, qword [rbx + 0x68]
cmp rax, qword [r15 + 8]
jne 0x14003fcbc
mov r14d, dword [r15]
bswap r14d
test r14d, r14d
je 0x14003fcb7
xor edi, edi
mov qword [rsp + 0x20], r12
cmp byte [rbx + 0x55], dil
lea r8d, [rsi + 8]
mov r9, r12
mov rdx, r15
sete dil
mov ecx, edi
call fcn.14003f3e0
mov r8d, dword [rbx + 0x38]
lea rdx, [r15 + 0x18]
mov r9, r12
mov qword [rsp + 0x20], r12
mov ecx, edi
call fcn.14003f3e0
mov eax, dword [r15 + 0x10]
bswap eax
cmp dword [r12], eax
jne 0x14003fcb7
mov eax, dword [r15 + 0x14]
bswap eax
cmp dword [r12 + 4], eax
jne 0x14003fcb7
mov edi, dword [r15 + 4]
mov r8d, r14d
mov edx, ebp
mov rcx, rbx
bswap edi
call fcn.14003f720
mov esi, eax
test eax, eax
jne 0x14003fcb7
test edi, edi
je 0x14003fc9c
movzx eax, r13w
mov dword [rbx + 0x58], ebp
mov dword [rbx + 0x5c], edi
mov ecx, r13d
mov edx, 0xff00
sar ecx, 0x10
and ax, dx
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 r14d, dword [rsp + 0x30]
lea r8d, [r13 + 0x18]
mov rdx, qword [rsp + 0x68]
inc ebp
cmp ebp, r14d
jbe 0x14003fbc0
jmp 0x14003fcbc
mov r14d, dword [rsp + 0x30]
mov edi, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov rax, qword [rbx + 0x30]
mov edx, 0x88
mov qword [r8 + rax], rcx
xor eax, eax
test edi, edi
mov r8d, 0x8000
cmove eax, edx
mov edx, 0x7f78
cmove r8d, edx
add rcx, rax
lea rdx, [rax + r9]
call fcn.14012dc00
cmp ebp, r14d
jbe 0x14003fd33
mov r8, qword [rsp + 0x48]
inc edi
mov r9, qword [rsp + 0x50]
add r8, 8
mov r10, qword [rsp + 0x78]
mov r11, qword [rsp + 0x80]
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x48], r8
cmp edi, dword [rsp + 0x70]
jbe 0x14003fb20
mov rcx, r15
call fcn.14002c0f0
test esi, esi
jne 0x14003fe1c
mov edi, dword [rsp + 0x3c]
mov ebp, dword [rsp + 0x40]
mov rcx, rbx
mov dword [rbx + 0x60], edi
mov dword [rbx + 0x64], ebp
call fcn.14003f580
mov rax, qword [rbx + 0x30]
mov edi, 1
mov r14, qword [rax]
mov dword [r14 + 0x60], 0
mov eax, dword [rbx + 0x58]
mov dword [r14 + 0x80], eax
mov dword [r14 + 0x64], 0
nop
cmp byte [rbx + 0x3f], 0
je 0x14003fd94
xor esi, esi
jmp 0x14003fdb1
mov esi, 7
jmp 0x14003fe21
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 0xa
mov rax, qword [rcx]
lea r8d, [r9 - 9]
call qword [rax + 0x70]
mov esi, eax
test eax, eax
jne 0x14003fdee
cmp edi, 1
jne 0x14003fdc3
mov eax, dword [rbx + 0x58]
test eax, eax
je 0x14003fdc3
mov dword [r14 + 0x68], eax
jmp 0x14003fdcf
movsxd rax, edi
mov dword [r14 + rax*4 + 0x64], 0xffffffff
cmp byte [rbx + 0x3f], 0
jne 0x14003fdf3
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 9
mov rax, qword [rcx]
lea r8d, [r9 - 8]
call qword [rax + 0x70]
jmp 0x14003fdf3
cmp eax, 5
jne 0x14003fe1c
inc edi
cmp edi, 5
jl 0x14003fd80
cmp dword [rbx + 0x5c], 0
je 0x14003fe1c
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.14002f380
mov r14d, dword [rsp + 0x34]
mov r13, qword [rsp + 0x108]
mov r12, qword [rsp + 0x100]
mov r15, qword [rsp + 0xc0]
cmp byte [rbx + 0x3f], 0
jne 0x14003fe5b
mov rcx, qword [rbx + 8]
mov r8d, 3
sub r8d, r14d
mov r9d, 9
mov edx, r14d
mov rax, qword [rcx]
call qword [rax + 0x70]
mov eax, esi
mov rsi, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14012b8f0
add rsp, 0xc8
pop r14
pop rdi
pop rbp
pop rbx
ret