Function at 0x413f00
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 0x414203
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x41ba1c], 1
mov eax, 0x41ba58
call fcn.004035e8
mov eax, dword [0x41a4fc]
mov eax, dword [eax]
mov edx, dword [eax + 0xcc]
mov eax, dword [ebx + 0x5c]
call fcn.0040b6b4
mov eax, dword [0x41a53c]
mov eax, dword [eax]
call fcn.0040bbac
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.004058bc
mov eax, dword [ebp - 0x2c]
call fcn.0040a940
mov dword [0x41ba18], eax
mov eax, dword [0x41a55c]
cmp byte [eax], 0
je 0x41402a
xor eax, eax
mov dword [0x41ba14], eax
mov dword [0x41ba50], 0
mov dword [0x41ba54], 0
lea ecx, [ebp - 0x30]
mov dl, 1
xor eax, eax
call fcn.00416c4c
mov eax, dword [ebp - 0x30]
call fcn.00413838
mov dword [0x41ba14], 1
mov dl, 1
mov eax, dword [0x40e028]
call fcn.0040e3f8
mov esi, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0x413d44
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], fcn.00413e24
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], 0x413914
lea ecx, [ebp - 0x34]
mov dl, 1
xor eax, eax
call fcn.00416c4c
mov edx, dword [ebp - 0x34]
mov ecx, dword [0x41ba3c]
mov eax, esi
call fcn.0040e884
mov eax, esi
call fcn.00402cd8
push dword [0x41ba54]
push dword [0x41ba50]
mov eax, ebx
call fcn.00411fec
jmp 0x4141ba
mov byte [ebp - 0x26], 0
mov edx, dword [0x41a528]
mov edx, dword [edx]
mov eax, dword [0x41ba18]
xor ecx, ecx
call fcn.004069b8
mov eax, 0x43
call fcn.00416c3c
mov edi, eax
dec edi
test edi, edi
jl 0x4141ba
inc edi
lea edx, [ebp - 4]
mov eax, dword [0x41ba18]
mov ecx, 4
call fcn.004068c8
lea edx, [ebp - 0x10]
mov eax, dword [0x41ba18]
mov ecx, 8
call fcn.004068c8
lea edx, [ebp - 0x18]
mov eax, dword [0x41ba18]
mov ecx, 8
call fcn.004068c8
lea edx, [ebp - 0x1c]
mov eax, dword [0x41ba18]
mov ecx, 4
call fcn.004068c8
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00413b74
test al, al
je 0x4141a6
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
call fcn.0040d7a4
mov ecx, dword [ebp - 0x3c]
mov eax, dword [0x41a4fc]
mov eax, dword [eax]
mov edx, dword [eax + 0x8c]
lea eax, [ebp - 0x38]
call fcn.00403894
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x5c]
call fcn.0040b6b4
mov eax, dword [0x41a53c]
mov eax, dword [eax]
call fcn.0040bbac
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x20]
call fcn.00405bb8
mov eax, dword [ebp - 0x40]
call fcn.00405c10
mov byte [ebp - 0x25], 0
mov eax, dword [ebp - 0x20]
call fcn.0040a968
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call fcn.004068c4
test eax, eax
je 0x414188
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.00413634
mov eax, dword [ebp - 0x24]
call fcn.0040a058
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 0x20]
call fcn.00403a48
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.00403a48
push eax
call sub.kernel32.dll_SetFileAttributesA
jmp 0x41419c
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.00413e24
cmp byte [ebp - 0x25], 0
jne 0x414109
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, ebx
call fcn.00411fec
dec edi
jne 0x414058
mov eax, dword [0x41ba18]
call fcn.0040a058
mov eax, dword [0x41ba20]
call fcn.00403a48
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x41a53c]
mov eax, dword [eax]
call fcn.0040bbac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41420a
lea eax, [ebp - 0x40]
mov edx, 6
call fcn.0040360c
lea eax, [ebp - 0x20]
call fcn.004035e8
ret