Function at 0x417300
Capabilities:
Delete registry value
Persist via run registry key
Read .ini file

Disassembly:
mov eax, dword [esi + 0x59c]
sub esp, 0x18
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.autorun
push str.memory
call edi
test eax, eax
je 0x41732b
push esi
call fcn.00417590
jmp 0x41735f
lea eax, [esp + 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ecx, dword [esp + 4]
push str.TTKVOD
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x41735f
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x59c]
push eax
push 2
push str.PlayMode
push str.memory
call edi
mov dword [esi + 0x60c], eax
mov eax, dword [esi + 0x59c]
push eax
push 0
push str.close
push str.memory
call edi
mov dword [esi + 0x5e4], eax
mov eax, dword [esi + 0x59c]
push eax
push 1
push str.remember
push str.memory
call edi
mov dword [esi + 0x5e8], eax
mov eax, dword [esi + 0x59c]
push eax
push 4
push str.FRAMERATIO
push str.memory
call edi
mov ecx, dword [esi + 0x518]
mov dword [esi + 0x5f4], eax
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x5c]
push ecx
call eax
mov eax, dword [esi + 0x59c]
push eax
push 2
push 0x47c2ac
push str.memory
call edi
mov dword [esi + 0x5f8], eax
cmp eax, 1
jne 0x417404
mov dword [esi + 0x5f8], 2
mov eax, dword [esi + 0x518]
mov edx, dword [esi + 0x5f8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x64]
call eax
mov eax, dword [esi + 0x59c]
push eax
push 3
push 0x47bae8
push str.memory
call edi
mov dword [esi + 0x5fc], eax
mov eax, dword [esi + 0x59c]
push eax
push 3
push 0x47c6e4
push str.memory
call edi
mov dword [esi + 0x600], eax
cmp eax, 2
jne 0x41746c
mov ecx, dword [esi + 0x4e8]
push 0x3e8
push 5
push ecx
lea ecx, [esi + 0x78]
call fcn.00433ab0
jmp 0x41747d
mov edx, dword [esi + 0x4e8]
push 5
push edx
lea ecx, [esi + 0x78]
call fcn.00433ba0
xor eax, eax
cmp dword [esi + 0x5fc], 2
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
jne 0x4174c9
mov ecx, dword [esi + 4]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push 3
sub edx, eax
push edx
mov edx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
push ecx
push 0xffffffffffffffff
jmp 0x4174f4
mov edx, dword [esi + 4]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 3
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x10]
sub edx, ecx
push edx
push eax
push ecx
push 0xfffffffffffffffe
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x59c]
push eax
push 1
push str.clickpause
push str.memory
call edi
mov dword [esi + 0x5ec], eax
mov eax, dword [esi + 0x59c]
push eax
push 0
push str.hidepause
push str.memory
call edi
mov dword [esi + 0x5f0], eax
mov eax, dword [esi + 0x59c]
push eax
push 1
push 0x47b714
push str.memory
call edi
mov dword [esi + 0xdcc], eax
mov eax, dword [esi + 0x59c]
push eax
push 1
push str.qtacc
push str.memory
call edi
mov dword [esi + 0xdd0], eax
mov eax, dword [esi + 0x59c]
push eax
push 0xa
push str.speed
push str.memory
call edi
mov dword [esi + 0x604], eax
pop edi
add esp, 0x18
ret