Function at 0x42fbf0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0xcb4], 0x65
jl 0x42fcfa
mov ecx, dword [ebp - 0x44]
add ecx, 0xcc0
mov dword [ebp - 0x54], ecx
push 4
lea ecx, [ebp - 8]
call fcn.0040afc0
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.0041f820
push 4
lea ecx, [ebp - 0xc]
call fcn.0040afc0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0041f900
jmp 0x42fc55
lea ecx, [ebp - 8]
call fcn.0040f370
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
call fcn.00418610
movzx edx, al
test edx, edx
je 0x42fc92
lea ecx, [ebp - 8]
call fcn.0040f310
push eax
lea ecx, [ebp - 0x40]
call fcn.0040ed70
lea ecx, [ebp - 0x40]
call fcn.0040b600
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.00407d30
jmp 0x42fc4d
mov ecx, dword [ebp - 0x44]
add ecx, 0xcc0
call fcn.00437be0
push 0x7e4
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [ebp - 0x44]
movzx eax, byte [edx + 0xc78]
test eax, eax
jne 0x42fceb
push str.autostart
mov ecx, dword [ebp - 0x44]
add ecx, 0x30
call fcn.004858a2
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.00498048
mov byte [ebp - 0x45], al
movzx ecx, byte [ebp - 0x45]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.0042e8d0
push 2
mov ecx, dword [ebp - 0x44]
call fcn.00430300
jmp 0x42fdfd
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0xcb0], 0x5a
jne 0x42fd42
cmp dword [ebp + 0xc], 1
jne 0x42fd42
cvtsi2sd xmm0, dword [ebp + 8]
mulsd xmm0, qword [str.333333]
addsd xmm0, qword [0x547d90]
cvttsd2si eax, xmm0
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x58]
cmp edx, dword [ecx + 0xcb4]
jle 0x42fd42
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0xcb4], ecx
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0xc28]
call fcn.00498cc6
mov ecx, dword [ebp - 0x44]
cmp eax, dword [ecx + 0xcb4]
jge 0x42fdfd
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xcb4]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0xc28]
call fcn.004990d0
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0xcbc], 0
je 0x42fdfd
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xcb4]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0040c1d0
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.0040b600
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add eax, 2
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x4c]
mov dx, word [ecx]
mov word [ebp - 0x4e], dx
add dword [ebp - 0x4c], 2
cmp word [ebp - 0x4e], 0
jne 0x42fdad
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x60]
sar eax, 1
mov dword [ebp - 0x64], eax
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x64]
shl edx, 1
push edx
lea ecx, [ebp - 0x28]
call fcn.0040b600
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xcbc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x28]
call fcn.00407d30
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret 8