Function at 0x403840
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x42a3f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x437828]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
push pe_nt_image_headers32
push pe_nt_image_headers32
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
call fcn.0041ef01
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.0041ef50
push 0x5c
lea ecx, [esp + 0x10]
call fcn.0041c4c3
inc eax
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0041c44b
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.0041ec31
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.0041eaf8
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4039cf
lea edi, [esi + 0xa4]
push str.Program_Fileswanyxmain.ini
lea edx, [esp + 0x2c]
push edi
push edx
call fcn.0041ed8d
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
lea ecx, [esp + 0x28]
call fcn.0041eaf8
push str.Program_Fileswanyxconfig.ini
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.0041ed8d
mov eax, dword [eax]
push eax
call ebx
lea ecx, [esp + 0x28]
call fcn.0041eaf8
push str.Program_Fileswanyxmain.ini
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.0041ed8d
mov ebx, dword [eax]
lea edx, [esi + 0x98]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x2c], 2
call fcn.0041ed27
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.0041eaf8
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.0041eaf8
push str.Program_Fileswanyxmain.ini
lea edx, [esp + 0x2c]
push edi
push edx
call fcn.0041ed8d
mov eax, dword [eax]
mov esi, dword [esi + 0x94]
push eax
push esi
push str.gamename
push str.main
call ebx
lea ecx, [esp + 0x28]
call fcn.0041eaf8
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.0041eaf8
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 + 0xa4]
push str.Program_Fileswanyxconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0041ed8d
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.0041eaf8
push str.Program_Fileswanyxconfig.ini
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.0041ed8d
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.0041eaf8
push str.Program_Fileswanyxconfig.ini
lea edx, [esp + 0x30]
push edi
push edx
call fcn.0041ed8d
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.0041eaf8
push str.Program_Fileswanyxconfig.ini
lea eax, [esp + 0x30]
push edi
push eax
call fcn.0041ed8d
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.0041eaf8
push str.Program_Fileswanyxconfig.ini
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.0041ed8d
mov eax, dword [eax]
mov ecx, dword [esi + 0xa0]
push eax
push ecx
push 0x4373a8
push str.tpgg
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041eaf8
push str.Program_Fileswanyxconfig.ini
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.0041ed8d
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.0041ee01
push str..html
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x30], 4
call fcn.0041ed8d
mov eax, dword [eax]
push ebx
push eax
push str.main
push str.yxgl
call ebp
lea ecx, [esp + 0x2c]
call fcn.0041eaf8
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.0041eaf8
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.0041eaf8
mov dword [esp + 0x2c], 0
lea ebx, [esi + 0x1a8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x80]
cmp ecx, eax
je 0x403b9b
push str.Program_Fileswanyxconfig.ini
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.0041ed8d
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.0041eaf8
mov eax, dword [esp + 0x2c]
add ebx, 8
inc eax
cmp eax, 3
mov dword [esp + 0x2c], eax
jl 0x403b52
add esi, 0x1c0
mov ebx, 3
push str.Program_Fileswanyxconfig.ini
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.0041ed8d
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.0041eaf8
add esi, 8
dec ebx
jne 0x403ba6
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041eaf8
mov ecx, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4