Function at 0x1401c5230
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 0x1401c569e
cmp dword [rsp + 0x1c], 1
jle 0x1401c569e
cmp dword [rsp + 0x40], 0
je 0x1401c54fa
mov eax, dword [rsp + 8]
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 8], eax
jae 0x1401c535a
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0x90]
movsx eax, word [rcx + rax*2]
test eax, eax
jne 0x1401c535a
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
jmp 0x1401c5330
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 8], eax
jne 0x1401c5369
jmp 0x1401c569e
mov eax, dword [rsp + 0x18]
add eax, 0x18
cmp dword [rsp + 8], eax
jb 0x1401c5413
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 0x1401c53cb
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1401c53cb
mov rax, 0xffffffffffffffba
jmp 0x1401c5732
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 0x1401c5369
mov eax, dword [rsp + 0x18]
add eax, 3
cmp dword [rsp + 8], eax
jb 0x1401c5458
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 0x1401c5413
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 0x1401c54fa
cmp dword [rsp + 0xa8], 0
jne 0x1401c54ac
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1401c54ac
mov rax, 0xffffffffffffffba
jmp 0x1401c5732
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 0x1401c553b
mov eax, dword [rsp + 0xc]
neg eax
mov dword [rsp + 0x30], eax
jmp 0x1401c5543
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 0x1401c5577
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 0x1401c55b2
mov dword [rsp + 0x38], 1
jmp 0x1401c55ba
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 0x1401c55db
mov dword [rsp + 0x3c], 1
jmp 0x1401c55e3
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x1c], 1
jge 0x1401c55fe
mov rax, 0xffffffffffffffff
jmp 0x1401c5732
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x1c], eax
jge 0x1401c561e
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 0x1401c55fe
cmp dword [rsp + 4], 0x10
jle 0x1401c5699
cmp dword [rsp + 0xa8], 0
jne 0x1401c564b
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1401c564b
mov rax, 0xffffffffffffffba
jmp 0x1401c5732
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 0x1401c5304
cmp dword [rsp + 0x1c], 1
je 0x1401c56b1
mov rax, 0xffffffffffffffff
jmp 0x1401c5732
cmp dword [rsp + 0xa8], 0
jne 0x1401c56d4
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1401c56d4
mov rax, 0xffffffffffffffba
jmp 0x1401c5732
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