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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x58d224]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0xcb4], 0x65
jl 0x42ff8a
mov ecx, dword [ebp - 0x44]
add ecx, 0xcc0
mov dword [ebp - 0x54], ecx
push 4
lea ecx, [ebp - 8]
call fcn.0040b430
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.0041fab0
push 4
lea ecx, [ebp - 0xc]
call fcn.0040b430
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0041fb90
jmp 0x42fee5
lea ecx, [ebp - 8]
call fcn.0040f8a0
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
call fcn.004188b0
movzx edx, al
test edx, edx
je 0x42ff22
lea ecx, [ebp - 8]
call fcn.0040f840
push eax
lea ecx, [ebp - 0x40]
call fcn.0040f2a0
lea ecx, [ebp - 0x40]
call fcn.0040bae0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.00407e30
jmp 0x42fedd
mov ecx, dword [ebp - 0x44]
add ecx, 0xcc0
call fcn.00437e40
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 0x42ff7b
push str.autostart
mov ecx, dword [ebp - 0x44]
add ecx, 0x30
call fcn.00485af6
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.00498298
mov byte [ebp - 0x45], al
movzx ecx, byte [ebp - 0x45]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.0042eb60
push 2
mov ecx, dword [ebp - 0x44]
call fcn.00430590
jmp 0x43008d
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0xcb0], 0x5a
jne 0x42ffd2
cmp dword [ebp + 0xc], 1
jne 0x42ffd2
cvtsi2sd xmm0, dword [ebp + 8]
mulsd xmm0, qword [str.333333]
addsd xmm0, qword [0x548178]
cvttsd2si eax, xmm0
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x58]
cmp edx, dword [ecx + 0xcb4]
jle 0x42ffd2
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.00498f16
mov ecx, dword [ebp - 0x44]
cmp eax, dword [ecx + 0xcb4]
jge 0x43008d
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xcb4]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0xc28]
call fcn.00499320
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0xcbc], 0
je 0x43008d
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xcb4]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0040c7c0
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.0040bae0
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 0x43003d
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.0040bae0
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.00407e30
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d4e68
mov esp, ebp
pop ebp
ret 8