Function at 0x4033b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x427f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x433720]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
xor ebx, ebx
push pe_nt_image_headers32
push pe_nt_image_headers32
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebx
call fcn.0041e12a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0041e179
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0041b763
inc eax
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0041b6eb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.0041de5a
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.0041dd21
mov eax, dword [esp + 0x2c]
lea edi, [esi + 0xa0]
cmp eax, ebx
jne 0x40351b
push str.Program_Files_newyxmain.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.0041dfb6
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041dd21
push str.Program_Files_newyxconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0041dfb6
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041dd21
push str.Program_Files_newyxmain.ini
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.0041dfb6
mov ebp, dword [eax]
lea edx, [esi + 0x94]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x30], 2
call fcn.0041df50
mov eax, dword [eax]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push str.startname
push str.main
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041dd21
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.0041dd21
push str.Program_Files_newyxmain.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.0041dfb6
mov eax, dword [eax]
mov esi, dword [esi + 0x90]
push eax
push esi
push str.gamename
push str.main
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041dd21
jmp 0x4036ca
push str.Program_Files_newyxconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0041dfb6
mov eax, dword [eax]
mov ecx, dword [esi + 0x190]
mov edx, dword [esi + 0x18c]
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push ecx
push edx
push str.rmyx
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041dd21
push str.Program_Files_newyxconfig.ini
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.0041dfb6
mov eax, dword [eax]
mov ecx, dword [esi + 0x198]
mov edx, dword [esi + 0x194]
push eax
push ecx
push edx
push str.rmyx
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041dd21
push str.Program_Files_newyxconfig.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.0041dfb6
mov eax, dword [eax]
mov ecx, dword [esi + 0x1a0]
mov edx, dword [esi + 0x19c]
push eax
push ecx
push edx
push str.rmyx
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041dd21
push str.Program_Files_newyxconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0041dfb6
mov eax, dword [eax]
mov ecx, dword [esi + 0x98]
push eax
push ecx
push str.image
push str.tpgg
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041dd21
push str.Program_Files_newyxconfig.ini
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.0041dfb6
mov eax, dword [eax]
mov ecx, dword [esi + 0x9c]
push eax
push ecx
push 0x433344
push str.tpgg
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041dd21
push str.Program_Files_newyxconfig.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.0041dfb6
mov eax, dword [eax]
push eax
push 0x437614
push str.main
push str.yxgl
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041dd21
mov dword [esp + 0x2c], ebx
lea ebx, [esi + 0x1a4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x7c]
cmp ecx, eax
je 0x40368f
push str.Program_Files_newyxconfig.ini
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.0041dfb6
mov eax, dword [eax]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push eax
push ecx
push edx
push str.yxgl
call ebp
lea ecx, [esp + 0x14]
call fcn.0041dd21
mov eax, dword [esp + 0x2c]
add ebx, 8
inc eax
cmp eax, 3
mov dword [esp + 0x2c], eax
jl 0x403649
add esi, 0x1bc
mov ebx, 3
push str.Program_Files_newyxconfig.ini
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.0041dfb6
mov eax, dword [eax]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push eax
push ecx
push edx
push str.zxyx
call ebp
lea ecx, [esp + 0x18]
call fcn.0041dd21
add esi, 8
dec ebx
jne 0x40369a
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041dd21
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4