Function at 0x402580
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov dword [ebp - 0x478], ecx
push 0x423500
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041a676
add esp, 8
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x4025b6
xor eax, eax
jmp 0x4029df
push 0
push 0x4b000
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.0041a5be
add esp, 0xc
test eax, eax
je 0x4025e6
mov edx, dword [ebp - 0x22c]
push edx
call fcn.0041a568
add esp, 4
xor eax, eax
jmp 0x4029df
mov eax, dword [ebp - 0x22c]
push eax
push 0x10
push 1
lea ecx, [ebp - 0x358]
push ecx
call fcn.0041a47f
add esp, 0x10
cmp dword [ebp - 0x358], 0x4b000
jle 0x402622
mov edx, dword [ebp - 0x22c]
push edx
call fcn.0041a568
add esp, 4
xor eax, eax
jmp 0x4029df
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0041a280
add esp, 8
push 0x2e
lea edx, [ebp - 0x110]
push edx
call fcn.0041a690
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402668
lea eax, [ebp - 0x110]
push eax
call fcn.0041a8f0
add esp, 4
lea ecx, [ebp + eax - 0x110]
mov dword [ebp - 4], ecx
push 0x423504
mov edx, dword [ebp - 4]
push edx
call fcn.0041a280
add esp, 8
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.0041a280
add esp, 8
lea edx, [ebp - 0x348]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.0041a740
add esp, 8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jle 0x402780
lea ecx, [ebp - 0x334]
push ecx
call fcn.0041a8f0
add esp, 4
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 4
jle 0x4026f7
push str..exe
mov edx, dword [ebp - 0x35c]
lea eax, [ebp + edx - 0x338]
push eax
call fcn.00422a76
add esp, 8
test eax, eax
jne 0x4026f7
jmp 0x402753
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x468]
push edx
call fcn.0041a280
add esp, 8
push 0x5c
lea eax, [ebp - 0x468]
push eax
call fcn.0041a690
add esp, 8
mov dword [ebp - 0x46c], eax
cmp dword [ebp - 0x46c], 0
je 0x402746
lea ecx, [ebp - 0x334]
push ecx
mov edx, dword [ebp - 0x46c]
add edx, 1
push edx
call fcn.0041a280
add esp, 8
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x348]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call fcn.0041a81a
add esp, 8
test eax, eax
je 0x4026b8
mov eax, dword [ebp - 0x224]
push eax
call fcn.0041a6bd
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.0041a280
add esp, 8
lea eax, [ebp - 0x110]
push eax
call fcn.00403e80
add esp, 4
push 0x423510
lea ecx, [ebp - 0x110]
push ecx
call fcn.0041a676
add esp, 8
mov dword [ebp - 0x114], eax
push 0
push 0
mov edx, dword [ebp - 0x22c]
push edx
call fcn.0041a5be
add esp, 0xc
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x34c], 0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0xc]
and ecx, 0x10
jne 0x402942
mov edx, dword [ebp - 0x228]
cmp edx, dword [ebp + 0x10]
jl 0x4028f5
mov eax, dword [ebp - 0x114]
push eax
call fcn.0041a568
add esp, 4
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x228], 0
mov ecx, dword [ebp - 0x34c]
add ecx, 1
mov dword [ebp - 0x34c], ecx
push 0x5c
lea edx, [ebp - 0x110]
push edx
call fcn.0041a690
add esp, 8
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 0
je 0x402884
push 0x2e
mov eax, dword [ebp - 0x470]
push eax
call fcn.0041a690
add esp, 8
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x474], 0
je 0x402882
mov ecx, dword [ebp - 0x474]
mov dword [ebp - 0x470], ecx
jmp 0x4028a0
lea edx, [ebp - 0x110]
push edx
call fcn.0041a8f0
add esp, 4
lea eax, [ebp + eax - 0x110]
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x34c]
push ecx
push str.._03d
mov edx, dword [ebp - 0x470]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x42351c
lea eax, [ebp - 0x110]
push eax
call fcn.0041a676
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4028f5
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.0041a568
add esp, 4
xor eax, eax
jmp 0x4029df
mov edx, dword [ebp - 0x22c]
push edx
push 1
push 1
lea eax, [ebp - 0x22d]
push eax
call fcn.0041a47f
add esp, 0x10
cmp eax, 1
jne 0x40293d
mov ecx, dword [ebp - 0x114]
push ecx
push 1
push 1
lea edx, [ebp - 0x22d]
push edx
call fcn.0041a378
add esp, 0x10
mov eax, dword [ebp - 0x228]
add eax, 1
mov dword [ebp - 0x228], eax
jmp 0x4027e3
cmp dword [ebp - 0x114], 0
je 0x40295a
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0041a568
add esp, 4
cmp dword [ebp - 0x34c], 0
jle 0x4029cb
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x350], edx
push 0x423520
mov eax, dword [ebp + 8]
push eax
call fcn.0041a676
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x4029cb
push 0
push 0x4b000
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0041a5be
add esp, 0xc
mov edx, dword [ebp - 0x114]
push edx
push 0x10
push 1
lea eax, [ebp - 0x358]
push eax
call fcn.0041a378
add esp, 0x10
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.0041a568
add esp, 4
mov edx, dword [ebp - 0x22c]
push edx
call fcn.0041a568
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc