Function at 0x1401d1a70
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 0x1401d1ede
cmp dword [rsp + 0x1c], 1
jle 0x1401d1ede
cmp dword [rsp + 0x40], 0
je 0x1401d1d3a
mov eax, dword [rsp + 8]
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 8], eax
jae 0x1401d1b9a
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0x90]
movsx eax, word [rcx + rax*2]
test eax, eax
jne 0x1401d1b9a
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
jmp 0x1401d1b70
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 8], eax
jne 0x1401d1ba9
jmp 0x1401d1ede
mov eax, dword [rsp + 0x18]
add eax, 0x18
cmp dword [rsp + 8], eax
jb 0x1401d1c53
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 0x1401d1c0b
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1401d1c0b
mov rax, 0xffffffffffffffba
jmp 0x1401d1f72
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 0x1401d1ba9
mov eax, dword [rsp + 0x18]
add eax, 3
cmp dword [rsp + 8], eax
jb 0x1401d1c98
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 0x1401d1c53
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 0x1401d1d3a
cmp dword [rsp + 0xa8], 0
jne 0x1401d1cec
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1401d1cec
mov rax, 0xffffffffffffffba
jmp 0x1401d1f72
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 0x1401d1d7b
mov eax, dword [rsp + 0xc]
neg eax
mov dword [rsp + 0x30], eax
jmp 0x1401d1d83
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 0x1401d1db7
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 0x1401d1df2
mov dword [rsp + 0x38], 1
jmp 0x1401d1dfa
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 0x1401d1e1b
mov dword [rsp + 0x3c], 1
jmp 0x1401d1e23
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x1c], 1
jge 0x1401d1e3e
mov rax, 0xffffffffffffffff
jmp 0x1401d1f72
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x1c], eax
jge 0x1401d1e5e
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 0x1401d1e3e
cmp dword [rsp + 4], 0x10
jle 0x1401d1ed9
cmp dword [rsp + 0xa8], 0
jne 0x1401d1e8b
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1401d1e8b
mov rax, 0xffffffffffffffba
jmp 0x1401d1f72
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 0x1401d1b44
cmp dword [rsp + 0x1c], 1
je 0x1401d1ef1
mov rax, 0xffffffffffffffff
jmp 0x1401d1f72
cmp dword [rsp + 0xa8], 0
jne 0x1401d1f14
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1401d1f14
mov rax, 0xffffffffffffffba
jmp 0x1401d1f72
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