Function at 0x1401b2a50
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 0x1401b2ebe
cmp dword [rsp + 0x1c], 1
jle 0x1401b2ebe
cmp dword [rsp + 0x40], 0
je 0x1401b2d1a
mov eax, dword [rsp + 8]
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 8], eax
jae 0x1401b2b7a
mov eax, dword [rsp + 8]
mov rcx, qword [rsp + 0x90]
movsx eax, word [rcx + rax*2]
test eax, eax
jne 0x1401b2b7a
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
jmp 0x1401b2b50
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 8], eax
jne 0x1401b2b89
jmp 0x1401b2ebe
mov eax, dword [rsp + 0x18]
add eax, 0x18
cmp dword [rsp + 8], eax
jb 0x1401b2c33
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 0x1401b2beb
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1401b2beb
mov rax, 0xffffffffffffffba
jmp 0x1401b2f52
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 0x1401b2b89
mov eax, dword [rsp + 0x18]
add eax, 3
cmp dword [rsp + 8], eax
jb 0x1401b2c78
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 0x1401b2c33
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 0x1401b2d1a
cmp dword [rsp + 0xa8], 0
jne 0x1401b2ccc
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1401b2ccc
mov rax, 0xffffffffffffffba
jmp 0x1401b2f52
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 0x1401b2d5b
mov eax, dword [rsp + 0xc]
neg eax
mov dword [rsp + 0x30], eax
jmp 0x1401b2d63
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 0x1401b2d97
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 0x1401b2dd2
mov dword [rsp + 0x38], 1
jmp 0x1401b2dda
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 0x1401b2dfb
mov dword [rsp + 0x3c], 1
jmp 0x1401b2e03
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x1c], 1
jge 0x1401b2e1e
mov rax, 0xffffffffffffffff
jmp 0x1401b2f52
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x1c], eax
jge 0x1401b2e3e
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 0x1401b2e1e
cmp dword [rsp + 4], 0x10
jle 0x1401b2eb9
cmp dword [rsp + 0xa8], 0
jne 0x1401b2e6b
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1401b2e6b
mov rax, 0xffffffffffffffba
jmp 0x1401b2f52
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 0x1401b2b24
cmp dword [rsp + 0x1c], 1
je 0x1401b2ed1
mov rax, 0xffffffffffffffff
jmp 0x1401b2f52
cmp dword [rsp + 0xa8], 0
jne 0x1401b2ef4
mov rax, qword [rsp + 0x48]
sub rax, 2
cmp qword [rsp + 0x10], rax
jbe 0x1401b2ef4
mov rax, 0xffffffffffffffba
jmp 0x1401b2f52
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