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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x28], rax
xor eax, eax
mov word [rsp + 0x20], ax
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x60], 0
movsxd rax, dword [rsp + 0x88]
cmp rax, 0x1020
jne 0x140006ba6
xor edx, edx
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov ecx, 0x1000
div ecx
mov eax, edx
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
and eax, 0xfffff000
mov eax, eax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x3c], eax
jmp 0x140006bee
xor edx, edx
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov ecx, 0x1000
div rcx
mov rax, rdx
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
and rax, 0xfffffffffffff000
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x88], 0
je 0x140006e88
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x40]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x60]
call fcn.140006ea0
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x88]
cmp rax, 0x1020
jne 0x140006d57
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 8], rcx
cmp dword [rsp + 0x38], 0
jl 0x140006d52
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 1
jne 0x140006c93
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov cl, byte [rcx + 1]
mov byte [rax], cl
jmp 0x140006d2b
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 2
jne 0x140006cd5
movzx eax, word [rsp + 0x20]
cmp eax, 0xffe
jle 0x140006cc2
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0xc000000d
xor al, al
jmp 0x140006e99
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 2]
mov word [rax], cx
jmp 0x140006d2b
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 4
jne 0x140006d15
movzx eax, word [rsp + 0x20]
cmp eax, 0xffc
jle 0x140006d04
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0xc000000d
xor al, al
jmp 0x140006e99
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 4]
mov dword [rax], ecx
jmp 0x140006d2b
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0xc000000d
xor al, al
jmp 0x140006e99
movsxd rax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x38], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.140007068
mov dword [rsp + 0x38], eax
jmp 0x140006e77
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 8], rcx
cmp dword [rsp + 0x38], 0
jl 0x140006e77
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
cmp eax, 1
jne 0x140006dbe
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov cl, byte [rcx + 1]
mov byte [rax], cl
jmp 0x140006e50
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
cmp eax, 2
jne 0x140006e00
movzx eax, word [rsp + 0x20]
cmp eax, 0xffe
jle 0x140006ded
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0xc000000d
xor al, al
jmp 0x140006e99
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx + 2]
mov word [rax], cx
jmp 0x140006e50
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
cmp eax, 4
jne 0x140006e3d
movzx eax, word [rsp + 0x20]
cmp eax, 0xffc
jle 0x140006e2c
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0xc000000d
xor al, al
jmp 0x140006e99
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 4]
mov dword [rax], ecx
jmp 0x140006e50
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0xc000000d
xor al, al
jmp 0x140006e99
movsxd rax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x38], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.140007068
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x30], ecx
jmp 0x140006e97
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], 0xc000000d
mov al, 1
add rsp, 0x78
ret