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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
call fcn.140026dc8
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x110]
mov ecx, dword [rsp + 0x108]
add ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cdqe
mov rcx, qword [rsp + 0x100]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jg 0x1400272e8
mov qword [rsp + 0xb8], 1
jmp 0x1400272f4
mov qword [rsp + 0xb8], 0
cvtsi2sd xmm0, qword [rsp + 0xb8]
call fcn.140025e38
mov dword [rsp + 0x38], eax
mov cl, byte [0x140036b6c]
movsx ecx, cl
mov dword [rsp + 0x2c], ecx
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
call fcn.140022eb8
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x30], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x30]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x38]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x140027689
xor eax, eax
cmp eax, 2
je 0x140027689
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x100]
mov edx, dword [rsp + 0x28]
cmp dword [rcx + rax*4], edx
jge 0x1400273a8
mov qword [rsp + 0xc0], 1
jmp 0x1400273b4
mov qword [rsp + 0xc0], 0
cvtsi2sd xmm0, qword [rsp + 0xc0]
call fcn.140025e38
mov dword [rsp + 0x48], eax
mov cl, byte [0x140036b6c]
movsx ecx, cl
mov dword [rsp + 0x3c], ecx
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
call fcn.140022eb8
movsx eax, al
imul eax, eax, 3
mov dword [rsp + 0x40], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x40]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x48]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x14002744b
xor eax, eax
cmp eax, 8
je 0x14002744b
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x140027384
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x100]
mov edx, dword [rsp + 0x28]
cmp dword [rcx + rax*4], edx
jle 0x14002746f
mov qword [rsp + 0xc8], 1
jmp 0x14002747b
mov qword [rsp + 0xc8], 0
cvtsi2sd xmm0, qword [rsp + 0xc8]
call fcn.140025e38
mov dword [rsp + 0x58], eax
mov cl, byte [0x140036b6c]
movsx ecx, cl
mov dword [rsp + 0x4c], ecx
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
call fcn.140022eb8
movsx eax, al
imul eax, eax, 3
mov dword [rsp + 0x50], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x50]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x58]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x140027512
xor eax, eax
cmp eax, 4
je 0x140027512
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
jmp 0x14002744b
mov al, byte [0x140036b6c]
movsx eax, al
mov dword [rsp + 0x5c], eax
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
call fcn.140022eb8
movsx eax, al
imul eax, eax, 9
mov dword [rsp + 0x60], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x60]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x140027684
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jg 0x140027593
mov qword [rsp + 0xd0], 1
jmp 0x14002759f
mov qword [rsp + 0xd0], 0
cvtsi2sd xmm0, qword [rsp + 0xd0]
call fcn.140025e38
mov dword [rsp + 0x74], eax
mov cl, byte [0x140036b6c]
movsx ecx, cl
mov dword [rsp + 0x68], ecx
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
call fcn.140022eb8
movsx eax, al
shl eax, 2
mov dword [rsp + 0x6c], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x6c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x74]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x140027684
xor eax, eax
cmp eax, 5
je 0x140027684
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x100]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x100]
mov r8, qword [rsp + 0x100]
mov eax, dword [r8 + rax*4]
mov dword [rdx + rcx*4], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x100]
mov edx, dword [rsp + 0x78]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
jmp 0x1400272d0
mov al, byte [0x140036b6c]
movsx eax, al
mov dword [rsp + 0x7c], eax
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
call fcn.140022eb8
movsx eax, al
imul eax, eax, 0xa
mov dword [rsp + 0x80], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x80]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x1400277dc
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x108], eax
jge 0x140027719
mov qword [rsp + 0xd8], 1
jmp 0x140027725
mov qword [rsp + 0xd8], 0
cvtsi2sd xmm0, qword [rsp + 0xd8]
call fcn.140025e38
mov dword [rsp + 0x94], eax
mov cl, byte [0x140036b6c]
movsx ecx, cl
mov dword [rsp + 0x88], ecx
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x88]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x90], eax
call fcn.140022eb8
movsx eax, al
mov dword [rsp + 0x8c], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x8c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x90]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x94]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x1400277dc
xor eax, eax
cmp eax, 6
je 0x1400277dc
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.140027278
nop
mov al, byte [0x140036b6c]
movsx eax, al
mov dword [rsp + 0x98], eax
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xa0], eax
call fcn.140022eb8
movsx eax, al
mov dword [rsp + 0x9c], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0x9c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xa0]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x140027934
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x24], eax
jge 0x14002786f
mov qword [rsp + 0xe0], 1
jmp 0x14002787b
mov qword [rsp + 0xe0], 0
cvtsi2sd xmm0, qword [rsp + 0xe0]
call fcn.140025e38
mov dword [rsp + 0xb0], eax
mov cl, byte [0x140036b6c]
movsx ecx, cl
mov dword [rsp + 0xa4], ecx
call fcn.140022ec4
movsx eax, al
mov ecx, dword [rsp + 0xa4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xac], eax
call fcn.140022eb8
movsx eax, al
shl eax, 1
mov dword [rsp + 0xa8], eax
call fcn.140022eb4
movsx eax, al
mov ecx, dword [rsp + 0xa8]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xac]
add ecx, eax
mov eax, ecx
mov cl, byte [0x140036b6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x140036b68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0xb0]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x140027934
xor eax, eax
cmp eax, 7
je 0x140027934
mov r8d, dword [rsp + 0x110]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x100]
call fcn.140027278
nop
add rsp, 0xf8
ret