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

Disassembly:
push 0xffffffffffffffff
push 0x716ba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov eax, 0xd
mov ebp, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x7c]
push esi
cmp eax, ecx
push edi
jl 0x5f1e16
push str.Internal_error_in_page_tree
push 0xffffffffffffffff
push 1
call fcn.006033f0
push 0x48
call fcn.0044f661
add esp, 0x10
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], 0
jmp 0x5f1f05
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x5f21d4
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5f1e43
mov ecx, dword [ebx]
cmp ecx, dword [eax]
jne 0x5f1e3c
mov edx, dword [ebx + 4]
mov esi, dword [eax + 4]
cmp edx, esi
je 0x5f1ede
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5f1e2a
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x10]
push 0
push eax
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 9
call fcn.005f2dd0
cmp dword [eax], 7
je 0x5f1f44
lea ecx, [esp + 0x10]
call fcn.005f2f00
push eax
push str.Page_tree_object_is_wrong_type__0:s_
push 0xffffffffffffffff
push 1
call fcn.006033f0
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.005f2e10
lea ecx, [esp + 0x30]
call fcn.005f2e10
push 0x48
call fcn.0044f661
add esp, 4
mov dword [esp + 0x84], eax
mov esi, dword [esp + 0x80]
mov dword [esp + 0x78], 2
test eax, eax
je 0x5f1f36
mov edx, dword [ebp]
push esi
push edx
mov ecx, eax
call fcn.005f4f20
mov ecx, dword [ebp + 0xc]
mov dword [ecx + esi*4 - 4], eax
jmp 0x5f2282
push str.Loop_in_Pages_tree
push 0xffffffffffffffff
push 1
call fcn.006033f0
push 0x48
call fcn.0044f661
add esp, 0x10
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], 1
mov esi, dword [esp + 0x80]
test eax, eax
je 0x5f1f28
mov ecx, dword [ebp]
push esi
push ecx
mov ecx, eax
call fcn.005f4f20
mov edx, dword [ebp + 0xc]
mov dword [edx + esi*4 - 4], eax
jmp 0x5f2282
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [edx + esi*4 - 4], eax
jmp 0x5f2282
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx + esi*4 - 4], eax
jmp 0x5f2282
push 0x128
call fcn.0044f661
add esp, 4
mov dword [esp + 0x88], eax
test eax, eax
mov dword [esp + 0x78], 3
je 0x5f1f92
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x5f1f7f
mov ecx, dword [esp + 0x18]
mov edx, dword [edx + 0x14]
push ecx
push edx
mov ecx, eax
call fcn.005f4640
mov esi, eax
jmp 0x5f1f94
mov ecx, dword [esp + 0x18]
xor edx, edx
push ecx
push edx
mov ecx, eax
call fcn.005f4640
mov esi, eax
jmp 0x5f1f94
xor esi, esi
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x50]
push 0
or edi, 0xffffffff
push edx
push str.Kids
mov dword [esp + 0x84], edi
call fcn.005f4430
cmp dword [eax], 6
jne 0x5f2102
push 0x10
mov dword [ebx + 0x14], esi
call fcn.0044f661
add esp, 4
mov dword [esp + 0x88], eax
test eax, eax
mov dword [esp + 0x78], 4
je 0x5f1fe5
mov ecx, eax
call fcn.005e0ca0
jmp 0x5f1fe7
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0x10], eax
mov dword [esp + 0x78], edi
xor edi, edi
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x5f21b9
lea eax, [esp + 0x20]
push eax
push edi
call fcn.00603800
cmp dword [eax], 9
jne 0x5f20cb
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x40]
push 0
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.005f2dd0
cmp dword [eax], 7
jne 0x5f20a5
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x60]
push 0
push eax
push str.Count
call fcn.005f4430
mov ecx, dword [eax]
mov esi, dword [esp + 0x68]
cmp ecx, 1
je 0x5f2051
mov esi, 1
lea ecx, [esp + 0x60]
call fcn.005f2e10
push 0x18
call fcn.0044f661
add esp, 4
test eax, eax
je 0x5f208f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ebx
push esi
push ecx
push edx
mov ecx, eax
call fcn.005f1440
mov ecx, dword [ebx + 0x10]
push eax
call fcn.005e0cd0
lea ecx, [esp + 0x40]
call fcn.005f2e10
jmp 0x5f20e6
mov ecx, dword [ebx + 0x10]
xor eax, eax
push eax
call fcn.005e0cd0
lea ecx, [esp + 0x40]
call fcn.005f2e10
jmp 0x5f20e6
lea ecx, [esp + 0x40]
call fcn.005f2f00
push eax
push str.Page_tree_object_is_wrong_type__0:s_
push 0xffffffffffffffff
push 1
call fcn.006033f0
add esp, 0x10
lea ecx, [esp + 0x40]
call fcn.005f2e10
jmp 0x5f20e6
lea ecx, [esp + 0x20]
call fcn.005f2f00
push eax
push str.Page_tree_reference_is_wrong_type__0:s_
push 0xffffffffffffffff
push 1
call fcn.006033f0
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.005f2e10
mov ecx, dword [esp + 0x58]
inc edi
cmp edi, dword [ecx + 0xc]
jl 0x5f1fff
jmp 0x5f21b9
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x80]
mov ecx, dword [ebx]
push 0x48
mov dword [eax + edi*8 - 8], ecx
mov edx, dword [ebx + 4]
mov dword [eax + edi*8 - 4], edx
call fcn.0044f661
add esp, 4
mov dword [esp + 0x88], eax
test eax, eax
mov dword [esp + 0x78], 5
je 0x5f214a
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
push esi
push ecx
push edi
push edx
mov ecx, eax
call fcn.005f4df0
jmp 0x5f214c
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x78], 0xffffffff
mov dword [ecx + edi*4 - 4], eax
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + edi*4 - 4]
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x5f21b9
test esi, esi
je 0x5f217d
mov ecx, esi
call fcn.005f4f80
push esi
call fcn.0044f656
add esp, 4
push 0x48
call fcn.0044f661
add esp, 4
mov dword [esp + 0x88], eax
test eax, eax
mov dword [esp + 0x78], 6
je 0x5f21a8
mov ecx, dword [ebp]
push edi
push ecx
mov ecx, eax
call fcn.005f4f20
jmp 0x5f21aa
xor eax, eax
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x78], 0xffffffff
mov dword [edx + edi*4 - 4], eax
lea ecx, [esp + 0x50]
call fcn.005f2e10
lea ecx, [esp + 0x10]
call fcn.005f2e10
lea ecx, [esp + 0x30]
call fcn.005f2e10
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x5f2282
mov edi, dword [eax + 8]
xor esi, esi
test edi, edi
jle 0x5f222a
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
cmp dword [esp + 0x84], eax
jl 0x5f2212
mov edx, dword [esp + 0x84]
add ecx, 4
sub edx, eax
inc esi
cmp esi, edi
mov dword [esp + 0x84], edx
jl 0x5f21ea
jmp 0x5f222a
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.005f1da0
mov edx, dword [ebx + 0x10]
cmp esi, dword [edx + 8]
jne 0x5f2282
push str.Invalid_page_count_in_page_tree
push 0xffffffffffffffff
push 1
call fcn.006033f0
push 0x48
call fcn.0044f661
add esp, 0x10
mov dword [esp + 0x84], eax
test eax, eax
mov dword [esp + 0x78], 7
je 0x5f2272
mov ecx, dword [esp + 0x80]
mov edx, dword [ebp]
push ecx
push edx
mov ecx, eax
call fcn.005f4f20
jmp 0x5f2274
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x80]
mov dword [ecx + edx*4 - 4], eax
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0xc