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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0xa0]
mov ecx, 1
mov dword [rsp + 0x50], ecx
movzx ecx, al
mov eax, dword [rsp + 0x50]
shl eax, cl
mov dword [rsp + 0x2c], eax
mov dword [rsp], 0
mov dword [rsp + 4], 0
mov dword [rsp + 8], 0
mov eax, dword [rsp + 0x98]
inc eax
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0xa0]
sub eax, 5
mov ecx, dword [rsp + 4]
shl eax, cl
mov ecx, dword [rsp]
add ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
add eax, 4
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xa0]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 8], eax
jae 0x1402cdfee
cmp dword [rsp + 0x1c], 1
jle 0x1402cdfee
cmp dword [rsp + 0x40], 0
je 0x1402cde4a
mov eax, dword [rsp + 8]
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 8], eax
jae 0x1402cdcaa
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0x90]
movsx eax, word [rcx + rax*2]
test eax, eax
jne 0x1402cdcaa
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
jmp 0x1402cdc80
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 8], eax
jne 0x1402cdcb9
jmp 0x1402cdfee
mov eax, dword [rsp + 0x18]
add eax, 0x18
cmp dword [rsp + 8], eax
jb 0x1402cdd63
mov eax, dword [rsp + 0x18]
add eax, 0x18
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 4]
mov ecx, 0xffff
mov dword [rsp + 0x54], ecx
movzx ecx, al
mov eax, dword [rsp + 0x54]
shl eax, cl
mov ecx, dword [rsp]
add ecx, eax
mov eax, ecx
mov dword [rsp], eax
cmp dword [rsp + 0xa8], 0
jne 0x1402cdd1b
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1402cdd1b
mov rax, 0xffffffffffffffba
jmp 0x1402ce082
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
movzx edx, byte [rsp]
mov byte [rcx + rax], dl
mov eax, dword [rsp]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x10]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x10]
add rax, 2
mov qword [rsp + 0x10], rax
mov eax, dword [rsp]
shr eax, 0x10
mov dword [rsp], eax
jmp 0x1402cdcb9
mov eax, dword [rsp + 0x18]
add eax, 3
cmp dword [rsp + 8], eax
jb 0x1402cdda8
mov eax, dword [rsp + 0x18]
add eax, 3
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 4]
mov ecx, 3
mov dword [rsp + 0x58], ecx
movzx ecx, al
mov eax, dword [rsp + 0x58]
shl eax, cl
mov ecx, dword [rsp]
add ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
add eax, 2
mov dword [rsp + 4], eax
jmp 0x1402cdd63
mov eax, dword [rsp + 0x18]
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 4]
shl eax, cl
mov ecx, dword [rsp]
add ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
add eax, 2
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x10
jle 0x1402cde4a
cmp dword [rsp + 0xa8], 0
jne 0x1402cddfc
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1402cddfc
mov rax, 0xffffffffffffffba
jmp 0x1402ce082
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
movzx edx, byte [rsp]
mov byte [rcx + rax], dl
mov eax, dword [rsp]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x10]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x10]
add rax, 2
mov qword [rsp + 0x10], rax
mov eax, dword [rsp]
shr eax, 0x10
mov dword [rsp], eax
mov eax, dword [rsp + 4]
sub eax, 0x10
mov dword [rsp + 4], eax
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0x90]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x20]
lea eax, [rax + rax - 1]
sub eax, dword [rsp + 0x1c]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0xc], 0
jge 0x1402cde8b
mov eax, dword [rsp + 0xc]
neg eax
mov dword [rsp + 0x30], eax
jmp 0x1402cde93
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x1c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0xc], eax
jl 0x1402cdec7
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0xc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 4]
movzx ecx, al
mov eax, dword [rsp + 0xc]
shl eax, cl
mov ecx, dword [rsp]
add ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0xc], eax
jge 0x1402cdf02
mov dword [rsp + 0x38], 1
jmp 0x1402cdf0a
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
cmp dword [rsp + 0xc], 1
jne 0x1402cdf2b
mov dword [rsp + 0x3c], 1
jmp 0x1402cdf33
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x1c], 1
jge 0x1402cdf4e
mov rax, 0xffffffffffffffff
jmp 0x1402ce082
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x1c], eax
jge 0x1402cdf6e
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
sar eax, 1
mov dword [rsp + 0x20], eax
jmp 0x1402cdf4e
cmp dword [rsp + 4], 0x10
jle 0x1402cdfe9
cmp dword [rsp + 0xa8], 0
jne 0x1402cdf9b
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1402cdf9b
mov rax, 0xffffffffffffffba
jmp 0x1402ce082
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
movzx edx, byte [rsp]
mov byte [rcx + rax], dl
mov eax, dword [rsp]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x10]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x10]
add rax, 2
mov qword [rsp + 0x10], rax
mov eax, dword [rsp]
shr eax, 0x10
mov dword [rsp], eax
mov eax, dword [rsp + 4]
sub eax, 0x10
mov dword [rsp + 4], eax
jmp 0x1402cdc54
cmp dword [rsp + 0x1c], 1
je 0x1402ce001
mov rax, 0xffffffffffffffff
jmp 0x1402ce082
cmp dword [rsp + 0xa8], 0
jne 0x1402ce024
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1402ce024
mov rax, 0xffffffffffffffba
jmp 0x1402ce082
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
movzx edx, byte [rsp]
mov byte [rcx + rax], dl
mov eax, dword [rsp]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x10]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x10]
sub rcx, rax
mov rax, rcx
add rsp, 0x78
ret