Function at 0x4039e0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4286a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x434900]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
xor ebx, ebx
push 0x100
push 0x100
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebx
call fcn.00420e31
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00420e80
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0041bd73
inc eax
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0041bcfb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.00420b61
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.00420a28
mov eax, dword [esp + 0x2c]
lea edi, [esi + 0xa8]
cmp eax, ebx
jne 0x403b4b
push str.Program_Filesyxdownmain.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.00420cbd
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebp
lea ecx, [esp + 0x2c]
call fcn.00420a28
push str.Program_Filesyxdownconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00420cbd
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x2c]
call fcn.00420a28
push str.Program_Filesyxdownmain.ini
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.00420cbd
mov ebp, dword [eax]
lea edx, [esi + 0x9c]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x30], 2
call fcn.00420c57
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.00420a28
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.00420a28
push str.Program_Filesyxdownmain.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.00420cbd
mov eax, dword [eax]
mov esi, dword [esi + 0x98]
push eax
push esi
push str.gamename
push str.main
call ebp
lea ecx, [esp + 0x2c]
call fcn.00420a28
jmp 0x403cfd
push str.Program_Filesyxdownconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00420cbd
mov eax, dword [eax]
mov ecx, dword [esi + 0x198]
mov edx, dword [esi + 0x194]
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.00420a28
push str.Program_Filesyxdownconfig.ini
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.00420cbd
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.00420a28
push str.Program_Filesyxdownconfig.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.00420cbd
mov eax, dword [eax]
mov ecx, dword [esi + 0x1a8]
mov edx, dword [esi + 0x1a4]
push eax
push ecx
push edx
push str.rmyx
call ebp
lea ecx, [esp + 0x2c]
call fcn.00420a28
push str.Program_Filesyxdownconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00420cbd
mov eax, dword [eax]
mov ecx, dword [esi + 0xa0]
push eax
push ecx
push str.image
push str.tpgg
call ebp
lea ecx, [esp + 0x2c]
call fcn.00420a28
push str.Program_Filesyxdownconfig.ini
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.00420cbd
mov eax, dword [eax]
mov ecx, dword [esi + 0xa4]
push eax
push ecx
push 0x4344cc
push str.tpgg
call ebp
lea ecx, [esp + 0x2c]
call fcn.00420a28
push str.Program_Filesyxdownconfig.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.00420cbd
mov eax, dword [eax]
push eax
push 0x438834
push str.main
push str.yxgl
call ebp
lea ecx, [esp + 0x2c]
call fcn.00420a28
mov dword [esp + 0x2c], ebx
lea ebx, [esi + 0x1ac]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x84]
cmp ecx, eax
je 0x403cc2
push str.Program_Filesyxdownconfig.ini
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.00420cbd
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.00420a28
mov eax, dword [esp + 0x2c]
add ebx, 8
inc eax
cmp eax, 3
mov dword [esp + 0x2c], eax
jl 0x403c79
add esi, 0x1c4
mov ebx, 3
push str.Program_Filesyxdownconfig.ini
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.00420cbd
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.00420a28
add esi, 8
dec ebx
jne 0x403ccd
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00420a28
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4