Function at 0x1402ab220
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 [0x1404af540]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx + 0x30]
mov r12d, 1
mov qword [rsp + 0x90], rax
xor r13d, r13d
mov eax, dword [rcx + 0x3c]
mov edi, edx
mov dword [rsp + 0x68], eax
mov rsi, rcx
mov eax, dword [rcx + 0x40]
mov r14d, r12d
mov dword [rsp + 0x6c], eax
mov ebx, r13d
mov qword [rsp + 0x88], r8
mov dword [rsp + 0x38], edx
mov qword [rsp + 0xb8], r9
mov dword [rsp + 0x44], 0xffffffff
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x40], r12d
call fcn.1402ab060
cmp dword [rsi + 0x1c], ebx
je 0x1402ab9ea
mov rbp, qword [rsi]
mov qword [rsp + 0x78], rbp
mov eax, dword [rbp + 0x38]
mov dword [rsp + 0x3c], eax
test edi, edi
je 0x1402aba36
mov edx, edi
mov rcx, rsi
call fcn.1402ab1b0
test eax, eax
jne 0x1402aba36
lea rax, str.Tree__u_page__u:
mov dword [rsi + 0x3c], edi
mov qword [rsi + 0x30], rax
lea r8, [rsp + 0xb0]
mov rax, qword [rbp]
xor r9d, r9d
mov edx, edi
mov rcx, rax
call qword [rax + 0x110]
mov edi, eax
test eax, eax
je 0x1402ab327
mov r8d, eax
lea rdx, str.unable_to_get_the_page._error_code_d
mov rcx, rsi
call fcn.1402aabe0
cmp edi, 0xc0a
jne 0x1402ab9ea
mov dword [rsi + 0x24], 7
jmp 0x1402ab9ea
mov rcx, qword [rsp + 0xb0]
mov edx, dword [rsp + 0x38]
mov qword [rsp + 0xd8], r15
mov r15, qword [rcx + 0x10]
cmp edx, dword [r15 + 4]
je 0x1402ab36b
mov rax, qword [rcx + 8]
cmp edx, r12d
mov qword [r15 + 0x50], rax
mov eax, r13d
mov qword [r15 + 0x70], rcx
mov ecx, 0x64
cmove eax, ecx
mov qword [r15 + 0x48], rbp
mov byte [r15 + 9], al
mov dword [r15 + 4], edx
movzx eax, byte [r15]
mov rcx, r15
mov byte [rsp + 0x30], al
mov byte [r15], bl
call fcn.1402a8310
test eax, eax
je 0x1402ab399
mov r8d, eax
lea rdx, str.btreeInitPage___returns_error_code__d
mov rcx, rsi
call fcn.1402aabe0
jmp 0x1402ab991
mov rcx, r15
call fcn.1402a7750
test eax, eax
je 0x1402ab3bc
mov r8d, eax
lea rdx, str.free_space_corruption
mov rcx, rsi
call fcn.1402aabe0
jmp 0x1402ab991
movzx edx, byte [r15 + 9]
lea rax, str.Tree__u_page__u_cell__u:
mov r9, qword [r15 + 0x50]
mov edi, edx
mov qword [rsi + 0x30], rax
mov qword [rsp + 0x58], r9
mov dword [rsp + 0x64], edx
movzx ecx, byte [r9 + rdx + 5]
movzx eax, byte [r9 + rdx + 6]
movzx r8d, byte [r9 + rdx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + rdx + 3]
dec ecx
shl eax, 8
movzx r10d, cx
or r8d, eax
inc r10d
mov dword [rsp + 0x50], r8d
lea rcx, [r15 + 8]
mov dword [rsp + 0x48], r10d
mov qword [rsp + 0x80], rcx
cmp byte [rcx], bl
jne 0x1402ab427
cmp byte [r15 + 1], bl
jne 0x1402ab42e
mov eax, r8d
add qword [rsi + 0x78], rax
movzx ecx, byte [rcx]
mov eax, 3
sub eax, ecx
lea eax, [rdx + rax*4]
mov dword [rsp + 0x60], eax
lea eax, [rax + r8*2]
add eax, 0xfffffffe
movsxd rdx, eax
add rdx, r9
mov qword [rsp + 0x70], rdx
test cl, cl
jne 0x1402ab4ba
mov edi, dword [r9 + rdi + 8]
bswap edi
cmp byte [rbp + 0x21], bl
je 0x1402ab47e
mov r9d, dword [rsp + 0x38]
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.1402ab0f0
mov r9, qword [rsp + 0xb8]
lea r8, [rsp + 0xb8]
mov edx, edi
mov rcx, rsi
call fcn.1402ab220
mov rdx, qword [rsp + 0x70]
mov r14d, r13d
mov r8d, dword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
mov r10d, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], r13d
jmp 0x1402ab4c1
mov rbx, qword [rsi + 0x68]
mov dword [rbx], r13d
lea eax, [r8 - 1]
mov dword [rsp + 0x4c], eax
test eax, eax
js 0x1402ab6be
cmp dword [rsi + 0x1c], r13d
je 0x1402ab6b9
mov dword [rsi + 0x40], eax
movzx eax, word [rdx]
sub rdx, 2
ror ax, 8
movzx edi, ax
mov eax, dword [rsp + 0x3c]
mov qword [rsp + 0x70], rdx
cmp edi, r10d
jb 0x1402ab90a
lea ebp, [rax - 4]
cmp edi, ebp
ja 0x1402ab90a
lea r12, [r9 + rdi]
mov rcx, r15
mov rdx, r12
lea r8, [rsp + 0x98]
call qword [r15 + 0x80]
movzx r9d, word [rsp + 0xae]
mov edx, dword [rsp + 0x3c]
lea eax, [rdi + r9]
cmp eax, edx
jbe 0x1402ab553
lea rdx, str.Extends_off_end_of_page
mov rcx, rsi
call fcn.1402aabe0
mov r12d, r13d
mov dword [rsp + 0x34], r13d
jmp 0x1402ab699
cmp byte [r15 + 1], r13b
je 0x1402ab5bc
mov rax, qword [rsp + 0x98]
mov ecx, r13d
test r14d, r14d
je 0x1402ab576
cmp rax, qword [rsp + 0xb8]
setg cl
jmp 0x1402ab581
cmp rax, qword [rsp + 0xb8]
setge cl
test ecx, ecx
je 0x1402ab5ac
mov r8, rax
lea rdx, str.Rowid__lld_out_of_order
mov rcx, rsi
call fcn.1402aabe0
movzx r9d, word [rsp + 0xae]
mov rax, qword [rsp + 0x98]
mov edx, dword [rsp + 0x3c]
mov qword [rsp + 0xb8], rax
mov r14d, r13d
mov dword [rsp + 0x40], r13d
movzx ecx, word [rsp + 0xac]
mov eax, dword [rsp + 0xa8]
cmp eax, ecx
jbe 0x1402ab623
sub eax, ecx
movzx ecx, r9w
add eax, 0xfffffffb
add eax, edx
xor edx, edx
div ebp
mov ebp, dword [rcx + r12 - 4]
mov r14d, eax
mov rax, qword [rsp + 0x78]
bswap ebp
cmp byte [rax + 0x21], r13b
je 0x1402ab605
mov r9d, dword [rsp + 0x38]
mov r8b, 3
mov edx, ebp
mov rcx, rsi
call fcn.1402ab0f0
mov r9d, r14d
mov r8d, ebp
xor edx, edx
mov rcx, rsi
call fcn.1402aadd0
movzx r9d, word [rsp + 0xae]
mov r14d, dword [rsp + 0x40]
mov rax, qword [rsp + 0x80]
cmp byte [rax], r13b
jne 0x1402ab8b9
mov rax, qword [rsp + 0x78]
mov edi, dword [r12]
bswap edi
cmp byte [rax + 0x21], r13b
je 0x1402ab657
mov r9d, dword [rsp + 0x38]
mov r8b, 5
mov edx, edi
mov rcx, rsi
call fcn.1402ab0f0
mov r9, qword [rsp + 0xb8]
lea r8, [rsp + 0xb8]
mov edx, edi
mov rcx, rsi
call fcn.1402ab220
mov edi, eax
mov r14d, r13d
mov dword [rsp + 0x40], r13d
cmp eax, dword [rsp + 0x44]
je 0x1402ab694
lea rdx, str.Child_page_depth_differs
mov rcx, rsi
call fcn.1402aabe0
mov dword [rsp + 0x44], edi
mov r12d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x70]
sub eax, 1
mov r9, qword [rsp + 0x58]
mov r10d, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
jns 0x1402ab4d1
mov r8d, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0xb8]
mov qword [rcx], rax
mov qword [rsi + 0x30], r13
test r12d, r12d
je 0x1402ab989
cmp dword [rsi + 0x1c], r13d
jle 0x1402ab991
mov r12, qword [rsp + 0x58]
cmp byte [r15 + 8], r13b
jne 0x1402ab78b
mov rbx, qword [rsi + 0x68]
mov ebp, r8d
sub rbp, 1
mov dword [rbx], r13d
js 0x1402ab78b
movsxd rax, dword [rsp + 0x60]
lea r14, [rax + rbp*2]
add r14, r12
nop word [rax + rax]
movzx eax, word [r14]
mov rcx, r15
ror ax, 8
movzx edi, ax
lea rdx, [r12 + rdi]
call qword [r15 + 0x78]
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 0x1402ab781
nop dword [rax]
nop word [rax + rax]
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x1402ab781
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x1402ab760
sub r14, 2
sub rbp, 1
jns 0x1402ab720
mov r14d, dword [rsp + 0x64]
movzx eax, r14b
movzx ecx, byte [rax + r12 + 1]
movzx r10d, byte [rax + r12 + 2]
shl ecx, 8
or r10d, ecx
jbe 0x1402ab818
nop dword [rax + rax]
movzx eax, byte [r10 + r12 + 3]
movzx edx, byte [r10 + r12 + 2]
inc dword [rbx]
mov r8d, dword [rbx]
shl edx, 8
mov ecx, r8d
or edx, eax
mov eax, r10d
dec edx
shl eax, 0x10
add edx, r10d
or edx, eax
shr ecx, 1
mov dword [rbx + r8*4], edx
je 0x1402ab801
nop
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x1402ab801
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x1402ab7e0
mov eax, r10d
movzx r10d, byte [r10 + r12]
shl r10d, 8
movzx eax, byte [rax + r12 + 1]
or r10d, eax
ja 0x1402ab7b0
mov edi, dword [rsp + 0x48]
dec edi
nop
mov eax, dword [rbx]
test eax, eax
je 0x1402ab94b
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 0x1402ab895
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 0x1402ab895
mov dword [rbx + rax*4], r8d
mov r9d, ecx
lea r8d, [rcx + rcx]
mov dword [rbx + rcx*4], edx
cmp r8d, dword [rbx]
jbe 0x1402ab860
mov r8d, r10d
movzx eax, di
shr r8d, 0x10
cmp eax, r8d
jae 0x1402ab933
sub r8d, eax
dec r13d
add r13d, r8d
mov edi, r10d
jmp 0x1402ab820
inc dword [rbx]
mov r8d, dword [rbx]
movzx ecx, r9w
dec ecx
add ecx, edi
shl edi, 0x10
or ecx, edi
mov dword [rbx + r8*4], ecx
mov ecx, r8d
shr ecx, 1
je 0x1402ab694
nop word [rax + rax]
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x1402ab694
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x1402ab8e0
jmp 0x1402ab694
add eax, 0xfffffffc
lea rdx, str.Offset__u_out_of_range__u.._u
mov r9d, r10d
mov dword [rsp + 0x20], eax
mov r8d, edi
mov rcx, rsi
call fcn.1402aabe0
mov r12d, r13d
mov dword [rsp + 0x34], r13d
jmp 0x1402ab699
mov ebp, dword [rsp + 0x38]
lea rdx, str.Multiple_uses_for_byte__u_of_page__u
mov r9d, ebp
mov rcx, rsi
call fcn.1402aabe0
jmp 0x1402ab94f
mov ebp, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
movzx eax, di
sub r8d, eax
dec r8d
add r8d, r13d
cmp dword [rbx], 0
jne 0x1402ab991
movzx eax, r14b
movzx r9d, byte [rax + r12 + 7]
cmp r8d, r9d
je 0x1402ab991
lea rdx, str.Fragmentation_of__u_bytes_reported_as__u_on_page__u
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.1402aabe0
jmp 0x1402ab991
movzx eax, byte [rsp + 0x30]
mov byte [r15], al
test r15, r15
je 0x1402ab9e2
mov r8, qword [r15 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1402aba2c
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
imul rdx, qword [r10 + 0xc8]
mov r9, qword [rcx]
call qword [r9 + 0x90]
mov r15, qword [rsp + 0xd8]
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 + 0x44]
inc eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1403ca460
add rsp, 0xe0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, r8
call fcn.14036ff60
jmp 0x1402ab9e2
xor eax, eax
jmp 0x1402aba0a