Function at 0x4121d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x108]
sub edx, ecx
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4121f0
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412206
sub ecx, edx
add ecx, 0xfffffffc
cmp ecx, 0x104
jae 0x4124ca
mov byte [ebp + ecx - 0x108], al
lea eax, [ebp - 0x108]
push eax
push str.STEPREPEAT_1
call fcn.004129d0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4124ac
cmp byte [ecx], 0
je 0x4124ac
lea edx, [ebp - 0x208]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x412254
push str.TEXTILE
call fcn.00416ad0
add esp, 4
test eax, eax
jne 0x41229c
push str.Repeats_printing_requires_Wasatch_SoftRIP_TX._n_nThis_option_has_not_been_activated_on_this_system.
push 0x10
push 0x4fd938
push str.ERROR
call fcn.0041b3d0
add esp, 8
push eax
call fcn.0041be10
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004170b0
push dword [ebp - 0x288]
mov esi, eax
call fcn.004ccd89
imul ecx, dword [0x668bb0], 0x88
push dword [ebp - 0x284]
fstp qword [ecx + 0x668bc8]
call fcn.004ccd89
imul eax, dword [0x668bb0], 0x88
push dword [ebp - 0x280]
fstp qword [eax + 0x668bd0]
call fcn.004ccd89
fld qword [0x4fdcc0]
fadd st(1), st(0)
imul eax, dword [0x668bb0], 0x88
push dword [ebp - 0x27c]
fdivp st(1)
fstp qword [ebp - 0x290]
movsd xmm0, qword [ebp - 0x290]
movsd qword [eax + 0x668bd8], xmm0
call fcn.004ccd89
fld qword [0x4fdcc0]
fadd st(1), st(0)
imul eax, dword [0x668bb0], 0x88
push dword [ebp - 0x278]
fdivp st(1)
fstp qword [ebp - 0x290]
movsd xmm0, qword [ebp - 0x290]
movsd qword [eax + 0x668be0], xmm0
call fcn.004ccd89
fdiv qword [0x4fdcc0]
imul eax, dword [0x668bb0], 0x88
push dword [ebp - 0x274]
fstp qword [ebp - 0x290]
movsd xmm0, qword [ebp - 0x290]
movsd qword [eax + 0x668be8], xmm0
call fcn.004cd97e
mov edx, dword [0x668bb0]
add esp, 0x20
neg eax
sbb eax, eax
imul ecx, edx, 0x88
neg eax
mov dword [ecx + 0x668bf0], eax
cmp esi, 7
jl 0x412446
push dword [ebp - 0x270]
call fcn.004cd97e
mov edx, dword [0x668bb0]
add esp, 4
neg eax
sbb eax, eax
imul ecx, edx, 0x88
neg eax
mov dword [ecx + 0x668bf4], eax
cmp esi, 9
jl 0x412450
push dword [ebp - 0x26c]
call fcn.004ccd89
fdiv qword [0x4fdcc0]
imul eax, dword [0x668bb0], 0x88
push dword [ebp - 0x268]
fstp qword [ebp - 0x290]
movsd xmm0, qword [ebp - 0x290]
movsd qword [eax + 0x668bf8], xmm0
call fcn.004ccd89
fdiv qword [0x4fdcc0]
add esp, 8
mov edx, dword [0x668bb0]
imul eax, edx, 0x88
fstp qword [ebp - 0x290]
movsd xmm0, qword [ebp - 0x290]
movsd qword [eax + 0x668c00], xmm0
jmp 0x412460
mov dword [ecx + 0x668bf4], 0
imul eax, edx, 0x88
xorps xmm0, xmm0
movups xmmword [eax + 0x668bf8], xmm0
mov ecx, dword [ebp + 0xc]
imul edx, edx, 0x88
pop esi
movsd xmm0, qword [edx + 0x668bc8]
mulsd xmm0, qword [ecx + 0x38]
cvttsd2si eax, xmm0
mov dword [edx + 0x668c08], eax
movsd xmm0, qword [edx + 0x668bd0]
mulsd xmm0, qword [ecx + 0x40]
cvttsd2si eax, xmm0
mov dword [edx + 0x668c0c], eax
mov eax, dword [edx + 0x668c08]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
imul eax, dword [0x668bb0], 0x88
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, dword [eax + 0x668c08]
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
call fcn.004b3e4d
int3