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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0xc0
mov rax, qword [0x180191008]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movzx ebp, byte [rcx + 0x41]
xor edi, edi
inc ebp
mov dword [rsp + 0x38], edi
xor esi, esi
mov dword [rsp + 0x54], ebp
mov r14d, 3
mov dword [rsp + 0x3c], esi
sub r14d, ebp
lea r13d, [rdi + 1]
mov rbx, rcx
mov dword [rsp + 0x50], r14d
cmp byte [rcx + 0x3f], sil
jne 0x18003ebe6
mov rcx, qword [rcx + 8]
lea r9d, [rdi + 0xa]
mov r8d, r14d
mov edx, ebp
mov rax, qword [rcx]
call qword [rax + 0x70]
test eax, eax
jne 0x18003f16a
mov ecx, r14d
mov eax, r13d
shl eax, cl
lea ecx, [rbp + 8]
dec eax
shl eax, cl
or dword [rbx + 0x8c], eax
xorps xmm0, xmm0
lea rdx, [rsp + 0x58]
movups xmmword [rbx + 0x48], xmm0
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov r14d, eax
test eax, eax
jne 0x18003f12c
cmp qword [rsp + 0x58], 0x20
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0x100], r15
jle 0x18003f02c
mov rcx, qword [rbx + 0x10]
lea r8d, [r14 + 0x20]
xor r9d, r9d
lea rdx, [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, eax
test eax, eax
jne 0x18003f11c
mov ecx, dword [rsp + 0x90]
mov ebp, dword [rsp + 0x98]
bswap ecx
mov eax, ecx
and eax, 0xfffffffe
bswap ebp
mov dword [rsp + 0x4c], ebp
cmp eax, 0x377f0682
jne 0x18003f02c
lea eax, [rbp - 1]
test ebp, eax
jne 0x18003f02c
lea eax, [rbp - 0x200]
cmp eax, 0xfe00
ja 0x18003f02c
mov eax, dword [rsp + 0x9c]
lea r12, [rbx + 0x60]
and cl, r13b
mov dword [rbx + 0x38], ebp
bswap eax
movzx ecx, cl
lea r8d, [r14 + 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, r13d
mov qword [rbx + 0x68], rax
mov qword [rsp + 0x20], r12
call fcn.18003e670
mov eax, dword [rsp + 0xa8]
bswap eax
cmp dword [r12], eax
jne 0x18003f02c
mov eax, dword [rsp + 0xac]
bswap eax
cmp dword [rbx + 0x64], eax
jne 0x18003f02c
mov eax, dword [rsp + 0x94]
bswap eax
cmp eax, 0x2de218
je 0x18003ed40
lea rax, [0x18016efc4]
mov r14d, 0xe
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x1009d
lea r8, str.cannot_open_file
lea rdx, str._s_at_line__d_of___.10s_
call fcn.18002d3c0
jmp 0x18003f11c
lea edi, [rbp + 0x18]
mov dword [rsp + 0x48], edi
call fcn.1800e74e0
test eax, eax
je 0x18003ed62
mov qword [rbx + 0x90], rsi
mov r14d, 7
jmp 0x18003f11c
movsxd rcx, edi
add rcx, 0x8000
call fcn.18002a230
mov qword [rbx + 0x90], rax
mov r15, rax
test rax, rax
jne 0x18003ed89
lea r14d, [rax + 7]
jmp 0x18003f11c
add rax, 0x18
movsxd rcx, ebp
add rcx, rax
mov qword [rsp + 0x40], rsi
mov rax, qword [rsp + 0x58]
add rax, 0xffffffffffffffe0
mov qword [rsp + 0x70], rcx
cqo
movsxd rcx, edi
idiv rcx
xor edi, edi
mov rdx, rax
mov qword [rsp + 0x80], rax
add eax, 0x1000
mov r8d, edx
sub rax, 0xfdf
mov dword [rsp + 0x34], edi
shr rax, 0xc
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], r8
nop
mov eax, edi
mov ebp, edx
shl eax, 0xc
mov ecx, eax
add rax, 0xfde
cmp r8, rax
jb 0x18003edfa
lea ebp, [rcx + 0xfde]
mov dword [rsp + 0x30], ebp
mov esi, r13d
test edi, edi
je 0x18003ee08
lea esi, [rcx - 0x21]
call fcn.18003e490
cmp dword [rbx + 0x28], edi
jle 0x18003ee31
mov rax, qword [rbx + 0x30]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rcx
test rcx, rcx
je 0x18003ee31
xor r14d, r14d
jmp 0x18003ee4d
lea r8, [rsp + 0x60]
mov edx, edi
mov rcx, rbx
call fcn.18003e500
mov rcx, qword [rsp + 0x60]
mov r14d, eax
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x18003f008
mov rax, qword [rbx + 0x30]
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x70]
mov dword [rbx + 0xa0], edi
mov qword [rbx + 0x98], rcx
mov qword [rdx + rax], r8
cmp esi, ebp
ja 0x18003ef99
movsxd r13, dword [rsp + 0x48]
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
lea r9d, [rsi - 1]
imul r9, r13
mov r10, qword [rcx]
mov r8d, r13d
add r9, 0x20
mov rdx, r15
call qword [r10 + 0x10]
mov r14d, eax
test eax, eax
jne 0x18003ef85
mov rax, qword [rbx + 0x68]
cmp rax, qword [r15 + 8]
jne 0x18003ef85
mov ebp, dword [r15]
bswap ebp
test ebp, ebp
je 0x18003ef81
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.18003e670
mov r8d, dword [rbx + 0x38]
lea rdx, [r15 + 0x18]
mov r9, r12
mov qword [rsp + 0x20], r12
mov ecx, edi
call fcn.18003e670
mov eax, dword [r15 + 0x10]
bswap eax
cmp dword [r12], eax
jne 0x18003ef81
mov eax, dword [r15 + 0x14]
bswap eax
cmp dword [r12 + 4], eax
jne 0x18003ef81
mov edi, dword [r15 + 4]
mov r8d, ebp
mov edx, esi
mov rcx, rbx
bswap edi
call fcn.18003e9c0
mov r14d, eax
test eax, eax
jne 0x18003ef81
test edi, edi
je 0x18003ef71
mov ebp, dword [rsp + 0x4c]
mov edx, 0xff00
movzx eax, bp
mov dword [rbx + 0x58], esi
and ax, dx
mov dword [rbx + 0x5c], edi
mov ecx, ebp
sar ecx, 0x10
or cx, ax
mov word [rbx + 0x56], cx
mov eax, dword [r12]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 0x64]
mov dword [rsp + 0x3c], eax
mov ebp, dword [rsp + 0x30]
inc esi
cmp esi, ebp
jbe 0x18003ee90
jmp 0x18003ef85
mov ebp, dword [rsp + 0x30]
mov edi, dword [rsp + 0x34]
mov r13d, 1
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rbx + 0x30]
mov r8d, 0x8000
mov qword [rdx + rax], rcx
xor eax, eax
test edi, edi
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 fcn.18013fe80
call fcn.18003e490
cmp esi, ebp
jbe 0x18003f008
add qword [rsp + 0x40], 8
inc edi
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
mov dword [rsp + 0x34], edi
cmp edi, dword [rsp + 0x78]
jbe 0x18003ede0
mov rcx, r15
mov qword [rbx + 0x90], 0
call fcn.18002a420
test r14d, r14d
jne 0x18003f11c
mov edi, dword [rsp + 0x38]
mov esi, dword [rsp + 0x3c]
mov rcx, rbx
mov dword [rbx + 0x60], edi
mov dword [rbx + 0x64], esi
call fcn.18003e810
call fcn.18003e490
mov rax, qword [rbx + 0x30]
mov edi, r13d
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 0x18003f06e
xor r14d, r14d
jmp 0x18003f099
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 0xa
mov r8d, r13d
mov rax, qword [rcx]
call qword [rax + 0x70]
mov r14d, eax
test eax, eax
jne 0x18003f0ea
lea ecx, [rdi + 0xb]
mov eax, r13d
shl eax, cl
or dword [rbx + 0x8c], eax
cmp edi, 1
jne 0x18003f0ab
mov eax, dword [rbx + 0x58]
test eax, eax
je 0x18003f0ab
mov dword [r15 + 0x68], eax
jmp 0x18003f0b7
movsxd rax, edi
mov dword [r15 + rax*4 + 0x64], 0xffffffff
call fcn.18003e490
cmp byte [rbx + 0x3f], 0
jne 0x18003f0ef
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 0x18003f0ef
cmp eax, 5
jne 0x18003f11c
inc edi
cmp edi, 5
jl 0x18003f063
cmp dword [rbx + 0x5c], 0
je 0x18003f11c
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.18002d3c0
mov r12, qword [rsp + 0xf8]
mov r15, qword [rsp + 0x100]
cmp byte [rbx + 0x3f], 0
jne 0x18003f167
mov rcx, qword [rbx + 8]
mov r9d, 9
mov edi, dword [rsp + 0x54]
mov edx, edi
mov r8d, dword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov ecx, dword [rsp + 0x50]
shl r13d, cl
lea ecx, [rdi + 8]
dec r13d
shl r13d, cl
not r13d
and dword [rbx + 0x8c], r13d
mov eax, r14d
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18013b850
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret