Function at 0x401b8f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x40b200]
push ebx
push esi
mov esi, 0x40b200
xor ebx, ebx
push edi
mov ecx, esi
mov dword [ebp - 8], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [0x40b200]
mov ecx, esi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
cmp byte [eax], bl
jne 0x401c6f
push dword [ebp - 0x24]
mov eax, dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.00404f89
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x401c00
push eax
call esi
cmp dword [ebp - 0x6c], ebx
jle 0x401c3a
mov eax, dword [ebp + 8]
add eax, 0x4c
mov dword [ebp + 8], eax
mov eax, ebx
lea ecx, [ebp - 0x70]
call fcn.004040f1
push eax
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x64]
call fcn.00403d87
pop ecx
push dword [eax]
call esi
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
call fcn.00404c4b
inc ebx
cmp ebx, dword [ebp - 0x6c]
jl 0x401c0e
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00404c4b
lea edi, [ebp - 0x7c]
call fcn.0040439a
lea edi, [ebp - 0x70]
call fcn.004044d0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 8
mov esi, 0x40b200
mov eax, dword [0x40b200]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00402f8d
pop ecx
lea ebx, [ebp - 4]
mov dword [ebp - 0x3c], eax
call fcn.0040426a
call fcn.004042b7
mov ecx, dword [ebp - 4]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x401cd0
jge 0x401cb5
push 0x80070057
call fcn.00404e5f
mov ecx, dword [ebp - 4]
cmp byte [ecx], 0x5b
jne 0x401cd0
mov ecx, dword [ecx - 0xc]
lea esi, [ecx - 1]
lea edi, [ebp - 4]
call fcn.00403a1f
cmp al, 0x5d
je 0x4020a9
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x40]
push eax
push 4
pop edi
mov ecx, edi
lea eax, [ebp - 4]
call fcn.00403cfc
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.inf
push eax
call esi
mov ebx, eax
mov eax, dword [ebp - 0x40]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00404c4b
test bl, bl
je 0x401db1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x40208d
mov eax, dword [ebp + 8]
push str.whenu.inf
add eax, 0x4c
lea edi, [ebp - 0x2c]
call fcn.00403dde
mov eax, dword [ebp - 4]
pop ecx
mov ecx, dword [eax - 0xc]
push 4
pop edx
lea eax, [ebp - 0x28]
push eax
sub ecx, edx
lea eax, [ebp - 4]
call fcn.00403c94
push 0x409550
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x28]
call fcn.00403d43
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00404c4b
lea ebx, [ebp - 0x20]
call fcn.0040426a
call fcn.004042b7
mov esi, dword [ebp - 0x2c]
push esi
push str.WHENU
push dword [ebp - 0x20]
call fcn.0040379f
add esp, 0xc
test al, al
je 0x4020b9
mov eax, edi
lea edi, [ebp - 0x18]
call fcn.00404196
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00404c4b
lea eax, [esi - 0x10]
call fcn.00404c4b
jmp 0x40208d
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
lea eax, [ebp - 4]
call fcn.00403cfc
mov eax, dword [eax]
push str.cab
push eax
call esi
mov ebx, eax
mov eax, dword [ebp - 0x44]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00404c4b
test bl, bl
je 0x401edd
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x30]
push eax
sub ecx, edi
mov edx, edi
lea eax, [ebp - 4]
call fcn.00403c94
mov edi, 0x409550
push edi
lea eax, [ebp - 0x14]
push eax
lea esi, [ebp - 0x30]
call fcn.00403d43
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x14]
mov edx, dword [eax - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x34]
add edx, 5
push eax
sub ecx, edx
lea eax, [ebp - 4]
call fcn.00403c94
push edi
lea eax, [ebp - 0xc]
push eax
lea esi, [ebp - 0x34]
call fcn.00403d43
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.00404c4b
lea ebx, [ebp - 0x14]
call fcn.0040426a
call fcn.004042b7
lea ebx, [ebp - 0xc]
call fcn.0040426a
call fcn.004042b7
mov eax, dword [ebp - 0xc]
cmp dword [eax - 0xc], 0
jne 0x401e85
mov esi, str.whenu.cab
mov ecx, esi
call fcn.00404cab
push eax
push esi
mov eax, ebx
push eax
call fcn.0040458f
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
add eax, 0x4c
lea edi, [ebp - 0x48]
call fcn.00403d87
push dword [eax]
push str.WHENU
push dword [ebp - 0x14]
call fcn.0040379f
mov bl, al
mov eax, dword [ebp - 0x48]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00404c4b
test bl, bl
je 0x4020c9
lea eax, [ebp - 0xc]
push eax
lea esi, [ebp - 0x70]
call fcn.004040aa
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x14]
jmp 0x402001
lea eax, [ebp - 0x4c]
push eax
push 7
pop ecx
lea eax, [ebp - 4]
call fcn.00403cfc
mov eax, dword [eax]
push str.string
push eax
call esi
mov ebx, eax
mov eax, dword [ebp - 0x4c]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00404c4b
test bl, bl
je 0x402009
mov eax, dword [0x40b200]
mov esi, 0x40b200
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [0x40b200]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x50]
push eax
push 7
sub ecx, 7
pop edx
lea eax, [ebp - 4]
call fcn.00403c94
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
call fcn.00402feb
lea eax, [esi - 0x10]
call fcn.00404c4b
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x401ff3
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x7c]
call fcn.00403f48
push 0x409658
push dword [ebp - 0x1c]
lea ebx, [ebp - 0x60]
call fcn.00403726
pop ecx
push eax
push 0x3d
lea eax, [ebp - 0x10]
lea edi, [ebp - 0x5c]
call fcn.00403e91
pop ecx
lea edi, [ebp - 0x58]
call fcn.00403d87
pop ecx
lea edi, [ebp - 0x54]
call fcn.00403dde
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404796
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x401da7
or dword [ebp - 8], 1
lea eax, [ebp - 0x64]
push eax
push 0xa
pop ecx
lea eax, [ebp - 4]
call fcn.00403cfc
mov eax, dword [eax]
push str.condition
push eax
call esi
test eax, eax
jne 0x40205d
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 0xc]
or dword [ebp - 8], 2
lea eax, [ebp - 0x38]
push eax
push 0xa
sub ecx, 0xa
pop edx
lea eax, [ebp - 4]
call fcn.00403c94
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x38]
push dword [ebp + 8]
call fcn.0040316d
test al, al
jne 0x40205d
mov bl, 1
jmp 0x40205f
xor bl, bl
test byte [ebp - 8], 2
je 0x402074
mov eax, dword [ebp - 0x38]
and dword [ebp - 8], 0xfffffffd
add eax, 0xfffffff0
call fcn.00404c4b
test byte [ebp - 8], 1
je 0x402089
mov eax, dword [ebp - 0x64]
and dword [ebp - 8], 0xfffffffe
add eax, 0xfffffff0
call fcn.00404c4b
test bl, bl
jne 0x4020df
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x3c]
cmp byte [eax], 0
jne 0x401c6a
jmp 0x401bdf
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404c4b
jmp 0x401bdf
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00404c4b
lea eax, [esi - 0x10]
jmp 0x4020da
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404c4b
jmp 0x401bed