Function at 0x405333
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
jne 0x40539d
mov ebx, str.TheWorld_3.0.lnk
lea eax, [esi + 0x28]
push ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.004059cf
push dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
lea ecx, [ebp - 4]
call fcn.00404036
lea eax, [esi + 0x24]
push ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.004059cf
push dword [eax]
call edi
lea ecx, [ebp - 4]
call fcn.00404036
lea eax, [esi + 0x2c]
push ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.004059cf
push dword [eax]
call edi
lea ecx, [ebp - 4]
call fcn.00404036
push dword [esi + 0x20]
lea edi, [esi + 0x20]
call fcn.004093f6
pop ecx
mov ebx, 0x40ce24
push ebx
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004059cf
mov eax, dword [eax]
mov edi, 0x40ca38
mov dword [ebp - 8], eax
lea eax, [esi + 0x18]
push edi
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp - 8]
push eax
call fcn.00408934
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 0x10]
call fcn.00404036
lea eax, [esi + 0x20]
push 0x40ce08
push eax
lea eax, [ebp - 8]
push eax
call fcn.004059cf
mov eax, dword [eax]
push str.UnInst.exe
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp - 0x10]
push eax
call fcn.00408934
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
lea eax, [esi + 0x20]
push 0x40cdf0
push eax
lea eax, [ebp - 8]
push eax
call fcn.004059cf
mov eax, dword [eax]
push edi
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push str._tp:4
push dword [ebp - 0x10]
push eax
call fcn.00408934
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
cmp dword [esi + 0x44], 0
je 0x4054c9
lea eax, [esi + 0x28]
push ebx
push eax
lea eax, [ebp - 8]
push eax
call fcn.004059cf
mov eax, dword [eax]
push edi
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp - 0x10]
push eax
call fcn.00408934
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
cmp dword [esi + 0x48], 0
je 0x40550f
lea eax, [esi + 0x2c]
push ebx
push eax
lea eax, [ebp - 8]
push eax
call fcn.004059cf
mov eax, dword [eax]
push edi
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push dword [ebp - 0x10]
push eax
call fcn.00408934
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00404036
lea ecx, [ebp - 8]
call fcn.00404036
add esi, 0x24
push ebx
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.004059cf
mov esi, dword [eax]
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
call fcn.004059cf
mov eax, dword [eax]
push 0
push esi
push eax
call fcn.00408934
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00404036
lea ecx, [ebp - 0xc]
call fcn.00404036
pop edi
pop esi
pop ebx
leave
ret