Function at 0x4128bc
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x412bbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x4197e8], 1
mov eax, 0x419824
call fcn.00401a48
mov eax, dword [0x41866c]
mov eax, dword [eax]
mov edx, dword [eax + 0xcc]
mov eax, dword [ebx + 0x5c]
call fcn.0040a7dc
mov eax, dword [0x4186ac]
mov eax, dword [eax]
call fcn.0040ad44
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.00403bec
mov eax, dword [ebp - 0x2c]
call fcn.0040947c
mov dword [0x4197e4], eax
mov eax, dword [0x4186cc]
cmp byte [eax], 0
je 0x4129e6
xor eax, eax
mov dword [0x4197e0], eax
mov dword [0x41981c], 0
mov dword [0x419820], 0
lea ecx, [ebp - 0x30]
mov dl, 1
xor eax, eax
call fcn.00415578
mov eax, dword [ebp - 0x30]
call fcn.004121f4
mov dword [0x4197e0], 1
mov dl, 1
mov eax, dword [0x40c930]
call fcn.0040cd00
mov esi, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0x412700
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], fcn.004127e0
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], 0x4122d0
lea ecx, [ebp - 0x34]
mov dl, 1
xor eax, eax
call fcn.00415578
mov edx, dword [ebp - 0x34]
mov ecx, dword [0x419808]
mov eax, esi
call fcn.0040d18c
mov eax, esi
call fcn.0040145c
push dword [0x419820]
push dword [0x41981c]
mov eax, ebx
call fcn.004109f0
jmp 0x412b76
mov byte [ebp - 0x26], 0
mov edx, dword [0x418698]
mov edx, dword [edx]
mov eax, dword [0x4197e4]
xor ecx, ecx
call fcn.00409380
mov eax, 0x43
call fcn.00415568
mov edi, eax
dec edi
test edi, edi
jl 0x412b76
inc edi
lea edx, [ebp - 4]
mov eax, dword [0x4197e4]
mov ecx, 4
call fcn.00409378
lea edx, [ebp - 0x10]
mov eax, dword [0x4197e4]
mov ecx, 8
call fcn.00409378
lea edx, [ebp - 0x18]
mov eax, dword [0x4197e4]
mov ecx, 8
call fcn.00409378
lea edx, [ebp - 0x1c]
mov eax, dword [0x4197e4]
mov ecx, 4
call fcn.00409378
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00412530
test al, al
je 0x412b62
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
call fcn.00409300
mov ecx, dword [ebp - 0x3c]
mov eax, dword [0x41866c]
mov eax, dword [eax]
mov edx, dword [eax + 0x8c]
lea eax, [ebp - 0x38]
call fcn.00401cec
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x5c]
call fcn.0040a7dc
mov eax, dword [0x4186ac]
mov eax, dword [eax]
call fcn.0040ad44
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.00404024
mov eax, dword [ebp - 0x40]
call fcn.004040a0
mov byte [ebp - 0x25], 0
mov eax, dword [ebp - 0x20]
call fcn.004094a4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call fcn.00405260
test eax, eax
je 0x412b44
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.00411ff0
mov eax, dword [ebp - 0x24]
call fcn.0040867c
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 0x20]
call fcn.00401e98
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call sub.kernel32.dll_SetFileTime
push esi
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00401e98
push eax
call sub.kernel32.dll_SetFileAttributesA
jmp 0x412b58
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
mov eax, ebx
mov ecx, dword [ebp - 0x20]
xor edx, edx
call fcn.004127e0
cmp byte [ebp - 0x25], 0
jne 0x412ac5
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, ebx
call fcn.004109f0
dec edi
jne 0x412a14
mov eax, dword [0x4197e4]
call fcn.0040867c
mov eax, dword [0x4197ec]
call fcn.00401e98
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x4186ac]
mov eax, dword [eax]
call fcn.0040ad44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412bc6
lea eax, [ebp - 0x40]
mov edx, 6
call fcn.00401a6c
lea eax, [ebp - 0x20]
call fcn.00401a48
ret