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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x80], 0
je 0x14016b56f
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x1c], 0
je 0x14016b56f
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.14016b1a0
test eax, eax
je 0x14016b385
jmp 0x14016b56f
mov eax, dword [rsp + 0x88]
dec eax
mov dword [rsp + 0x88], eax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, dword [rsp + 0x80]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
call fcn.1400eac30
test eax, eax
je 0x14016b3d4
mov r8d, dword [rsp + 0x80]
lea rdx, str.failed_to_get_page__d
mov rcx, qword [rsp + 0x70]
call fcn.14016afe0
jmp 0x14016b56f
mov rcx, qword [rsp + 0x50]
call fcn.1400eb120
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x78], 0
je 0x14016b50e
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140135d50
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14016b435
xor r9d, r9d
mov r8b, 2
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.14016b250
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
xor edx, edx
mov eax, dword [rax + 0x38]
mov ecx, 4
div ecx
sub eax, 2
cmp dword [rsp + 0x34], eax
jbe 0x14016b480
mov r8d, dword [rsp + 0x80]
lea rdx, str.freelist_leaf_count_too_big_on_page__d
mov rcx, qword [rsp + 0x70]
call fcn.14016afe0
mov eax, dword [rsp + 0x88]
dec eax
mov dword [rsp + 0x88], eax
jmp 0x14016b50c
mov dword [rsp + 0x30], 0
jmp 0x14016b494
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jge 0x14016b4f6
mov eax, dword [rsp + 0x30]
lea eax, [rax*4 + 8]
cdqe
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140135d50
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14016b4e6
xor r9d, r9d
mov r8b, 2
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.14016b250
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.14016b1a0
jmp 0x14016b48a
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
jmp 0x14016b54f
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14016b54f
cmp dword [rsp + 0x88], 0
jbe 0x14016b54f
mov rcx, qword [rsp + 0x48]
call fcn.140135d50
mov dword [rsp + 0x30], eax
mov r9d, dword [rsp + 0x80]
mov r8b, 4
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.14016b250
mov rcx, qword [rsp + 0x48]
call fcn.140135d50
mov dword [rsp + 0x80], eax
mov rcx, qword [rsp + 0x50]
call fcn.1400eacf0
jmp 0x14016b34e
cmp dword [rsp + 0x88], 0
je 0x14016b5d8
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x20]
cmp dword [rsp + 0x40], eax
jne 0x14016b5d8
cmp dword [rsp + 0x78], 0
je 0x14016b59c
lea rax, str.size
mov qword [rsp + 0x58], rax
jmp 0x14016b5a8
lea rax, str.overflow_list_length
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8, qword [rsp + 0x58]
lea rdx, str._s_is__d_but_should_be__d
mov rcx, qword [rsp + 0x70]
call fcn.14016afe0
add rsp, 0x68
ret