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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
mov r12d, dword [rcx + 0x28]
mov r14, rcx
mov rbx, rdx
test r12d, r12d
jle 0x14006bde8
mov rax, qword [rcx + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
test rax, rax
je 0x14006bde8
xor r12d, r12d
mov rdx, rbx
mov rcx, r14
call fcn.14000b360
test eax, eax
jne 0x14006be27
cmp dword [r14 + 0x48], 0x2de218
jne 0x14006c050
cmp byte [r14 + 0x46], 0
je 0x14006bdce
test r12d, r12d
jne 0x14006be7c
xor r12d, r12d
mov byte [r14 + 0x3f], 0
mov eax, r12d
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [rsp + 0x98]
xor edx, edx
mov rcx, r14
call fcn.140020730
mov r12d, eax
test eax, eax
je 0x14006be18
cmp eax, 0x508
jne 0x14006bdce
mov byte [r14 + 0x46], 1
mov byte [r14 + 0x3f], 2
mov dword [rbx], 1
cmp qword [rsp + 0x98], 0
jne 0x14006bd99
cmp byte [r14 + 0x46], 0
je 0x14006bf38
movzx eax, byte [r14 + 0x40]
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x14006bfc0
cmp byte [r14 + 0x3f], 0
jne 0x14006bfc0
mov rcx, qword [r14 + 8]
mov r9d, 0xa
mov r8d, 1
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x70]
mov r12d, eax
test eax, eax
je 0x14006bfc0
cmp byte [r14 + 0x46], 0
je 0x14006bdce
cmp dword [r14 + 0x28], 0
jle 0x14006c110
nop word [rax + rax]
xor ebx, ebx
jmp 0x14006befb
mov rcx, qword [0x1401f5360]
test rcx, rcx
je 0x14006beaa
call qword [0x1401b0240]
mov rcx, rsi
call qword [0x1401b01f8]
mov rcx, rsi
sub qword [0x1401f5408], 1
cdqe
sub qword [0x1401f53c0], rax
call qword [0x1401b01e8]
mov rcx, qword [0x1401f5360]
test rcx, rcx
je 0x14006bf29
call qword [0x1401b0250]
mov rax, qword [r14 + 0x30]
add rax, rdi
mov qword [rax], 0
add rbx, 1
cmp dword [r14 + 0x28], ebx
jle 0x14006c110
mov rax, qword [r14 + 0x30]
lea rdi, [rbx*8]
add rax, rdi
mov rsi, qword [rax]
test rsi, rsi
je 0x14006bee6
mov eax, dword [0x1401b01c0]
test eax, eax
jne 0x14006be98
mov rcx, rsi
call qword [0x1401b01e8]
mov rax, qword [r14 + 0x30]
add rax, rdi
jmp 0x14006bee6
test byte [r14 + 0x42], 2
je 0x14006be32
cmp byte [r14 + 0x3f], 0
jne 0x14006c298
mov rcx, qword [r14 + 8]
mov r9d, 6
mov r8d, 1
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x70]
mov r12d, eax
test eax, eax
jne 0x14006be71
movzx eax, byte [r14 + 0x3f]
test al, al
jne 0x14006c307
mov rcx, qword [r14 + 8]
xor edx, edx
mov r9d, 5
mov r8d, 1
mov rax, qword [rcx]
call qword [rax + 0x70]
cmp byte [r14 + 0x46], 0
je 0x14006c298
mov edi, dword [r14 + 0x28]
test edi, edi
jle 0x14006c4a0
mov r12d, 0x108
jmp 0x14006be90
mov esi, dword [r14 + 0x28]
mov byte [r14 + 0x40], 1
test esi, esi
jle 0x14006c0b0
mov rax, qword [r14 + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
test rax, rax
je 0x14006c0b0
mov rdx, rbx
mov rcx, r14
call fcn.14000b360
mov r12d, eax
test eax, eax
jne 0x14006c140
mov r8d, dword [rsp + 0x30]
test r8d, r8d
jne 0x14006c02d
cmp byte [r14 + 0x3f], 0
mov byte [r14 + 0x40], 0
jne 0x14006c02d
mov rcx, qword [r14 + 8]
mov r9d, 9
mov r8d, 1
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x70]
cmp dword [r14 + 0x48], 0x2de218
jne 0x14006c050
cmp byte [r14 + 0x46], 0
je 0x14006bdce
jmp 0x14006bdc6
lea rax, [0x1401b108c]
mov r9d, 0xff7c
lea r8, str.cannot_open_file
mov ecx, 0xe
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov r12d, 0xe
call fcn.14002e120
cmp byte [r14 + 0x46], 0
je 0x14006bdce
mov edx, dword [r14 + 0x28]
test edx, edx
jg 0x14006be90
cmp byte [r14 + 0x3f], 2
jne 0x14006c117
mov byte [r14 + 0x46], 0
jmp 0x14006bdc9
lea r8, [rsp + 0x98]
xor edx, edx
mov rcx, r14
call fcn.140020730
mov r12d, eax
test eax, eax
je 0x14006bfe9
mov ecx, dword [rsp + 0x30]
test ecx, ecx
jne 0x14006be71
cmp byte [r14 + 0x3f], 0
mov byte [r14 + 0x40], 0
jne 0x14006bdb6
mov rcx, qword [r14 + 8]
mov r9d, 9
mov r8d, 1
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x70]
jmp 0x14006bdb6
cmp byte [r14 + 0x3f], 2
je 0x14006c126
mov rcx, qword [r14 + 8]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
cmp r12d, 0x20a
mov eax, 0xffffffff
mov byte [r14 + 0x46], 0
cmove r12d, eax
jmp 0x14006bdc9
movzx edi, byte [r14 + 0x41]
lea edx, [rdi + 1]
mov edi, 3
sub edi, edx
cmp byte [r14 + 0x3f], 0
mov dword [rsp + 0x34], edx
jne 0x14006c178
mov rcx, qword [r14 + 8]
mov r9d, 0xa
mov r8d, edi
mov rax, qword [rcx]
call qword [rax + 0x70]
mov r12d, eax
test eax, eax
jne 0x14006c470
mov rcx, qword [r14 + 0x10]
pxor xmm0, xmm0
lea rdx, [rsp + 0xa0]
movups xmmword [r14 + 0x48], xmm0
movups xmmword [r14 + 0x58], xmm0
movups xmmword [r14 + 0x68], xmm0
mov rax, qword [rcx]
call qword [rax + 0x30]
mov r12d, eax
test eax, eax
jne 0x14006c2d0
cmp qword [rsp + 0xa0], 0x20
jg 0x14006c32d
xor r15d, r15d
xor r10d, r10d
mov dword [r14 + 0x60], r10d
mov rcx, r14
mov dword [r14 + 0x64], r15d
call fcn.14000b190
mov rax, qword [r14 + 0x30]
mov rsi, qword [rax]
mov dword [rsi + 0x60], 0
mov eax, dword [r14 + 0x58]
mov dword [rsi + 0x80], eax
mov dword [rsi + 0x64], 0
cmp byte [r14 + 0x3f], 0
jne 0x14006c4bb
mov r13d, 1
mov r15d, 4
mov rcx, qword [r14 + 8]
mov r9d, 0xa
mov r8d, 1
mov edx, r15d
mov rax, qword [rcx]
call qword [rax + 0x70]
mov r12d, eax
test eax, eax
jne 0x14006c489
cmp r13d, 1
jne 0x14006c27e
mov eax, dword [r14 + 0x58]
test eax, eax
je 0x14006c4c6
mov dword [rsi + 0x68], eax
cmp byte [r14 + 0x3f], 0
jne 0x14006c4d8
mov r13d, 1
mov rcx, qword [r14 + 8]
mov r9d, 9
mov r8d, 1
mov edx, r15d
mov rax, qword [rcx]
call qword [rax + 0x70]
xor r12d, r12d
add r13d, 1
cmp r13d, 5
je 0x14006c2a3
cmp byte [r14 + 0x3f], 0
lea r15d, [r13 + 3]
je 0x14006c203
movsxd rax, r13d
mov dword [rsi + rax*4 + 0x64], 0xffffffff
cmp byte [r14 + 0x3f], 0
je 0x14006c24d
jmp 0x14006c266
mov r12d, 0x108
jmp 0x14006bdce
mov r10d, dword [r14 + 0x5c]
test r10d, r10d
je 0x14006c2d0
mov r9, qword [r14 + 0x80]
mov r8d, dword [r14 + 0x58]
mov ecx, 0x11b
lea rdx, str.recovered__d_frames_from_WAL_file__s
call fcn.14002e120
nop dword [rax + rax]
cmp byte [r14 + 0x3f], 0
jne 0x14006c2ee
mov rcx, qword [r14 + 8]
mov edx, dword [rsp + 0x34]
mov r9d, 9
mov r8d, edi
mov rax, qword [rcx]
call qword [rax + 0x70]
mov r9d, dword [rsp + 0x30]
mov dword [rbx], 1
test r9d, r9d
je 0x14006c0d9
jmp 0x14006bdb6
cmp byte [r14 + 0x46], 0
je 0x14006c298
mov ebp, dword [r14 + 0x28]
test ebp, ebp
jg 0x14006bfad
cmp al, 2
je 0x14006c4ab
mov r12d, 0x108
jmp 0x14006c117
mov rcx, qword [r14 + 0x10]
xor r9d, r9d
lea rdx, [rsp + 0xb0]
mov r8d, 0x20
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r12d, eax
test eax, eax
jne 0x14006c2d0
mov eax, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xb8]
mov edx, eax
and edx, 0xfeffffff
cmp edx, 0x82067f37
jne 0x14006c1b7
mov r12d, ecx
bswap r12d
lea edx, [r12 - 1]
test edx, r12d
jne 0x14006c1b7
lea edx, [r12 - 0x200]
cmp edx, 0xfe00
ja 0x14006c1b7
mov r9d, eax
mov r8d, dword [rsp + 0xbc]
mov r13, qword [rsp + 0xc0]
mov dword [r14 + 0x38], r12d
shr r9d, 0x18
mov r11d, r9d
mov edx, r8d
mov qword [r14 + 0x68], r13
and r11d, 1
bswap edx
mov dword [r14 + 0x88], edx
mov byte [r14 + 0x55], r11b
test r11b, r11b
jne 0x14006c4e3
mov edx, dword [rsp + 0xb4]
add edx, eax
add eax, ecx
add eax, edx
add edx, r8d
add edx, eax
add eax, dword [rsp + 0xc0]
add eax, edx
add edx, dword [rsp + 0xc4]
add edx, eax
mov ecx, dword [rsp + 0xc8]
mov dword [r14 + 0x60], eax
mov dword [r14 + 0x64], edx
bswap ecx
cmp ecx, eax
jne 0x14006c1b7
mov eax, dword [rsp + 0xcc]
bswap eax
cmp eax, edx
jne 0x14006c1b7
cmp dword [rsp + 0xb4], 0x18e22d00
je 0x14006c60c
lea rax, [0x1401b108c]
mov r9d, 0xfaf1
lea r8, str.cannot_open_file
mov ecx, 0xe
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov r12d, 0xe
call fcn.14002e120
jmp 0x14006c2d0
mov r11d, dword [rsp + 0x30]
mov dword [rbx], 1
test r11d, r11d
je 0x14006c0d9
jmp 0x14006be71
cmp eax, 5
je 0x14006c269
jmp 0x14006c2d0
cmp byte [r14 + 0x3f], 2
jne 0x14006c322
mov byte [r14 + 0x46], 0
mov r12d, 0x108
jmp 0x14006bdc9
mov r15d, 4
jmp 0x14006c22d
mov dword [rsi + 0x68], 0xffffffff
cmp byte [r14 + 0x3f], 0
je 0x14006c247
mov r13d, 2
jmp 0x14006c273
mov r13d, eax
shl r13d, 0x18
add r13d, r9d
mov r9d, eax
shr eax, 8
shl r9d, 8
and eax, 0xff00
and r9d, 0xff0000
add r13d, r9d
add r13d, eax
mov eax, dword [rsp + 0xb4]
mov r9d, eax
mov r11d, eax
shr eax, 8
shl r9d, 8
and eax, 0xff00
bswap r11d
and r11d, 0xff0000ff
and r9d, 0xff0000
add eax, r13d
or r9d, r11d
mov r11d, ecx
add r9d, eax
mov eax, ecx
shr r11d, 0x18
shl eax, 0x18
add eax, r11d
mov r11d, ecx
shl r11d, 8
and r11d, 0xff0000
add r11d, eax
mov eax, ecx
mov ecx, r8d
shr r8d, 8
shr eax, 8
shl ecx, 8
and r8d, 0xff00
and eax, 0xff00
and ecx, 0xff0000
add eax, r11d
or ecx, r8d
mov r8d, dword [rsp + 0xc0]
add eax, r13d
add eax, r9d
and edx, 0xff0000ff
add ecx, edx
mov edx, r8d
add ecx, r9d
mov r9d, r8d
shl edx, 0x18
shr r9d, 0x18
add ecx, eax
add edx, r9d
mov r9d, r8d
shr r8d, 8
shl r9d, 8
and r8d, 0xff00
and r9d, 0xff0000
add edx, r9d
add edx, r8d
mov r8d, dword [rsp + 0xc4]
add eax, edx
mov edx, r8d
mov r9d, r8d
shr r8d, 8
add eax, ecx
shl edx, 8
and r8d, 0xff00
bswap r9d
and r9d, 0xff0000ff
and edx, 0xff0000
or edx, r8d
add edx, r9d
add edx, ecx
add edx, eax
jmp 0x14006c3fc
call fcn.14006ac10
test eax, eax
jne 0x14006c8fa
lea ecx, [r12 + 0x8018]
movsxd rcx, ecx
call fcn.14000c020
mov r13, rax
test rax, rax
je 0x14006c8fa
lea rax, [rax + 0x18]
lea esi, [r12 + 0x18]
xor r10d, r10d
xor r15d, r15d
mov rdx, rax
mov qword [rsp + 0x68], rax
mov eax, r12d
add rax, rdx
mov dword [rsp + 0x58], esi
movsxd rsi, esi
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rsi
sub rax, 0x20
mov dword [rsp + 0x8c], edi
mov rdi, r13
cqo
mov qword [rsp + 0x128], rbx
mov ebx, r10d
idiv rsi
xor esi, esi
lea edx, [rax + 0x1000]
mov eax, eax
sub rdx, 0xfdf
mov qword [rsp + 0x80], rax
lea rax, [r14 + 0x60]
shr rdx, 0xc
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x88], edx
mov edx, r12d
sar r12d, 0x10
xor dl, dl
or edx, r12d
mov word [rsp + 0x5e], dx
mov edx, esi
mov rcx, qword [rsp + 0x80]
mov r13d, 1
shl edx, 0xc
mov eax, edx
add rax, 0xfde
cmp rax, rcx
cmova rax, rcx
mov qword [rsp + 0x60], rax
mov ebp, eax
test esi, esi
je 0x14006c6f8
lea r13d, [rdx - 0x21]
cmp esi, dword [r14 + 0x28]
jge 0x14006c8e0
mov rdx, qword [r14 + 0x30]
movsxd rax, esi
mov rax, qword [rdx + rax*8]
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x14006c8e0
xor r12d, r12d
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14006c8af
mov eax, esi
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov qword [rsp + 0x78], rax
mov rax, qword [r14 + 0x30]
mov qword [rax + rdx*8], rcx
cmp dword [rsp + 0x60], r13d
jb 0x14006c856
mov dword [rsp + 0x38], esi
jmp 0x14006c819
mov eax, dword [rdi]
mov r10d, eax
bswap r10d
mov dword [rsp + 0x3c], r10d
test eax, eax
je 0x14006c852
mov rax, qword [rsp + 0x48]
xor esi, esi
cmp byte [r14 + 0x55], 0
mov rdx, rdi
sete sil
mov r8d, 8
mov qword [rsp + 0x20], rax
mov r9, rax
mov ecx, esi
call fcn.140003250
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
mov ecx, esi
mov qword [rsp + 0x20], rax
mov r8d, dword [r14 + 0x38]
mov r9, rax
call fcn.140003250
mov eax, dword [rdi + 0x10]
bswap eax
cmp dword [r14 + 0x60], eax
jne 0x14006c852
mov eax, dword [rdi + 0x14]
bswap eax
cmp dword [r14 + 0x64], eax
jne 0x14006c852
mov r8d, dword [rsp + 0x3c]
mov edx, r13d
mov rcx, r14
mov esi, dword [rdi + 4]
call fcn.1400313e0
mov r12d, eax
test eax, eax
jne 0x14006c852
test esi, esi
je 0x14006c810
movzx eax, word [rsp + 0x5e]
bswap esi
mov ebx, dword [r14 + 0x60]
mov dword [r14 + 0x58], r13d
mov dword [r14 + 0x5c], esi
mov r15d, dword [r14 + 0x64]
mov word [r14 + 0x56], ax
add r13d, 1
cmp ebp, r13d
jb 0x14006c852
mov rsi, qword [rsp + 0x40]
mov rcx, qword [r14 + 0x10]
lea eax, [r13 - 1]
mov rdx, rdi
mov r8d, dword [rsp + 0x58]
imul rax, rsi
mov r10, qword [rcx]
lea r9, [rax + 0x20]
call qword [r10 + 0x10]
mov r12d, eax
test eax, eax
jne 0x14006c852
mov rax, qword [r14 + 0x68]
cmp qword [rdi + 8], rax
je 0x14006c762
mov esi, dword [rsp + 0x38]
mov rax, qword [r14 + 0x30]
mov rdx, qword [rsp + 0x78]
cmp esi, 1
mov r8d, 0x8000
mov rcx, qword [rsp + 0x70]
mov qword [rax + rdx*8], rcx
sbb edx, edx
and edx, 0x88
mov eax, edx
mov r9d, edx
mov rdx, qword [rsp + 0x50]
shr eax, 2
sub r8, r9
shl rax, 2
add rcx, rax
add rdx, rax
call sub.msvcrt.dll_memcpy
cmp dword [rsp + 0x60], r13d
jae 0x14006c8af
add esi, 1
cmp dword [rsp + 0x88], esi
jae 0x14006c6c7
mov r13, rdi
mov dword [rsp + 0x38], ebx
mov edi, dword [rsp + 0x8c]
mov rcx, r13
mov rbx, qword [rsp + 0x128]
call fcn.140007bf0
test r12d, r12d
mov r10d, dword [rsp + 0x38]
jne 0x14006c2d0
jmp 0x14006c1bd
lea r8, [rsp + 0xa8]
mov edx, esi
mov rcx, r14
call fcn.140020730
mov r12d, eax
jmp 0x14006c721
mov r12d, 7
jmp 0x14006c2d0