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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x88]
and eax, 1
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x78], 1
je 0x14006c39c
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x94]
test eax, eax
je 0x14006c39c
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x14]
cmp eax, 1
je 0x14006c392
mov eax, dword [rsp + 0x88]
and eax, 2
test eax, eax
je 0x14006c39c
mov dword [rsp + 0x3c], 1
jmp 0x14006c3a4
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x78], 0
jne 0x14006c3c2
mov ecx, 0xb450
call fcn.1400558a0
jmp 0x14006c7f3
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x2c], 0
je 0x14006c3de
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x20], eax
jmp 0x14006c5c8
cmp dword [rsp + 0x38], 0
je 0x14006c41d
mov rcx, qword [rsp + 0x70]
call fcn.14003ef30
test eax, eax
je 0x14006c41d
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x118]
call fcn.1400939c0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14006c41d
jmp 0x14006c7c4
cmp dword [rsp + 0x38], 0
je 0x14006c531
cmp dword [rsp + 0x30], 0
jne 0x14006c531
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x78]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x70]
movsxd rcx, dword [rcx + 0xbc]
imul rax, rcx
lea r9, [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
mov r8d, dword [rcx + 0xbc]
mov rdx, rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x48]
call fcn.14006bbe0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14006c525
cmp qword [rsp + 0x40], 0
je 0x14006c525
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x14]
cmp eax, 1
jle 0x14006c4b2
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14006d1e0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14006c4d8
lea r9, [rsp + 0x28]
mov r8, qword [rsp + 0x40]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14003dfc0
mov dword [rsp + 0x20], eax
jmp 0x14006c506
mov eax, dword [rsp + 0x78]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x70]
movsxd rcx, dword [rcx + 0xbc]
imul rax, rcx
mov r8, qword [rsp + 0x40]
mov rdx, rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x48]
call fcn.14006c060
cmp qword [rsp + 0x28], 0
je 0x14006c525
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
xor eax, eax
jmp 0x14006c7f3
cmp dword [rsp + 0x20], 0
je 0x14006c531
jmp 0x14006c7c4
mov r8d, 3
mov edx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x110]
call fcn.14006fda0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14006c583
lea r8, [rsp + 0x48]
mov edx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x110]
call fcn.14006fe90
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14006c583
jmp 0x14006c7c4
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x110]
call fcn.14006fdf0
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14006c5c8
mov dword [rsp + 0x20], 7
cmp dword [rsp + 0x20], 0
je 0x14006c5dd
mov qword [rsp + 0x28], 0
jmp 0x14006c7c4
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp qword [rax + 0x20], 0
je 0x14006c62e
cmp dword [rsp + 0x34], 0
jne 0x14006c62e
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0xf0]
inc eax
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov dword [rdx + rcx + 0xf0], eax
xor eax, eax
jmp 0x14006c7f3
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x20], rcx
cmp dword [rsp + 0x78], 0x7fffffff
ja 0x14006c670
mov eax, dword [0x1400e5c28]
cdq
mov rcx, qword [rsp + 0x70]
idiv dword [rcx + 0xbc]
inc eax
cmp dword [rsp + 0x78], eax
jne 0x14006c683
mov ecx, 0xb49f
call fcn.1400558a0
mov dword [rsp + 0x20], eax
jmp 0x14006c7c4
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x13]
test eax, eax
jne 0x14006c6b8
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
cmp dword [rax + 0x1c], ecx
jb 0x14006c6b8
cmp dword [rsp + 0x34], 0
jne 0x14006c6b8
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x48]
cmp qword [rax], 0
jne 0x14006c73d
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc0]
cmp dword [rsp + 0x78], eax
jbe 0x14006c6d6
mov dword [rsp + 0x20], 0xd
jmp 0x14006c7c4
cmp dword [rsp + 0x34], 0
je 0x14006c715
call fcn.14004e550
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x20]
cmp dword [rsp + 0x78], eax
ja 0x14006c702
mov edx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x40]
call fcn.14004f510
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14001cd10
call fcn.14005a0a0
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0xbc]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x28]
mov rdi, qword [rcx + 8]
xor eax, eax
mov rcx, qword [rsp + 0x50]
rep stosb byte [rdi], al
jmp 0x14006c7c0
mov rcx, qword [rsp + 0x70]
call fcn.14003ef30
test eax, eax
je 0x14006c779
cmp dword [rsp + 0x38], 0
jne 0x14006c779
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x118]
call fcn.1400939c0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14006c779
jmp 0x14006c7c4
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0xf0]
inc eax
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x70]
mov dword [rdx + rcx + 0xf0], eax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.140044540
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14006c7c0
jmp 0x14006c7c4
xor eax, eax
jmp 0x14006c7f3
cmp qword [rsp + 0x28], 0
je 0x14006c7d6
mov rcx, qword [rsp + 0x28]
call fcn.14006fd10
mov rcx, qword [rsp + 0x70]
call fcn.14003eef0
mov rax, qword [rsp + 0x80]
mov qword [rax], 0
mov eax, dword [rsp + 0x20]
add rsp, 0x60
pop rdi
ret