Function at 0x1400581d4
Capabilities:
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov dword [rbp + 0x10], ecx
mov dword [rbp + 0x18], edx
mov dword [rbp + 0x20], r8d
mov rax, qword [0x1401c3e50]
mov eax, dword [rax]
test eax, eax
jne 0x140059012
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x12]
test al, al
je 0x140058245
lea rax, [0x1401a3f68]
mov rcx, rax
call sub.msvcrt.dll_system
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 1
call fcn.14005901f
jmp 0x140059019
mov eax, dword [rbp + 0x20]
and eax, 2
test eax, eax
je 0x140058272
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x18]
cmp al, 4
je 0x14005827f
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x1c]
cmp eax, dword [rbp + 0x18]
jae 0x14005827f
jmp 0x140059006
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x28]
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x20]
and eax, 1
test eax, eax
je 0x14005829d
cmp dword [rbp + 0x10], 2
jg 0x140059005
cmp dword [rbp + 0x10], 0
js 0x140059005
mov rdx, qword [0x140208850]
mov rax, qword [0x140208850]
movzx edx, word [rdx + 0x34]
mov word [rax + 0x3a], dx
mov rax, qword [0x140208850]
mov word [rax + 0x38], 1
mov rax, qword [0x140208850]
pxor xmm0, xmm0
movsd qword [rax + 0xa8], xmm0
mov rax, qword [0x140208850]
movsd xmm0, qword [0x1401a4a78]
movsd qword [rax + 0xb0], xmm0
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x11]
test al, al
je 0x14005834f
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x24]
and eax, 0xf
mov ecx, eax
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x24]
and eax, 0x10
mov edx, eax
mov eax, dword [rbp + 0x18]
and eax, 7
add eax, eax
add eax, edx
shl eax, 3
add eax, ecx
mov word [0x14073f0e8], ax
movzx eax, word [0x14073f0e8]
shl eax, 8
mov word [0x14073f0e8], ax
movzx eax, word [0x14073f0e8]
add eax, 0x20
mov word [0x14073f0e8], ax
mov eax, dword [rbp + 0x20]
and eax, 1
test eax, eax
jne 0x1400587cb
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x11]
test al, al
je 0x1400584d8
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
mov rdx, qword [0x140208850]
movzx edx, word [rdx + 0x36]
movsx ecx, dx
mov rdx, qword [0x140208850]
movzx edx, word [rdx + 0x34]
movsx edx, dx
sub ecx, edx
lea edx, [rcx + 1]
imul eax, edx
mov dword [0x14073f0d8], eax
mov rax, qword [0x140208850]
mov rcx, qword [rax + 0x40]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x34]
cwde
lea edx, [rax - 1]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
imul eax, edx
add eax, eax
cdqe
add rax, rcx
mov qword [0x14073f0e0], rax
mov dword [0x14073f0dc], 0
jmp 0x14005841b
mov rdx, qword [0x14073f0e0]
mov eax, dword [0x14073f0dc]
cdqe
add rax, rax
add rax, rdx
movzx edx, word [0x14073f0e8]
mov word [rax], dx
mov eax, dword [0x14073f0dc]
add eax, 1
mov dword [0x14073f0dc], eax
mov edx, dword [0x14073f0dc]
mov eax, dword [0x14073f0d8]
cmp edx, eax
jl 0x1400583ed
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
mov dword [0x14073f0d8], eax
mov rax, qword [0x140208850]
mov rcx, qword [rax + 0x40]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x16]
movzx eax, ax
lea edx, [rax - 1]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
imul eax, edx
add eax, eax
cdqe
add rax, rcx
mov qword [0x14073f0e0], rax
mov dword [0x14073f0dc], 0
jmp 0x1400584b4
mov rdx, qword [0x14073f0e0]
mov eax, dword [0x14073f0dc]
cdqe
add rax, rax
add rax, rdx
movzx edx, word [0x14073f0e8]
mov word [rax], dx
mov eax, dword [0x14073f0dc]
add eax, 1
mov dword [0x14073f0dc], eax
mov edx, dword [0x14073f0dc]
mov eax, dword [0x14073f0d8]
cmp edx, eax
jl 0x140058486
mov dword [0x1401f7df8], 1
call fcn.14007f549
jmp 0x140059019
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x18]
cmp al, 1
jne 0x140058595
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x80]
test al, al
je 0x140058555
mov rax, qword [0x140208850]
movss xmm2, dword [rax + 0xa0]
mov rax, qword [0x140208850]
movss xmm1, dword [rax + 0x9c]
mov rax, qword [0x140208850]
movss xmm0, dword [rax + 0x98]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x94]
mov edx, dword [rbp + 0x18]
mov dword [rsp + 0x20], edx
movaps xmm3, xmm2
movaps xmm2, xmm1
movaps xmm1, xmm0
movd xmm0, eax
call fcn.14004d866
jmp 0x140058669
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x16]
movzx eax, ax
imul eax, edx
movsxd rcx, eax
mov edx, dword [rbp + 0x18]
mov rax, qword [0x140208850]
mov rax, qword [rax + 0x40]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memset
jmp 0x140058669
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x5c]
movzx eax, al
mov dword [0x14073f0dc], eax
mov rax, qword [0x140208850]
mov byte [rax + 0x5c], 1
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x80]
test al, al
je 0x14005861b
mov rax, qword [0x140208850]
movss xmm2, dword [rax + 0xa0]
mov rax, qword [0x140208850]
movss xmm1, dword [rax + 0x9c]
mov rax, qword [0x140208850]
movss xmm0, dword [rax + 0x98]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x94]
mov edx, dword [rbp + 0x18]
mov dword [rsp + 0x20], edx
movaps xmm3, xmm2
movaps xmm2, xmm1
movaps xmm1, xmm0
movd xmm0, eax
call fcn.14004d866
jmp 0x140058659
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x16]
movzx eax, ax
lea ecx, [rax - 1]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
lea edx, [rax - 1]
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, edx
mov edx, 0
mov ecx, 0
call fcn.14004e31d
mov edx, dword [0x14073f0dc]
mov rax, qword [0x140208850]
mov byte [rax + 0x5c], dl
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x80]
cmp al, 2
jne 0x140058745
mov rax, qword [0x140208850]
mov edx, dword [rax + 0x68]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x60]
sub edx, eax
lea eax, [rdx + 1]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [0x140208850]
movss xmm1, dword [rax + 0x84]
divss xmm0, xmm1
movss xmm2, dword [0x1401a4b40]
movaps xmm1, xmm0
divss xmm1, xmm2
mov rax, qword [0x140208850]
movss xmm0, dword [rax + 0x8c]
mov rax, qword [0x140208850]
addss xmm0, xmm1
movss dword [rax + 0x78], xmm0
mov rax, qword [0x140208850]
mov edx, dword [rax + 0x6c]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x64]
sub edx, eax
lea eax, [rdx + 1]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [0x140208850]
movss xmm1, dword [rax + 0x88]
divss xmm0, xmm1
movss xmm2, dword [0x1401a4b40]
movaps xmm1, xmm0
divss xmm1, xmm2
mov rax, qword [0x140208850]
movss xmm0, dword [rax + 0x90]
mov rax, qword [0x140208850]
addss xmm0, xmm1
movss dword [rax + 0x7c], xmm0
jmp 0x1400587b7
mov rax, qword [0x140208850]
mov edx, dword [rax + 0x68]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x60]
sub edx, eax
lea eax, [rdx + 1]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [0x140208850]
movss xmm1, dword [0x1401a4b40]
divss xmm0, xmm1
movss dword [rax + 0x78], xmm0
mov rax, qword [0x140208850]
mov edx, dword [rax + 0x6c]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x64]
sub edx, eax
lea eax, [rdx + 1]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [0x140208850]
movss xmm1, dword [0x1401a4b40]
divss xmm0, xmm1
movss dword [rax + 0x7c], xmm0
mov dword [0x1401f7df8], 1
call fcn.14007f549
jmp 0x140059019
cmp dword [rbp + 0x10], 0
jne 0x140058a98
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x11]
test al, al
je 0x14005887d
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x16]
movzx edx, ax
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
imul eax, edx
mov dword [0x14073f0d8], eax
mov rax, qword [0x140208850]
mov rax, qword [rax + 0x40]
mov qword [0x14073f0e0], rax
mov dword [0x14073f0dc], 0
jmp 0x140058859
mov rdx, qword [0x14073f0e0]
mov eax, dword [0x14073f0dc]
cdqe
add rax, rax
add rax, rdx
movzx edx, word [0x14073f0e8]
mov word [rax], dx
mov eax, dword [0x14073f0dc]
add eax, 1
mov dword [0x14073f0dc], eax
mov edx, dword [0x14073f0dc]
mov eax, dword [0x14073f0d8]
cmp edx, eax
jl 0x14005882b
mov dword [0x1401f7df8], 1
call fcn.14007f549
jmp 0x140059019
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x18]
cmp al, 1
jne 0x1400588c9
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x16]
movzx eax, ax
imul eax, edx
movsxd rcx, eax
mov edx, dword [rbp + 0x18]
mov rax, qword [0x140208850]
mov rax, qword [rax + 0x40]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memset
jmp 0x140058936
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x5c]
movzx eax, al
mov dword [0x14073f0dc], eax
mov rax, qword [0x140208850]
mov byte [rax + 0x5c], 1
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x16]
movzx eax, ax
lea ecx, [rax - 1]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
lea edx, [rax - 1]
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, edx
mov edx, 0
mov ecx, 0
call fcn.14004e31d
mov edx, dword [0x14073f0dc]
mov rax, qword [0x140208850]
mov byte [rax + 0x5c], dl
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x80]
cmp al, 2
jne 0x140058a12
mov rax, qword [0x140208850]
mov edx, dword [rax + 0x68]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x60]
sub edx, eax
lea eax, [rdx + 1]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [0x140208850]
movss xmm1, dword [rax + 0x84]
divss xmm0, xmm1
movss xmm2, dword [0x1401a4b40]
movaps xmm1, xmm0
divss xmm1, xmm2
mov rax, qword [0x140208850]
movss xmm0, dword [rax + 0x8c]
mov rax, qword [0x140208850]
addss xmm0, xmm1
movss dword [rax + 0x78], xmm0
mov rax, qword [0x140208850]
mov edx, dword [rax + 0x6c]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x64]
sub edx, eax
lea eax, [rdx + 1]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [0x140208850]
movss xmm1, dword [rax + 0x88]
divss xmm0, xmm1
movss xmm2, dword [0x1401a4b40]
movaps xmm1, xmm0
divss xmm1, xmm2
mov rax, qword [0x140208850]
movss xmm0, dword [rax + 0x90]
mov rax, qword [0x140208850]
addss xmm0, xmm1
movss dword [rax + 0x7c], xmm0
jmp 0x140058a84
mov rax, qword [0x140208850]
mov edx, dword [rax + 0x68]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x60]
sub edx, eax
lea eax, [rdx + 1]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [0x140208850]
movss xmm1, dword [0x1401a4b40]
divss xmm0, xmm1
movss dword [rax + 0x78], xmm0
mov rax, qword [0x140208850]
mov edx, dword [rax + 0x6c]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x64]
sub edx, eax
lea eax, [rdx + 1]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [0x140208850]
movss xmm1, dword [0x1401a4b40]
divss xmm0, xmm1
movss dword [rax + 0x7c], xmm0
mov dword [0x1401f7df8], 1
call fcn.14007f549
jmp 0x140059019
cmp dword [rbp + 0x10], 1
jne 0x140058da8
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x11]
test al, al
jne 0x140059015
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x18]
cmp al, 1
jne 0x140058b72
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x80]
test al, al
je 0x140058b32
mov rax, qword [0x140208850]
movss xmm2, dword [rax + 0xa0]
mov rax, qword [0x140208850]
movss xmm1, dword [rax + 0x9c]
mov rax, qword [0x140208850]
movss xmm0, dword [rax + 0x98]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x94]
mov edx, dword [rbp + 0x18]
mov dword [rsp + 0x20], edx
movaps xmm3, xmm2
movaps xmm2, xmm1
movaps xmm1, xmm0
movd xmm0, eax
call fcn.14004d866
jmp 0x140058c46
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x16]
movzx eax, ax
imul eax, edx
movsxd rcx, eax
mov edx, dword [rbp + 0x18]
mov rax, qword [0x140208850]
mov rax, qword [rax + 0x40]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memset
jmp 0x140058c46
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x5c]
movzx eax, al
mov dword [0x14073f0dc], eax
mov rax, qword [0x140208850]
mov byte [rax + 0x5c], 1
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x80]
test al, al
je 0x140058bf8
mov rax, qword [0x140208850]
movss xmm2, dword [rax + 0xa0]
mov rax, qword [0x140208850]
movss xmm1, dword [rax + 0x9c]
mov rax, qword [0x140208850]
movss xmm0, dword [rax + 0x98]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x94]
mov edx, dword [rbp + 0x18]
mov dword [rsp + 0x20], edx
movaps xmm3, xmm2
movaps xmm2, xmm1
movaps xmm1, xmm0
movd xmm0, eax
call fcn.14004d866
jmp 0x140058c36
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x16]
movzx eax, ax
lea ecx, [rax - 1]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
lea edx, [rax - 1]
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, edx
mov edx, 0
mov ecx, 0
call fcn.14004e31d
mov edx, dword [0x14073f0dc]
mov rax, qword [0x140208850]
mov byte [rax + 0x5c], dl
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x80]
cmp al, 2
jne 0x140058d22
mov rax, qword [0x140208850]
mov edx, dword [rax + 0x68]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x60]
sub edx, eax
lea eax, [rdx + 1]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [0x140208850]
movss xmm1, dword [rax + 0x84]
divss xmm0, xmm1
movss xmm2, dword [0x1401a4b40]
movaps xmm1, xmm0
divss xmm1, xmm2
mov rax, qword [0x140208850]
movss xmm0, dword [rax + 0x8c]
mov rax, qword [0x140208850]
addss xmm0, xmm1
movss dword [rax + 0x78], xmm0
mov rax, qword [0x140208850]
mov edx, dword [rax + 0x6c]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x64]
sub edx, eax
lea eax, [rdx + 1]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [0x140208850]
movss xmm1, dword [rax + 0x88]
divss xmm0, xmm1
movss xmm2, dword [0x1401a4b40]
movaps xmm1, xmm0
divss xmm1, xmm2
mov rax, qword [0x140208850]
movss xmm0, dword [rax + 0x90]
mov rax, qword [0x140208850]
addss xmm0, xmm1
movss dword [rax + 0x7c], xmm0
jmp 0x140058d94
mov rax, qword [0x140208850]
mov edx, dword [rax + 0x68]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x60]
sub edx, eax
lea eax, [rdx + 1]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [0x140208850]
movss xmm1, dword [0x1401a4b40]
divss xmm0, xmm1
movss dword [rax + 0x78], xmm0
mov rax, qword [0x140208850]
mov edx, dword [rax + 0x6c]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x64]
sub edx, eax
lea eax, [rdx + 1]
pxor xmm0, xmm0
cvtsi2ss xmm0, eax
mov rax, qword [0x140208850]
movss xmm1, dword [0x1401a4b40]
divss xmm0, xmm1
movss dword [rax + 0x7c], xmm0
mov dword [0x1401f7df8], 1
call fcn.14007f549
jmp 0x140059019
cmp dword [rbp + 0x10], 2
jne 0x140059018
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x11]
test al, al
je 0x140058e85
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
mov rdx, qword [0x140208850]
movzx edx, word [rdx + 0x36]
movsx ecx, dx
mov rdx, qword [0x140208850]
movzx edx, word [rdx + 0x34]
movsx edx, dx
sub ecx, edx
lea edx, [rcx + 1]
imul eax, edx
mov dword [0x14073f0d8], eax
mov rax, qword [0x140208850]
mov rcx, qword [rax + 0x40]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x34]
cwde
lea edx, [rax - 1]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
imul eax, edx
add eax, eax
cdqe
add rax, rcx
mov qword [0x14073f0e0], rax
mov dword [0x14073f0dc], 0
jmp 0x140058e70
mov rdx, qword [0x14073f0e0]
mov eax, dword [0x14073f0dc]
cdqe
add rax, rax
add rax, rdx
movzx edx, word [0x14073f0e8]
mov word [rax], dx
mov eax, dword [0x14073f0dc]
add eax, 1
mov dword [0x14073f0dc], eax
mov edx, dword [0x14073f0dc]
mov eax, dword [0x14073f0d8]
cmp edx, eax
jl 0x140058e42
jmp 0x140059019
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x18]
cmp al, 1
jne 0x140058f4d
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
mov rcx, qword [0x1401f7e20]
mov rdx, qword [0x140208850]
mov edx, dword [rdx + 0x30]
mov edx, edx
shl rdx, 2
add rdx, rcx
mov edx, dword [rdx]
imul eax, edx
mov rdx, qword [0x140208850]
movzx edx, word [rdx + 0x36]
movsx ecx, dx
mov rdx, qword [0x140208850]
movzx edx, word [rdx + 0x34]
movsx edx, dx
sub ecx, edx
lea edx, [rcx + 1]
imul eax, edx
movsxd r8, eax
mov edx, dword [rbp + 0x18]
mov rax, qword [0x140208850]
mov r9, qword [rax + 0x40]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
mov r10, qword [0x1401f7e20]
mov rcx, qword [0x140208850]
mov ecx, dword [rcx + 0x30]
mov ecx, ecx
shl rcx, 2
add rcx, r10
mov ecx, dword [rcx]
imul eax, ecx
mov rcx, qword [0x140208850]
movzx ecx, word [rcx + 0x34]
movsx ecx, cx
sub ecx, 1
imul eax, ecx
cdqe
add rax, r9
mov rcx, rax
call sub.msvcrt.dll_memset
jmp 0x140059019
mov rax, qword [0x140208850]
movzx eax, byte [rax + 0x5c]
movzx eax, al
mov dword [0x14073f0dc], eax
mov rax, qword [0x140208850]
mov byte [rax + 0x5c], 1
mov rdx, qword [0x1401f7e20]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x30]
mov eax, eax
shl rax, 2
add rax, rdx
mov edx, dword [rax]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x36]
cwde
imul eax, edx
lea r8d, [rax - 1]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x14]
movzx eax, ax
lea ecx, [rax - 1]
mov rdx, qword [0x1401f7e20]
mov rax, qword [0x140208850]
mov eax, dword [rax + 0x30]
mov eax, eax
shl rax, 2
add rax, rdx
mov edx, dword [rax]
mov rax, qword [0x140208850]
movzx eax, word [rax + 0x34]
cwde
sub eax, 1
imul eax, edx
mov edx, dword [rbp + 0x18]
mov dword [rsp + 0x20], edx
mov r9d, r8d
mov r8d, ecx
mov edx, eax
mov ecx, 0
call fcn.14004e31d
mov edx, dword [0x14073f0dc]
mov rax, qword [0x140208850]
mov byte [rax + 0x5c], dl
jmp 0x140059019
nop
mov ecx, 5
call fcn.140041d20
jmp 0x140059019
nop
jmp 0x140059019
nop
jmp 0x140059019
nop
add rsp, 0x30
pop rbp
ret