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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xe0
mov rax, qword [0x14023c8a0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx + 0x30]
mov ebp, 1
mov qword [rsp + 0x90], rax
xor r12d, r12d
mov eax, dword [rcx + 0x3c]
mov edi, edx
mov dword [rsp + 0x68], eax
mov rsi, rcx
mov eax, dword [rcx + 0x40]
mov r13d, ebp
mov dword [rsp + 0x6c], eax
mov ebx, r12d
mov qword [rsp + 0x80], r8
mov dword [rsp + 0x3c], edx
mov qword [rsp + 0xb8], r9
mov dword [rsp + 0x40], 0xffffffff
mov dword [rsp + 0x38], ebp
call fcn.1401a0600
cmp dword [rsi + 0x1c], ebx
je 0x14019f937
mov r14, qword [rsi]
mov qword [rsp + 0x78], r14
mov eax, dword [r14 + 0x38]
mov dword [rsp + 0x30], eax
test edi, edi
je 0x14019fffd
mov edx, edi
mov rcx, rsi
call fcn.1401a0450
test eax, eax
jne 0x14019fffd
mov dword [rsi + 0x3c], edi
lea rax, str.Tree__u_page__u:
mov qword [rsi + 0x30], rax
lea r8, [rsp + 0xb0]
mov rcx, qword [r14]
xor r9d, r9d
mov edx, edi
mov rax, qword [rcx + 0x110]
call qword [case.0x1400faf48.0]
mov edi, eax
test eax, eax
je 0x14019f979
mov r8d, eax
lea rdx, str.unable_to_get_the_page._error_code_d
mov rcx, rsi
call fcn.1401a0520
cmp edi, 0xc0a
jne 0x14019f937
mov dword [rsi + 0x24], 7
mov rax, qword [rsp + 0x90]
mov qword [rsi + 0x30], rax
mov eax, dword [rsp + 0x68]
mov dword [rsi + 0x3c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsi + 0x40], eax
mov eax, dword [rsp + 0x40]
inc eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b1c90
add rsp, 0xe0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [rsp + 0xb0]
mov edx, dword [rsp + 0x3c]
mov qword [rsp + 0xd8], r15
mov r15, qword [rcx + 0x10]
mov qword [rsp + 0x58], r15
cmp edx, dword [r15 + 4]
je 0x14019f9c1
mov rax, qword [rcx + 8]
cmp edx, ebp
mov qword [r15 + 0x50], rax
mov eax, r12d
mov qword [r15 + 0x70], rcx
mov ecx, 0x64
cmove eax, ecx
mov qword [r15 + 0x48], r14
mov byte [r15 + 9], al
mov dword [r15 + 4], edx
movzx eax, byte [r15]
mov rcx, r15
mov byte [rsp + 0x34], al
mov byte [r15], bl
call fcn.1401aca50
test eax, eax
je 0x14019f9ef
mov r8d, eax
lea rdx, str.btreeInitPage___returns_error_code__d
mov rcx, rsi
call fcn.1401a0520
jmp 0x14019ffe8
mov rcx, r15
call fcn.1401acc80
test eax, eax
je 0x14019fa12
mov r8d, eax
lea rdx, str.free_space_corruption
mov rcx, rsi
call fcn.1401a0520
jmp 0x14019ffe8
mov r11, qword [r15 + 0x50]
lea rax, str.Tree__u_page__u_cell__u:
movzx r8d, byte [r15 + 9]
mov qword [rsi + 0x30], rax
movzx edx, byte [r15 + 8]
mov qword [rsp + 0x50], r11
movzx ecx, byte [r8 + r11 + 5]
movzx eax, byte [r8 + r11 + 6]
movzx r10d, byte [r8 + r11 + 3]
shl ecx, 8
or ecx, eax
shl r10d, 8
movzx eax, byte [r8 + r11 + 4]
dec ecx
movzx r9d, cx
or r10d, eax
mov ecx, 3
mov dword [rsp + 0x64], r9d
sub ecx, edx
mov qword [rsp + 0x88], r8
inc r9d
mov dword [rsp + 0x4c], r10d
mov dword [rsp + 0x48], r9d
lea eax, [r8 + rcx*4]
mov dword [rsp + 0x60], eax
lea eax, [rax + r10*2]
add eax, 0xfffffffe
movsxd rcx, eax
add rcx, r11
mov qword [rsp + 0x70], rcx
test dl, dl
jne 0x14019fafa
mov edi, dword [r8 + r11 + 8]
bswap edi
cmp byte [r14 + 0x21], bl
je 0x14019fac3
mov r9d, dword [rsp + 0x3c]
lea rax, str.Tree__u_page__u_right_child:
mov r8b, 5
mov qword [rsi + 0x30], rax
mov edx, edi
mov rcx, rsi
call fcn.1401a0390
mov r9, qword [rsp + 0xb8]
lea r8, [rsp + 0xb8]
mov edx, edi
mov rcx, rsi
call fcn.14019f840
mov rcx, qword [rsp + 0x70]
mov r13d, r12d
mov r9d, dword [rsp + 0x48]
mov r10d, dword [rsp + 0x4c]
mov r11, qword [rsp + 0x50]
mov dword [rsp + 0x40], eax
jmp 0x14019fb01
mov rbx, qword [rsi + 0x68]
mov dword [rbx], r12d
lea r14d, [r10 - 1]
mov dword [rsp + 0x44], r14d
test r14d, r14d
js 0x14019fd15
mov r15d, dword [rsp + 0x30]
nop dword [rax + rax]
cmp dword [rsi + 0x1c], r12d
je 0x14019fd0b
mov dword [rsi + 0x40], r14d
lea ebp, [r15 - 4]
movzx eax, word [rcx]
sub rcx, 2
ror ax, 8
movzx edi, ax
mov qword [rsp + 0x70], rcx
cmp edi, r9d
jb 0x14019ff5a
cmp edi, ebp
ja 0x14019ff5a
mov rax, qword [rsp + 0x58]
lea r15, [r11 + rdi]
mov rcx, rax
lea r8, [rsp + 0x98]
mov rdx, r15
mov rax, qword [rax + 0x80]
call qword [case.0x1400faf48.0]
movzx r9d, word [rsp + 0xae]
mov edx, dword [rsp + 0x30]
lea eax, [rdi + r9]
cmp eax, edx
jbe 0x14019fbab
lea rdx, str.Extends_off_end_of_page
mov rcx, rsi
call fcn.1401a0520
mov ebp, r12d
mov dword [rsp + 0x38], r12d
jmp 0x14019fce8
mov rax, qword [rsp + 0x58]
cmp byte [rax + 1], r12b
je 0x14019fc14
mov rax, qword [rsp + 0x98]
mov ecx, r12d
test r13d, r13d
je 0x14019fbd3
cmp rax, qword [rsp + 0xb8]
setg cl
jmp 0x14019fbde
cmp rax, qword [rsp + 0xb8]
setge cl
test ecx, ecx
je 0x14019fc09
mov r8, rax
lea rdx, str.Rowid__lld_out_of_order
mov rcx, rsi
call fcn.1401a0520
movzx r9d, word [rsp + 0xae]
mov rax, qword [rsp + 0x98]
mov edx, dword [rsp + 0x30]
mov qword [rsp + 0xb8], rax
mov r13d, r12d
movzx ecx, word [rsp + 0xac]
mov eax, dword [rsp + 0xa8]
cmp eax, ecx
jbe 0x14019fc7b
sub eax, ecx
movzx ecx, r9w
add eax, 0xfffffffb
add eax, edx
xor edx, edx
div ebp
mov ebp, dword [rcx + r15 - 4]
mov r14d, eax
mov rax, qword [rsp + 0x78]
bswap ebp
cmp byte [rax + 0x21], r12b
je 0x14019fc5d
mov r9d, dword [rsp + 0x3c]
mov r8b, 3
mov edx, ebp
mov rcx, rsi
call fcn.1401a0390
mov r9d, r14d
mov r8d, ebp
xor edx, edx
mov rcx, rsi
call fcn.1401a00f0
movzx r9d, word [rsp + 0xae]
mov r14d, dword [rsp + 0x44]
mov rax, qword [rsp + 0x58]
cmp byte [rax + 8], r12b
jne 0x14019ff09
mov rax, qword [rsp + 0x78]
mov edi, dword [r15]
bswap edi
cmp byte [rax + 0x21], r12b
je 0x14019fcac
mov r9d, dword [rsp + 0x3c]
mov r8b, 5
mov edx, edi
mov rcx, rsi
call fcn.1401a0390
mov r9, qword [rsp + 0xb8]
lea r8, [rsp + 0xb8]
mov edx, edi
mov rcx, rsi
call fcn.14019f840
mov edi, eax
mov r13d, r12d
cmp eax, dword [rsp + 0x40]
je 0x14019fce4
lea rdx, str.Child_page_depth_differs
mov rcx, rsi
call fcn.1401a0520
mov dword [rsp + 0x40], edi
mov ebp, dword [rsp + 0x38]
mov r15d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
sub r14d, 1
mov r9d, dword [rsp + 0x48]
mov r11, qword [rsp + 0x50]
mov dword [rsp + 0x44], r14d
jns 0x14019fb20
mov r15, qword [rsp + 0x58]
mov r10d, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0xb8]
mov qword [rcx], rax
mov qword [rsi + 0x30], r12
test ebp, ebp
je 0x14019ffe0
cmp dword [rsi + 0x1c], r12d
jle 0x14019ffe8
mov r13, qword [rsp + 0x50]
cmp byte [r15 + 8], r12b
jne 0x14019fddb
mov rbx, qword [rsi + 0x68]
mov ebp, r10d
sub rbp, 1
mov dword [rbx], r12d
js 0x14019fddb
movsxd rax, dword [rsp + 0x60]
lea r14, [rax + rbp*2]
add r14, r13
nop dword [rax]
movzx eax, word [r14]
mov rcx, r15
ror ax, 8
movzx edi, ax
mov rax, qword [r15 + 0x78]
lea rdx, [rdi + r13]
call qword [case.0x1400faf48.0]
inc dword [rbx]
lea ecx, [rdi - 1]
mov r8d, dword [rbx]
shl edi, 0x10
movzx eax, ax
add ecx, eax
or ecx, edi
mov dword [rbx + r8*4], ecx
mov ecx, r8d
shr ecx, 1
je 0x14019fdd1
nop dword [rax]
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x14019fdd1
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x14019fdb0
sub r14, 2
sub rbp, 1
jns 0x14019fd70
mov r14, qword [rsp + 0x88]
movzx eax, byte [r14 + r13 + 1]
movzx r8d, byte [r14 + r13 + 2]
shl eax, 8
or r8d, eax
jbe 0x14019fe64
nop word [rax + rax]
movzx edx, byte [r8 + r13 + 2]
movzx eax, byte [r8 + r13 + 3]
inc dword [rbx]
shl edx, 8
or edx, eax
mov r10d, r8d
dec edx
add edx, r8d
shl r8d, 0x10
or edx, r8d
mov r8d, dword [rbx]
mov ecx, r8d
shr ecx, 1
mov dword [rbx + r8*4], edx
je 0x14019fe51
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x14019fe51
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x14019fe30
movzx eax, byte [r10 + r13]
movzx r8d, byte [r10 + r13 + 1]
shl eax, 8
or r8d, eax
ja 0x14019fe00
mov ebp, dword [rsp + 0x64]
nop dword [rax + rax]
mov eax, dword [rbx]
test eax, eax
je 0x14019ffab
mov r10d, dword [rbx + 4]
lea rcx, [rbx + rax*4]
mov eax, dword [rbx + rax*4]
mov r8d, 2
mov dword [rbx + 4], eax
mov r9d, 1
mov dword [rcx], 0xffffffff
dec dword [rbx]
cmp dword [rbx], r8d
jb 0x14019fee5
nop dword [rax]
nop word [rax + rax]
mov ecx, r8d
lea edx, [r8 + 1]
mov eax, dword [rbx + rdx*4]
cmp dword [rbx + rcx*4], eax
mov eax, r9d
cmovbe edx, r8d
mov ecx, edx
mov edx, dword [rbx + rax*4]
mov r8d, dword [rbx + rcx*4]
cmp edx, r8d
jb 0x14019fee5
mov dword [rbx + rax*4], r8d
mov r9d, ecx
lea r8d, [rcx + rcx]
mov dword [rbx + rcx*4], edx
cmp r8d, dword [rbx]
jbe 0x14019feb0
mov r8d, r10d
movzx eax, bp
shr r8d, 0x10
cmp eax, r8d
jae 0x14019ff7d
sub r8d, eax
dec r12d
add r12d, r8d
mov ebp, r10d
jmp 0x14019fe70
inc dword [rbx]
lea ecx, [rdi - 1]
mov r8d, dword [rbx]
shl edi, 0x10
movzx eax, r9w
add ecx, eax
or ecx, edi
mov dword [rbx + r8*4], ecx
mov ecx, r8d
shr ecx, 1
je 0x14019fce4
nop dword [rax + rax]
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x14019fce4
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x14019ff30
jmp 0x14019fce4
mov r8d, edi
mov dword [rsp + 0x20], ebp
lea rdx, str.Offset__u_out_of_range__u.._u
mov rcx, rsi
call fcn.1401a0520
mov ebp, r12d
mov dword [rsp + 0x38], r12d
jmp 0x14019fced
mov edi, dword [rsp + 0x3c]
lea rdx, str.Multiple_uses_for_byte__u_of_page__u
mov r9d, edi
mov rcx, rsi
call fcn.1401a0520
mov r8d, dword [rsp + 0x30]
movzx eax, bp
sub r8d, eax
dec r8d
add r8d, r12d
cmp dword [rbx], 0
jne 0x14019ffe8
jmp 0x14019ffc0
mov r8d, dword [rsp + 0x30]
mov edi, dword [rsp + 0x3c]
dec r8d
movzx eax, bp
sub r12d, eax
add r8d, r12d
movzx r9d, byte [r14 + r13 + 7]
cmp r8d, r9d
je 0x14019ffe8
lea rdx, str.Fragmentation_of__u_bytes_reported_as__u_on_page__u
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.1401a0520
jmp 0x14019ffe8
movzx eax, byte [rsp + 0x34]
mov byte [r15], al
mov rcx, r15
call fcn.1401ac690
mov r15, qword [rsp + 0xd8]
jmp 0x14019f937
xor eax, eax
jmp 0x14019f957