Function at 0x403420
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x429e78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x436740]
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.0041ea1d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0041ea6c
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0041c033
inc eax
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0041bfbb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.0041e74d
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.0041e614
mov eax, dword [esp + 0x2c]
lea edi, [esi + 0xa4]
cmp eax, ebx
jne 0x40358b
push str.Program_Files_newyxmain.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.0041e8a9
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041e614
push str.Program_Files_newyxconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0041e8a9
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041e614
push str.Program_Files_newyxmain.ini
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.0041e8a9
mov ebp, dword [eax]
lea edx, [esi + 0x98]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x30], 2
call fcn.0041e843
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.0041e614
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.0041e614
push str.Program_Files_newyxmain.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.0041e8a9
mov eax, dword [eax]
mov esi, dword [esi + 0x94]
push eax
push esi
push str.gamename
push str.main
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041e614
jmp 0x40373d
push str.Program_Files_newyxconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0041e8a9
mov eax, dword [eax]
mov ecx, dword [esi + 0x194]
mov edx, dword [esi + 0x190]
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.0041e614
push str.Program_Files_newyxconfig.ini
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.0041e8a9
mov eax, dword [eax]
mov ecx, dword [esi + 0x19c]
mov edx, dword [esi + 0x198]
push eax
push ecx
push edx
push str.rmyx
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041e614
push str.Program_Files_newyxconfig.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.0041e8a9
mov eax, dword [eax]
mov ecx, dword [esi + 0x1a4]
mov edx, dword [esi + 0x1a0]
push eax
push ecx
push edx
push str.rmyx
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041e614
push str.Program_Files_newyxconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0041e8a9
mov eax, dword [eax]
mov ecx, dword [esi + 0x9c]
push eax
push ecx
push str.image
push str.tpgg
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041e614
push str.Program_Files_newyxconfig.ini
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.0041e8a9
mov eax, dword [eax]
mov ecx, dword [esi + 0xa0]
push eax
push ecx
push 0x436368
push str.tpgg
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041e614
push str.Program_Files_newyxconfig.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.0041e8a9
mov eax, dword [eax]
push eax
push 0x43a794
push str.main
push str.yxgl
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041e614
mov dword [esp + 0x2c], ebx
lea ebx, [esi + 0x1a8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x80]
cmp ecx, eax
je 0x403702
push str.Program_Files_newyxconfig.ini
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.0041e8a9
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.0041e614
mov eax, dword [esp + 0x2c]
add ebx, 8
inc eax
cmp eax, 3
mov dword [esp + 0x2c], eax
jl 0x4036b9
add esi, 0x1c0
mov ebx, 3
push str.Program_Files_newyxconfig.ini
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.0041e8a9
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.0041e614
add esi, 8
dec ebx
jne 0x40370d
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041e614
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4