Function at 0x4051b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x42b488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x438970]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
push 0x100
push 0x100
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
call fcn.0041fd4d
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.0041fd9c
push 0x5c
lea ecx, [esp + 0x10]
call fcn.0041d313
inc eax
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0041d29b
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.0041fa7d
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.0041f944
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x40533f
lea edi, [esi + 0xbc]
push str.Program_Fileswanyxmain.ini
lea edx, [esp + 0x2c]
push edi
push edx
call fcn.0041fbd9
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
lea ecx, [esp + 0x28]
call fcn.0041f944
push str.Program_Fileswanyxconfig.ini
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.0041fbd9
mov eax, dword [eax]
push eax
call ebx
lea ecx, [esp + 0x28]
call fcn.0041f944
push str.Program_Fileswanyxmain.ini
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.0041fbd9
mov ebx, dword [eax]
lea edx, [esi + 0xb8]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x2c], 2
call fcn.0041fb73
mov eax, dword [eax]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push str.startname
push str.main
call ebx
lea ecx, [esp + 0x28]
call fcn.0041f944
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.0041f944
push str.Program_Fileswanyxmain.ini
lea edx, [esp + 0x2c]
push edi
push edx
call fcn.0041fbd9
mov eax, dword [eax]
mov esi, dword [esi + 0xb4]
push eax
push esi
push str.gamename
push str.main
call ebx
lea ecx, [esp + 0x28]
call fcn.0041f944
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.0041f944
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
push ebp
lea edi, [esi + 0xbc]
push str.Program_Fileswanyxconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0041fbd9
mov eax, dword [eax]
mov ecx, dword [esi + 0x1d8]
mov edx, dword [esi + 0x1d4]
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.0041f944
push str.Program_Fileswanyxconfig.ini
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.0041fbd9
mov eax, dword [eax]
mov ecx, dword [esi + 0x1e0]
mov edx, dword [esi + 0x1dc]
push eax
push ecx
push edx
push str.rmyx
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041f944
push str.Program_Fileswanyxconfig.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.0041fbd9
mov eax, dword [eax]
mov ecx, dword [esi + 0x1e8]
mov edx, dword [esi + 0x1e4]
push eax
push ecx
push edx
push str.rmyx
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041f944
push str.Program_Fileswanyxconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0041fbd9
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.0041f944
push str.Program_Fileswanyxconfig.ini
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.0041fbd9
mov eax, dword [eax]
mov ecx, dword [esi + 0x9c]
push eax
push ecx
push 0x438538
push str.tpgg
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041f944
push str.Program_Fileswanyxconfig.ini
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.0041fbd9
mov ebx, dword [eax]
lea eax, [esi + 0x90]
push eax
lea ecx, [esp + 0x18]
push str.http:__www.wanyx.com_machao_
push ecx
mov byte [esp + 0x30], 3
call fcn.0041fc4d
push str..html
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x30], 4
call fcn.0041fbd9
mov eax, dword [eax]
push ebx
push eax
push str.main
push str.yxgl
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041f944
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.0041f944
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.0041f944
mov dword [esp + 0x2c], 0
lea ebx, [esi + 0x20c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xc8]
cmp ecx, eax
je 0x40550b
push str.Program_Fileswanyxconfig.ini
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.0041fbd9
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 + 0x18]
call fcn.0041f944
mov eax, dword [esp + 0x2c]
add ebx, 8
inc eax
cmp eax, 3
mov dword [esp + 0x2c], eax
jl 0x4054c2
lea ebx, [esi + 0x224]
mov dword [esp + 0x2c], 3
push str.Program_Fileswanyxconfig.ini
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.0041fbd9
mov eax, dword [eax]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push eax
push ecx
push edx
push str.zxyx
call ebp
lea ecx, [esp + 0x18]
call fcn.0041f944
mov eax, dword [esp + 0x2c]
add ebx, 8
dec eax
mov dword [esp + 0x2c], eax
jne 0x405519
add esi, 0x1ec
mov ebx, 4
push str.Program_Fileswanyxconfig.ini
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0041fbd9
mov eax, dword [eax]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push eax
push ecx
push edx
push str.wzgg
call ebp
lea ecx, [esp + 0x18]
call fcn.0041f944
add esi, 8
dec ebx
jne 0x40555c
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041f944
mov ecx, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4