Function at 0x403fb1
Capabilities:
Delete file

Disassembly:
push 0x50
mov eax, 0x56b1ff
call fcn.0054b87d
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x2c]
push 1
push eax
call fcn.00404e03
push ecx
mov ecx, esp
mov esi, 0x57c270
push esi
push eax
xor edi, edi
push ecx
mov dword [ebp - 4], edi
call fcn.00402a79
mov ecx, dword [ebx + 8]
add esp, 0xc
call fcn.00405375
mov ecx, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.004067fa
push ecx
mov ecx, esp
mov dword [ebp - 4], 1
push esi
push eax
push ecx
call fcn.00402a79
mov ecx, dword [ebx + 8]
add esp, 0xc
call fcn.00405375
mov ecx, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00402327
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00403f95
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 4], 2
cmp dword [esi - 0xc], edi
je 0x4045f1
push edi
push 0x5e
lea ecx, [ebp - 0x2c]
call fcn.004036e8
cmp eax, 0xffffffff
je 0x4045f1
mov dword [ebp - 0x28], edi
push 1
push 0xa
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
mov dword [ebp - 0x54], edi
call fcn.00401ea5
add eax, 0x10
pop ecx
mov dword [edi], eax
mov ecx, dword [ebx + 8]
call fcn.00405ba8
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
jge 0x4045f1
push 1
push 0xa
push ecx
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
mov dword [ebp - 0x54], edi
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x18]
pop ecx
mov ecx, dword [ebx + 8]
push eax
call fcn.00405c42
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x4045dd
js 0x4045ff
mov cl, byte [eax]
cmp cl, 0x3b
je 0x4045dd
push 0
push 0x5e
push 0
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
mov dword [ebp - 0x54], edi
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x24]
pop ecx
mov ecx, dword [ebx + 8]
push eax
call fcn.00405c42
push 1
push 0x5e
push 1
push ecx
mov edi, esp
mov byte [ebp - 4], 4
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
pop ecx
mov ecx, dword [ebx + 8]
push eax
call fcn.00405c42
push 1
push 0x5e
push 2
push ecx
mov edi, esp
mov byte [ebp - 4], 5
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x40]
pop ecx
mov ecx, dword [ebx + 8]
push eax
call fcn.00405c42
push 1
push 0x5e
push 3
push ecx
mov edi, esp
mov byte [ebp - 4], 6
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x3c]
pop ecx
mov ecx, dword [ebx + 8]
push eax
call fcn.00405c42
push 1
push 0x5e
push 4
push ecx
mov edi, esp
mov byte [ebp - 4], 7
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x38]
pop ecx
mov ecx, dword [ebx + 8]
push eax
call fcn.00405c42
push 1
push 0x5e
push 5
push ecx
mov edi, esp
mov byte [ebp - 4], 8
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x50]
pop ecx
mov ecx, dword [ebx + 8]
push eax
call fcn.00405c42
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 0
push eax
mov byte [ebp - 4], 9
call fcn.0040675b
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
mov ecx, ebx
call fcn.00403f4f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040365f
add esp, 0xc
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.00402327
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push SysReAllocString
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
mov ebx, 0x57bef9
push ebx
call fcn.00401c3d
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push ebx
mov byte [ebp - 4], 0xe
call fcn.00401c3d
push ecx
mov ebx, esp
mov byte [ebp - 4], 0xf
push 0
push ecx
mov edi, esp
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
pop ecx
push ebx
mov ebx, dword [ebp - 0x20]
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [ebx + 8]
call fcn.004058cc
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 8]
push eax
call fcn.00406164
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
push eax
push ecx
mov edi, esp
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
pop ecx
mov dword [edi], eax
mov ecx, ebx
lea eax, [ebp - 0x48]
push eax
call fcn.00403ebd
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x11
push eax
call fcn.0040365f
add esp, 0xc
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x13
lea ecx, [ecx - 0x10]
call fcn.00402327
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00403634
pop ecx
pop ecx
test al, al
je 0x404567
push 0xa
push ecx
mov edi, esp
mov dword [ebp - 0x5c], esp
mov dword [ebp - 0x58], edi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
mov edi, esp
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x58], edi
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
pop ecx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebx + 8]
call fcn.00406810
test eax, eax
je 0x40454b
push ecx
mov edi, esp
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
pop ecx
mov dword [edi], eax
mov ecx, dword [ebx + 8]
call fcn.0040547f
test eax, eax
je 0x4043b1
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x5c], esp
push str..temp
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00402a79
add esp, 8
mov byte [ebp - 4], 0x15
mov edi, esp
mov dword [ebp - 0x58], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
pop ecx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebx + 8]
call fcn.004055b6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403608
pop ecx
pop ecx
test al, al
jne 0x40440f
push 0xa
push ecx
mov edi, esp
mov dword [ebp - 0x5c], esp
mov dword [ebp - 0x58], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
mov edi, esp
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x58], edi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
pop ecx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebx + 8]
call fcn.004055b6
test eax, eax
je 0x40454b
push 0x57c280
push ecx
mov edi, esp
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x4c]
pop ecx
mov ecx, dword [ebx + 8]
push eax
call fcn.00405800
push eax
call fcn.00402a4e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4c]
mov bl, al
add ecx, 0xfffffff0
call fcn.00402327
test bl, bl
je 0x4044e0
push 0x57c284
push dword [ebp - 0x38]
call fcn.00553fab
pop ecx
pop ecx
test eax, eax
jne 0x4044e0
push eax
push ecx
mov ebx, esp
push 1
push ecx
mov edi, esp
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
pop ecx
push ebx
mov ebx, dword [ebp - 0x20]
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [ebx + 8]
call fcn.004058cc
mov ecx, dword [ebx + 8]
call fcn.00406024
push 0x1f40
push ecx
mov edi, esp
mov dword [ebp - 0x5c], esp
mov dword [ebp - 0x58], edi
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
mov edi, esp
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x58], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
pop ecx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebx + 8]
call fcn.004050fd
push SysReAllocString
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 0x57bef9
call fcn.00401c3d
push ecx
mov edi, esp
mov dword [ebp - 0x58], esp
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x18
push eax
call fcn.00401ea5
add eax, 0x10
mov dword [edi], eax
mov ebx, esp
mov byte [ebp - 4], 0x19
push 0
push ecx
mov edi, esp
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
pop ecx
push ebx
mov ebx, dword [ebp - 0x20]
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [ebx + 8]
call fcn.004058cc
mov byte [ebp - 4], 0x13
mov ecx, dword [ebx + 8]
call fcn.00406344
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403634
pop ecx
pop ecx
test al, al
je 0x404567
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
jmp 0x4045e0
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 2
call fcn.00402327
inc dword [ebp - 0x28]
jmp 0x40406c
lea ecx, [esi - 0x10]
call fcn.00402327
call fcn.0054b84b
ret
push 0x80070057
call fcn.00401e67
int3