Function at 0x4140c0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451960
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x492040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [0x4920b0]
mov byte [ebp - 0x15], al
lea edx, [ebp - 0x15]
mov eax, dword [0x49717c]
mov ecx, str.GrowScript_Launcher
push 0x126
or dword [eax + 0x1c84], 3
mov dword [eax + 0x1c94], 0
mov dword [eax + 0x1c98], 0
mov dword [eax + 0x1c9c], 0
mov dword [eax + 0x1ca0], 0
mov dword [eax + 0x1c88], 1
mov dword [eax + 0x1ca4], 0x43c80000
mov dword [eax + 0x1ca8], 0x43160000
mov dword [eax + 0x1c8c], 1
call fcn.004310d0
add esp, 4
cmp dword [0x495cd4], 0
jne 0x4142d0
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x71
movups xmmword [ecx], xmm0
push str.It_looks_like_this_is_your_first_time_running_GrowScript._n____Would_you_like_to_install_it_in_the_current_folder_
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004027a0
call fcn.00413950
mov ecx, dword [0x49717c]
lea edx, [ebp - 0x58]
add esp, 0x14
mov dword [ebp - 0x58], 0x42c80000
mov dword [ebp - 0x54], 0x41f00000
mov eax, dword [ecx + 0x1ba8]
movss xmm0, dword [eax + 0xd0]
subss xmm0, dword [eax + 0xc]
addss xmm0, dword [eax + 0x58]
addss xmm0, dword [0x48ac28]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [eax + 0x58]
addss xmm1, xmm0
movss xmm0, dword [eax + 0xe8]
maxss xmm0, xmm1
movss dword [eax + 0xd0], xmm1
movss dword [eax + 0xe8], xmm0
mov eax, dword [ecx + 0x1ba8]
movss xmm0, dword [eax + 0xd4]
subss xmm0, dword [eax + 0x10]
addss xmm0, dword [eax + 0x5c]
addss xmm0, dword [0x48ac0c]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
mov ecx, 0x458eec
movss xmm1, dword [eax + 0x10]
subss xmm1, dword [eax + 0x5c]
addss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm1
movss dword [eax + 0xd4], xmm1
movss dword [eax + 0xec], xmm0
call fcn.0044d2a0
add esp, 4
test al, al
je 0x414294
mov dword [0x495cd4], 1
movss xmm1, dword [0x48ac78]
xorps xmm0, xmm0
call fcn.00434350
push ecx
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x42c80000
mov ecx, 0x458ef0
mov dword [ebp - 0x4c], 0x41f00000
call fcn.0044d2a0
add esp, 4
test al, al
je 0x4142d0
xor al, al
mov ecx, 0x4920b0
xchg byte [ecx], al
cmp dword [0x495cd4], 1
jne 0x4149e3
mov al, byte [0x495d28]
test al, al
jne 0x41434c
mov al, 1
mov ecx, 0x495d28
xchg byte [ecx], al
push 4
call fcn.0044ed7b
add esp, 4
lea ecx, [ebp - 0x1c]
mov dword [eax], 0x413b20
push ecx
push 0
push eax
push 0x420cb0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41433d
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x414335
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x41434c
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x1c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [0x495cd8]
mov dword [ebp - 0x54], eax
movss xmm0, dword [ebp - 0x54]
ucomiss xmm0, dword [0x48ac2c]
xorps xmm0, xmm0
lahf
sub esp, 0x18
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
test ah, 0x44
jp 0x414388
push 0xc
push str.Launching...
jmp 0x41438f
push 0x2f
push str.Downloading_the_latest_version_of_GrowScript...
call fcn.004027a0
call fcn.00413950
movss xmm1, dword [0x48ab90]
add esp, 0x18
mov ecx, 0x16
call fcn.00429820
movss xmm1, dword [0x48ab90]
mov ecx, 0x15
mov dword [ebp - 0x54], eax
call fcn.00429820
mov edx, dword [0x49717c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [edx + 0x1ba8]
mov eax, ecx
movss xmm0, dword [ecx + 0xd0]
subss xmm0, dword [ecx + 0xc]
addss xmm0, dword [ecx + 0x58]
addss xmm0, dword [0x48ac1c]
mov byte [eax + 0x8c], 1
mov eax, dword [edx + 0x1ba8]
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [eax + 0x58]
addss xmm1, xmm0
movss xmm0, dword [eax + 0xe8]
movss dword [eax + 0xd0], xmm1
maxss xmm0, xmm1
movss dword [eax + 0xe8], xmm0
mov eax, dword [edx + 0x1ba8]
movss xmm0, dword [eax + 0xd4]
subss xmm0, dword [eax + 0x10]
addss xmm0, dword [eax + 0x5c]
addss xmm0, dword [0x48ac0c]
mov byte [eax + 0x8c], 1
mov eax, dword [edx + 0x1ba8]
movss xmm1, dword [0x48abf4]
movss xmm3, dword [eax + 0x10]
subss xmm3, dword [eax + 0x5c]
movss xmm2, dword [eax + 0xec]
addss xmm3, xmm0
maxss xmm2, xmm3
movss dword [eax + 0xd4], xmm3
movss dword [eax + 0xec], xmm2
lea eax, [ebp - 0x54]
push eax
call fcn.00412340
movss xmm1, dword [0x48ac78]
add esp, 4
xorps xmm0, xmm0
call fcn.00434350
mov ecx, dword [0x49717c]
mov eax, dword [ecx + 0x1ba8]
movss xmm0, dword [eax + 0xd4]
subss xmm0, dword [eax + 0x10]
addss xmm0, dword [eax + 0x5c]
addss xmm0, dword [0x48ac04]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
movss xmm1, dword [eax + 0x10]
subss xmm1, dword [eax + 0x5c]
addss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm1
movss dword [eax + 0xd4], xmm1
movss dword [eax + 0xec], xmm0
mov eax, dword [0x495cd8]
mov dword [ebp - 0x4c], eax
movss xmm0, dword [ebp - 0x4c]
divss xmm0, dword [0x48ac2c]
mov edi, dword [0x49717c]
mov eax, dword [edi + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1ba8]
mov dword [ebp - 0x5c], eax
cmp byte [eax + 0x8f], 0
movss dword [ebp - 0x3c], xmm0
jne 0x41469d
mov ecx, dword [eax + 0xc4]
xor edx, edx
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.buffer_bar
call fcn.00429330
mov esi, eax
add esp, 4
cmp dword [edi + 0x1be0], esi
jne 0x41456f
mov dword [edi + 0x1be4], esi
cmp dword [edi + 0x1c1c], esi
jne 0x41457e
mov byte [edi + 0x1c20], 1
cmp dword [edi + 0x1bc8], esi
jne 0x41459b
push ecx
push str.buffer_bar
mov edx, 0xb
mov ecx, esi
call fcn.00439a80
add esp, 8
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x7c]
movss xmm1, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xd4]
movaps xmm0, xmm1
addss xmm0, dword [0x48ac48]
movaps xmm2, xmm3
movss dword [ebp - 0x4c], xmm1
addss xmm2, dword [0x48abf8]
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm3
movss dword [ebp - 0x28], xmm0
subss xmm0, xmm1
movss xmm1, dword [edi + 0x1568]
movss dword [ebp - 0x24], xmm2
subss xmm2, xmm3
movss dword [ebp - 0x7c], xmm0
movss dword [ebp - 0x78], xmm2
call fcn.00434050
push 0
push ecx
mov edx, esi
lea ecx, [ebp - 0x30]
call fcn.00434180
add esp, 8
test al, al
je 0x41469d
movss xmm0, dword [ebp - 0x4c]
lea eax, [ebp - 0x84]
addss xmm0, dword [0x48ac44]
mov esi, dword [ebp - 0x5c]
push 0
push ecx
mov dword [esp], 0
push dword [ebp - 0x1c]
mov ecx, dword [esi + 0x23c]
push eax
movss dword [ebp - 0x84], xmm0
lea eax, [ebp - 0x30]
movss xmm0, dword [ebp - 0x24]
push eax
movss dword [ebp - 0x80], xmm0
call fcn.00445080
movss xmm0, dword [ebp - 0x3c]
lea eax, [ebp - 0x48]
mulss xmm0, dword [0x48ac44]
push 0
push ecx
mov ecx, dword [esi + 0x23c]
addss xmm0, dword [ebp - 0x4c]
mov dword [esp], 0
push dword [ebp - 0x54]
push eax
movss dword [ebp - 0x48], xmm0
lea eax, [ebp - 0x30]
movss xmm0, dword [ebp - 0x24]
push eax
movss dword [ebp - 0x44], xmm0
call fcn.00445080
mov ecx, dword [0x49717c]
mov eax, dword [ecx + 0x1ba8]
movss xmm0, dword [eax + 0xd4]
subss xmm0, dword [eax + 0x10]
addss xmm0, dword [eax + 0x5c]
addss xmm0, dword [0x48ac14]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
movss xmm1, dword [eax + 0x10]
subss xmm1, dword [eax + 0x5c]
addss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm1
movss dword [eax + 0xd4], xmm1
movss dword [eax + 0xec], xmm0
movq xmm0, qword [0x495ce0]
movq qword [ebp - 0x48], xmm0
mov eax, dword [ebp - 0x48]
or eax, dword [ebp - 0x44]
je 0x4149e3
movq xmm0, qword [0x495ce0]
movq qword [ebp - 0x48], xmm0
push dword [ebp - 0x44]
lea ecx, [ebp - 0xcc]
push dword [ebp - 0x48]
call fcn.004128f0
movq xmm0, qword [0x495d30]
mov dword [ebp - 0x3c], eax
movq qword [ebp - 0x48], xmm0
push dword [ebp - 0x44]
lea ecx, [ebp - 0xb4]
push dword [ebp - 0x48]
call fcn.004128f0
push eax
mov edx, 0x458f58
lea ecx, [ebp - 0x9c]
call fcn.00418eb0
mov edi, eax
add esp, 0x14
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 3
jb 0x41479f
lea eax, [ecx + 3]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x414786
mov eax, dword [edi]
push 3
lea esi, [eax + ecx]
push 0x458f54
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 3], 0
jmp 0x4147b4
push 3
push 0x458f54
push dword [ebp - 0x3c]
mov ecx, edi
push 3
call fcn.0041b8a0
mov edi, eax
movups xmm0, xmmword [edi]
lea eax, [ebp - 0x38]
push dword [ebp - 0x3c]
movups xmmword [ebp - 0x38], xmm0
lea ecx, [ebp - 0x74]
movq xmm0, qword [edi + 0x10]
push eax
push dword [ebp - 0x3c]
movq qword [ebp - 0x28], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.0041ca10
mov edi, dword [ebp - 0x60]
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x64]
mov eax, edi
sub esp, 0x18
sub eax, edx
mov esi, esp
cmp eax, 1
jb 0x41481e
cmp edi, 0xf
lea eax, [edx + 1]
mov dword [ebp - 0x64], eax
cmova ecx, dword [ebp - 0x74]
mov al, byte [0x458f50]
mov byte [ecx + edx], al
lea eax, [ebp - 0x74]
mov byte [ecx + edx + 1], 0
jmp 0x41482f
push 1
push 0x458f50
push dword [ebp - 0x3c]
push 1
call fcn.0041b8a0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.00413950
mov ecx, dword [ebp - 0x60]
add esp, 0x18
cmp ecx, 0xf
jbe 0x4148a0
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414896
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4149b8
push ecx
push edx
call fcn.0044f001
add esp, 8
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x4148e6
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4148dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4149b8
push ecx
push edx
call fcn.0044f001
add esp, 8
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xf
jbe 0x414920
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414916
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4149b8
push ecx
push edx
call fcn.0044f001
add esp, 8
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp ecx, 0xf
jbe 0x414971
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414967
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4149b8
push ecx
push edx
call fcn.0044f001
add esp, 8
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
cmp ecx, 0xf
jbe 0x4149c8
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4149be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4149be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044f001
add esp, 8
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
call fcn.00433a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044ec8d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret