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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r15
sub rsp, 0x100
mov rax, qword [0x140110010]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, qword [rcx + 0x30]
lea r15, [rcx + 0x1c]
mov qword [rsp + 0xa0], rax
xor r12d, r12d
mov eax, dword [rcx + 0x3c]
mov r10d, edx
mov dword [rsp + 0x7c], eax
mov rsi, rcx
mov eax, dword [rcx + 0x40]
mov ebx, r12d
mov qword [rsp + 0x90], r8
mov r8, qword [rcx + 0x70]
mov dword [rsp + 0x80], eax
mov qword [rsp + 0xc8], r9
mov dword [rsp + 0x30], edx
mov eax, dword [r8 + 0x198]
mov dword [rsp + 0x40], 0xffffffff
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x50], r15
test eax, eax
je 0x140043a0d
inc dword [rcx + 0x20]
mov dword [rcx + 0x24], 9
mov dword [r15], r12d
jmp 0x140043a12
mov qword [rsp + 0x50], r15
cmp qword [r8 + 0x210], rbx
je 0x140043a52
inc dword [rcx + 0x28]
xor edx, edx
mov eax, dword [rcx + 0x28]
div dword [r8 + 0x220]
test edx, edx
jne 0x140043a52
mov rcx, qword [r8 + 0x218]
call qword [r8 + 0x210]
mov r10d, dword [rsp + 0x30]
test eax, eax
je 0x140043a52
inc dword [rsi + 0x20]
mov dword [rsi + 0x24], 9
mov dword [r15], r12d
cmp dword [r15], ebx
je 0x1400441fe
mov r8, qword [rsi]
mov qword [rsp + 0x70], r8
mov eax, dword [r8 + 0x38]
mov dword [rsp + 0x3c], eax
test r10d, r10d
je 0x14004425c
cmp r10d, dword [rsi + 0x18]
ja 0x14004424a
mov r9d, r10d
mov eax, r10d
shr r9, 3
and eax, 7
add r9, qword [rsi + 0x10]
movzx ecx, byte [r9]
bt ecx, eax
jae 0x140043ab1
lea rdx, str.2nd_reference_to_page__u
mov r8d, r10d
mov rcx, rsi
call fcn.1400434a0
xor eax, eax
jmp 0x140044221
bts ecx, eax
mov qword [rsp + 0xf8], rbp
mov byte [r9], cl
lea rax, str.Tree__u_page__u:
mov qword [rsi + 0x30], rax
xor r9d, r9d
mov dword [rsi + 0x3c], r10d
mov edx, r10d
mov rax, qword [r8]
lea r8, [rsp + 0xc0]
mov rcx, rax
call qword [rax + 0x110]
mov ebp, eax
test eax, eax
je 0x140043b18
mov r8d, eax
lea rdx, str.unable_to_get_the_page._error_code_d
mov rcx, rsi
call fcn.1400434a0
cmp ebp, 0xc0a
jne 0x1400441f6
mov dword [rsi + 0x24], 7
jmp 0x1400441f6
mov rcx, qword [rsp + 0xc0]
mov edx, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x70]
mov qword [rsp + 0xf0], r13
mov r13, qword [rcx + 0x10]
mov qword [rsp + 0xe8], r14
cmp edx, dword [r13 + 4]
je 0x140043b69
mov rax, qword [rcx + 8]
cmp edx, 1
mov qword [r13 + 0x50], rax
mov eax, r12d
mov qword [r13 + 0x70], rcx
mov ecx, 0x64
cmove eax, ecx
mov qword [r13 + 0x48], rbp
mov byte [r13 + 9], al
mov dword [r13 + 4], edx
movzx eax, byte [r13]
mov rcx, r13
mov byte [rsp + 0x34], al
mov byte [r13], bl
call fcn.140036de0
test eax, eax
je 0x140043b99
mov r8d, eax
lea rdx, str.btreeInitPage___returns_error_code__d
mov rcx, rsi
call fcn.1400434a0
jmp 0x140044195
mov rcx, r13
call fcn.140036ba0
test eax, eax
je 0x140043bbc
mov r8d, eax
lea rdx, str.free_space_corruption
mov rcx, rsi
call fcn.1400434a0
jmp 0x140044195
movzx r8d, byte [r13 + 9]
lea rax, str.Tree__u_page__u_cell__u:
mov r11, qword [r13 + 0x50]
mov edi, r8d
mov qword [rsi + 0x30], rax
movzx edx, byte [r13 + 8]
mov qword [rsp + 0x98], r8
movzx eax, byte [r8 + r11 + 6]
movzx ecx, byte [r8 + r11 + 5]
movzx r10d, byte [r11 + r8 + 4]
shl ecx, 8
or ecx, eax
mov qword [rsp + 0x68], r11
dec ecx
movzx eax, cx
mov ecx, 3
mov dword [rsp + 0x48], eax
sub ecx, edx
lea r9d, [rax + 1]
movzx eax, byte [r11 + r8 + 3]
shl eax, 8
or r10d, eax
mov dword [rsp + 0x60], r9d
lea eax, [r8 + rcx*4]
mov dword [rsp + 0x64], r10d
mov dword [rsp + 0x78], eax
lea eax, [rax + r10*2]
add eax, 0xfffffffe
movsxd r8, eax
add r8, r11
mov qword [rsp + 0x88], r8
test dl, dl
jne 0x140043caf
mov edi, dword [rdi + r11 + 8]
bswap edi
cmp byte [rbp + 0x21], bl
je 0x140043c70
mov r9d, dword [rsp + 0x30]
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.1400435f0
mov r9, qword [rsp + 0xc8]
lea r8, [rsp + 0xc8]
mov edx, edi
mov rcx, rsi
call fcn.140043970
mov r8, qword [rsp + 0x88]
mov ebp, r12d
mov r9d, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x64]
mov r11, qword [rsp + 0x68]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r12d
jmp 0x140043cba
mov rbx, qword [rsi + 0x68]
mov ebp, dword [rsp + 0x38]
mov dword [rbx], r12d
lea r14d, [r10 - 1]
mov dword [rsp + 0x58], r14d
test r14d, r14d
js 0x140043d81
mov ecx, dword [rsp + 0x3c]
add ecx, 0xfffffffc
mov dword [rsp + 0x5c], ecx
cmp dword [r15], r12d
je 0x140043d7c
mov dword [rsi + 0x40], r14d
movzx eax, word [r8]
sub r8, 2
ror ax, 8
movzx edi, ax
mov qword [rsp + 0x88], r8
cmp edi, r9d
jb 0x14004411a
cmp edi, ecx
ja 0x14004411a
lea r15, [r11 + rdi]
mov rcx, r13
mov rdx, r15
lea r8, [rsp + 0xa8]
call qword [r13 + 0x80]
movzx r9d, word [rsp + 0xbe]
mov edx, dword [rsp + 0x3c]
lea eax, [rdi + r9]
cmp eax, edx
jbe 0x140043f81
lea rdx, str.Extends_off_end_of_page
mov rcx, rsi
call fcn.1400434a0
mov dword [rsp + 0x44], r12d
mov r15, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x5c]
sub r14d, 1
mov r8, qword [rsp + 0x88]
mov r9d, dword [rsp + 0x60]
mov r11, qword [rsp + 0x68]
mov dword [rsp + 0x58], r14d
jns 0x140043cd7
mov r10d, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0xc8]
mov qword [rcx], rax
mov qword [rsi + 0x30], r12
cmp dword [rsp + 0x44], r12d
je 0x14004418c
cmp dword [r15], r12d
jle 0x140044195
mov r15, qword [rsp + 0x68]
cmp byte [r13 + 8], r12b
jne 0x140043e4b
mov rbx, qword [rsi + 0x68]
mov ebp, r10d
sub rbp, 1
mov dword [rbx], r12d
js 0x140043e4b
movsxd rax, dword [rsp + 0x78]
lea r14, [rax + rbp*2]
add r14, r15
nop dword [rax + rax]
movzx eax, word [r14]
mov rcx, r13
ror ax, 8
movzx edi, ax
lea rdx, [r15 + rdi]
call qword [r13 + 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 0x140043e41
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 0x140043e41
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x140043e20
sub r14, 2
sub rbp, 1
jns 0x140043de0
mov r14, qword [rsp + 0x98]
movzx r8d, byte [r15 + r14 + 1]
movzx eax, byte [r15 + r14 + 2]
shl r8d, 8
or r8d, eax
jbe 0x140043ed4
nop dword [rax + rax]
movzx edx, byte [r15 + r8 + 2]
movzx eax, byte [r15 + r8 + 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 0x140043ec1
mov eax, r8d
lea rdx, [rbx + rcx*4]
mov r8d, dword [rdx]
mov r9d, dword [rbx + rax*4]
cmp r8d, r9d
jbe 0x140043ec1
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x140043ea0
movzx eax, byte [r10 + r15]
movzx r8d, byte [r10 + r15 + 1]
shl eax, 8
or r8d, eax
ja 0x140043e70
mov ecx, dword [rsp + 0x48]
nop dword [rax + rax]
mov eax, dword [rbx]
test eax, eax
je 0x140044152
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 0x140043f55
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
cmova r8d, edx
mov r9d, dword [rbx + r8*4]
lea rcx, [rbx + r8*4]
mov edx, dword [rbx + rax*4]
cmp edx, r9d
jb 0x140043f55
mov dword [rbx + rax*4], r9d
mov r9d, r8d
add r8d, r8d
mov dword [rcx], edx
cmp r8d, dword [rbx]
jbe 0x140043f20
mov eax, dword [rsp + 0x48]
mov r8d, r10d
shr r8d, 0x10
movzx edi, ax
cmp edi, r8d
jae 0x14004413a
sub r8d, edi
dec r12d
mov ecx, r10d
add r12d, r8d
mov dword [rsp + 0x48], ecx
jmp 0x140043ee0
cmp byte [r13 + 1], r12b
je 0x140043fe9
mov rax, qword [rsp + 0xa8]
mov ecx, r12d
test ebp, ebp
je 0x140043fa3
cmp rax, qword [rsp + 0xc8]
setg cl
jmp 0x140043fae
cmp rax, qword [rsp + 0xc8]
setge cl
test ecx, ecx
je 0x140043fd9
mov r8, rax
lea rdx, str.Rowid__lld_out_of_order
mov rcx, rsi
call fcn.1400434a0
movzx r9d, word [rsp + 0xbe]
mov rax, qword [rsp + 0xa8]
mov edx, dword [rsp + 0x3c]
mov qword [rsp + 0xc8], rax
mov ebp, r12d
mov dword [rsp + 0x38], r12d
movzx ecx, word [rsp + 0xbc]
mov eax, dword [rsp + 0xb8]
cmp eax, ecx
jbe 0x140044056
sub eax, ecx
movzx ecx, r9w
add eax, 0xfffffffb
add eax, edx
xor edx, edx
div dword [rsp + 0x5c]
mov ebp, dword [rcx + r15 - 4]
mov r14d, eax
mov rax, qword [rsp + 0x70]
bswap ebp
cmp byte [rax + 0x21], r12b
je 0x140044034
mov r9d, dword [rsp + 0x30]
mov r8b, 3
mov edx, ebp
mov rcx, rsi
call fcn.1400435f0
mov r9d, r14d
mov r8d, ebp
xor edx, edx
mov rcx, rsi
call fcn.1400436b0
movzx r9d, word [rsp + 0xbe]
mov ebp, dword [rsp + 0x38]
mov r14d, dword [rsp + 0x58]
cmp byte [r13 + 8], r12b
jne 0x1400440c4
mov rax, qword [rsp + 0x70]
mov edi, dword [r15]
bswap edi
cmp byte [rax + 0x21], r12b
je 0x14004407e
mov r9d, dword [rsp + 0x30]
mov r8b, 5
mov edx, edi
mov rcx, rsi
call fcn.1400435f0
mov r9, qword [rsp + 0xc8]
lea r8, [rsp + 0xc8]
mov edx, edi
mov rcx, rsi
call fcn.140043970
mov edi, eax
mov ebp, r12d
mov dword [rsp + 0x38], r12d
cmp eax, dword [rsp + 0x40]
je 0x140043d52
lea rdx, str.Child_page_depth_differs
mov rcx, rsi
call fcn.1400434a0
mov dword [rsp + 0x40], edi
jmp 0x140043d52
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 0x140043d52
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 0x140043d52
mov dword [rdx], r9d
mov dword [rbx + rax*4], r8d
mov r8d, ecx
shr ecx, 1
jne 0x1400440f0
jmp 0x140043d52
mov dword [rsp + 0x20], ecx
lea rdx, str.Offset__u_out_of_range__u.._u
mov rcx, rsi
mov r8d, edi
call fcn.1400434a0
mov dword [rsp + 0x44], r12d
jmp 0x140043d57
mov ebp, dword [rsp + 0x30]
lea rdx, str.Multiple_uses_for_byte__u_of_page__u
mov r9d, ebp
mov rcx, rsi
call fcn.1400434a0
jmp 0x140044159
mov ebp, dword [rsp + 0x30]
movzx edi, cx
mov r8d, dword [rsp + 0x3c]
sub r8d, edi
dec r8d
add r8d, r12d
cmp dword [rbx], 0
jne 0x140044195
movzx r9d, byte [r14 + r15 + 7]
cmp r8d, r9d
je 0x140044195
lea rdx, str.Fragmentation_of__u_bytes_reported_as__u_on_page__u
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.1400434a0
jmp 0x140044195
movzx eax, byte [rsp + 0x34]
mov byte [r13], al
mov r14, qword [rsp + 0xe8]
test r13, r13
je 0x1400441ee
mov r8, qword [r13 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x140044240
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 r13, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xf8]
mov rax, qword [rsp + 0xa0]
mov qword [rsi + 0x30], rax
mov eax, dword [rsp + 0x7c]
mov dword [rsi + 0x3c], eax
mov eax, dword [rsp + 0x80]
mov dword [rsi + 0x40], eax
mov eax, dword [rsp + 0x40]
inc eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400f1490
add rsp, 0x100
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, r8
call fcn.140028ea0
jmp 0x1400441ee
lea rdx, str.invalid_page_number__u
mov r8d, r10d
mov rcx, rsi
call fcn.1400434a0
xor eax, eax
jmp 0x140044221