Function at 0x180067d80
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
cmp dword [rsp + 0x88], 0
jne 0x18006820c
cmp dword [rsp + 0x78], 0
jg 0x180067dba
cmp dword [rsp + 0x80], 1
jle 0x180068207
mov eax, dword [rsp + 0x90]
mov dword [rsp], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp], eax
jge 0x180068051
mov eax, dword [rsp]
dec eax
test eax, eax
jge 0x180067df4
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x14], eax
jmp 0x180067e34
mov eax, dword [rsp]
dec eax
cmp eax, dword [rsp + 0x78]
jl 0x180067e17
mov eax, dword [rsp + 0x78]
lea eax, [rax + rax - 1]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0xc], eax
jmp 0x180067e2c
mov eax, dword [rsp]
lea eax, [rax + rax - 1]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x14], eax
cmp dword [rsp], 0
jge 0x180067e51
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x18], eax
jmp 0x180067e8f
mov eax, dword [rsp + 0x78]
cmp dword [rsp], eax
jl 0x180067e72
mov eax, dword [rsp + 0x78]
lea eax, [rax + rax - 1]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x10], eax
jmp 0x180067e87
mov eax, dword [rsp]
lea eax, [rax + rax + 1]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
mov dword [rsp + 0x18], eax
mov eax, dword [rsp]
add eax, eax
cdqe
mov ecx, dword [rsp + 0x14]
mov edx, dword [rsp + 0x18]
lea ecx, [rcx + rdx + 2]
sar ecx, 2
mov rdx, qword [rsp + 0x70]
mov eax, dword [rdx + rax*4]
sub eax, ecx
mov ecx, dword [rsp]
add ecx, ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x70]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 4], eax
jle 0x180067ee4
mov eax, dword [rsp + 0x78]
mov dword [rsp + 4], eax
jmp 0x180067eee
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 4]
cmp dword [rsp], eax
jge 0x180067f47
mov eax, dword [rsp]
add eax, eax
cdqe
mov ecx, dword [rsp]
lea ecx, [rcx + rcx - 1]
movsxd rcx, ecx
mov edx, dword [rsp]
lea edx, [rdx + rdx + 1]
movsxd rdx, edx
mov r8, qword [rsp + 0x70]
mov ecx, dword [r8 + rcx*4]
mov r8, qword [rsp + 0x70]
mov edx, dword [r8 + rdx*4]
lea ecx, [rcx + rdx + 2]
sar ecx, 2
mov rdx, qword [rsp + 0x70]
mov eax, dword [rdx + rax*4]
sub eax, ecx
mov ecx, dword [rsp]
add ecx, ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x70]
mov dword [rdx + rcx*4], eax
jmp 0x180067ee6
jmp 0x180067f51
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp], eax
jge 0x180068051
mov eax, dword [rsp]
dec eax
test eax, eax
jge 0x180067f81
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x24], eax
jmp 0x180067fc1
mov eax, dword [rsp]
dec eax
cmp eax, dword [rsp + 0x78]
jl 0x180067fa4
mov eax, dword [rsp + 0x78]
lea eax, [rax + rax - 1]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x1c], eax
jmp 0x180067fb9
mov eax, dword [rsp]
lea eax, [rax + rax - 1]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 0x1c]
mov dword [rsp + 0x24], eax
cmp dword [rsp], 0
jge 0x180067fde
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x28], eax
jmp 0x18006801c
mov eax, dword [rsp + 0x78]
cmp dword [rsp], eax
jl 0x180067fff
mov eax, dword [rsp + 0x78]
lea eax, [rax + rax - 1]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x20], eax
jmp 0x180068014
mov eax, dword [rsp]
lea eax, [rax + rax + 1]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp]
add eax, eax
cdqe
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
lea ecx, [rcx + rdx + 2]
sar ecx, 2
mov rdx, qword [rsp + 0x70]
mov eax, dword [rdx + rax*4]
sub eax, ecx
mov ecx, dword [rsp]
add ecx, ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x70]
mov dword [rdx + rcx*4], eax
jmp 0x180067f49
mov eax, dword [rsp + 0xa0]
mov dword [rsp], eax
mov eax, dword [rsp + 0xa8]
cmp dword [rsp], eax
jge 0x180068207
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 8], eax
jl 0x180068090
mov eax, dword [rsp + 0x80]
dec eax
mov dword [rsp + 8], eax
jmp 0x18006809a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 8]
cmp dword [rsp], eax
jge 0x1800680f0
mov eax, dword [rsp]
lea eax, [rax + rax + 1]
cdqe
mov ecx, dword [rsp]
add ecx, ecx
movsxd rcx, ecx
mov edx, dword [rsp]
lea edx, [rdx + rdx + 2]
movsxd rdx, edx
mov r8, qword [rsp + 0x70]
mov ecx, dword [r8 + rcx*4]
mov r8, qword [rsp + 0x70]
add ecx, dword [r8 + rdx*4]
sar ecx, 1
mov rdx, qword [rsp + 0x70]
add ecx, dword [rdx + rax*4]
mov eax, ecx
mov ecx, dword [rsp]
lea ecx, [rcx + rcx + 1]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x70]
mov dword [rdx + rcx*4], eax
jmp 0x180068092
jmp 0x1800680fa
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0xa8]
cmp dword [rsp], eax
jge 0x180068207
cmp dword [rsp], 0
jge 0x180068127
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x38], eax
jmp 0x180068169
mov eax, dword [rsp + 0x80]
cmp dword [rsp], eax
jl 0x18006814e
mov eax, dword [rsp + 0x80]
lea eax, [rax + rax - 2]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x2c], eax
jmp 0x180068161
mov eax, dword [rsp]
add eax, eax
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp]
inc eax
test eax, eax
jge 0x180068189
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x34], eax
jmp 0x1800681cf
mov eax, dword [rsp]
inc eax
cmp eax, dword [rsp + 0x80]
jl 0x1800681b2
mov eax, dword [rsp + 0x80]
lea eax, [rax + rax - 2]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x30], eax
jmp 0x1800681c7
mov eax, dword [rsp]
lea eax, [rax + rax + 2]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp]
lea eax, [rax + rax + 1]
cdqe
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x38]
add edx, ecx
mov ecx, edx
sar ecx, 1
mov rdx, qword [rsp + 0x70]
add ecx, dword [rdx + rax*4]
mov eax, ecx
mov ecx, dword [rsp]
lea ecx, [rcx + rcx + 1]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x70]
mov dword [rdx + rcx*4], eax
jmp 0x1800680f2
jmp 0x18006847e
cmp dword [rsp + 0x80], 0
jne 0x180068249
cmp dword [rsp + 0x78], 1
jne 0x180068249
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
cdq
sub eax, edx
sar eax, 1
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov dword [rdx + rcx], eax
jmp 0x18006847e
mov eax, dword [rsp + 0x90]
mov dword [rsp], eax
jmp 0x18006825d
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp], eax
jge 0x18006835f
cmp dword [rsp], 0
jge 0x18006828a
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x44], eax
jmp 0x1800682c6
mov eax, dword [rsp + 0x78]
cmp dword [rsp], eax
jl 0x1800682ab
mov eax, dword [rsp + 0x78]
lea eax, [rax + rax - 2]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x3c], eax
jmp 0x1800682be
mov eax, dword [rsp]
add eax, eax
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp]
inc eax
test eax, eax
jge 0x1800682e6
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x48], eax
jmp 0x180068326
mov eax, dword [rsp]
inc eax
cmp eax, dword [rsp + 0x78]
jl 0x180068309
mov eax, dword [rsp + 0x78]
lea eax, [rax + rax - 2]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x40], eax
jmp 0x18006831e
mov eax, dword [rsp]
lea eax, [rax + rax + 2]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp]
lea eax, [rax + rax + 1]
cdqe
mov ecx, dword [rsp + 0x44]
mov edx, dword [rsp + 0x48]
lea ecx, [rcx + rdx + 2]
sar ecx, 2
mov rdx, qword [rsp + 0x70]
mov eax, dword [rdx + rax*4]
sub eax, ecx
mov ecx, dword [rsp]
lea ecx, [rcx + rcx + 1]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x70]
mov dword [rdx + rcx*4], eax
jmp 0x180068255
mov eax, dword [rsp + 0xa0]
mov dword [rsp], eax
jmp 0x180068373
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0xa8]
cmp dword [rsp], eax
jge 0x18006847e
cmp dword [rsp], 0
jge 0x1800683a0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x58], eax
jmp 0x1800683e4
mov eax, dword [rsp + 0x80]
cmp dword [rsp], eax
jl 0x1800683c7
mov eax, dword [rsp + 0x80]
lea eax, [rax + rax - 1]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x4c], eax
jmp 0x1800683dc
mov eax, dword [rsp]
lea eax, [rax + rax + 1]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp]
dec eax
test eax, eax
jge 0x180068404
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x54], eax
jmp 0x18006844a
mov eax, dword [rsp]
dec eax
cmp eax, dword [rsp + 0x80]
jl 0x18006842d
mov eax, dword [rsp + 0x80]
lea eax, [rax + rax - 1]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x50], eax
jmp 0x180068442
mov eax, dword [rsp]
lea eax, [rax + rax - 1]
cdqe
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp]
shl eax, 1
cdqe
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x58]
add edx, ecx
mov ecx, edx
sar ecx, 1
mov rdx, qword [rsp + 0x70]
add ecx, dword [rdx + rax*4]
mov eax, ecx
mov ecx, dword [rsp]
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x70]
mov dword [rdx + rcx*4], eax
jmp 0x18006836b
add rsp, 0x68
ret