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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cce88
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x64dff0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push dword [edi + 0x204]
mov dword [ebp - 0x84], edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0xc8
push 0
push dword [edi + 0x20]
xorps xmm0, xmm0
movsd qword [edi + 0x1f8], xmm0
movsd qword [edi + 0x210], xmm0
call dword [sym.imp.USER32.dll_SetTimer]
movsd xmm0, qword [edi + 0x210]
divsd xmm0, qword [edi + 0x1f8]
push 0
mulsd xmm0, qword [0x6260c0]
cvttsd2si eax, xmm0
push eax
push 0x402
push dword [edi + 0x118]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x220], 0
jne 0x404d4c
call fcn.004040f0
mov al, byte [eax + 0x18]
test al, al
je 0x404d61
push 0
push dword [edi + 0x20]
mov dword [edi + 0x220], 0xfffffffe
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, edi
call fcn.00464d92
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [edi + 0x204]
mov dword [edi + 0x218], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
jne 0x404eb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x218], eax
cmp eax, 3
jne 0x4050dc
mov eax, dword [edi + 0x204]
sub eax, 0x10
push eax
call fcn.00403f00
lea esi, [eax + 0x10]
mov dword [ebp - 0x58], esi
push 0x5c
push esi
mov dword [ebp - 4], 0
call fcn.005a6ed4
add esp, 0xc
test eax, eax
jne 0x404de1
or eax, 0xffffffff
jmp 0x404de5
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405440
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00403f70
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404e1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x58]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402300
call fcn.00401c80
add esp, 0x18
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [edi + 0x204]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
jne 0x404e8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x218], eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4050dc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4050dc
mov dword [edi + 0x218], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x404eb7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0
push 0
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push 0
lea ecx, [ebp - 0x74]
movups xmmword [ebp - 0x74], xmm0
call fcn.0046d710
mov dword [ebp - 4], 2
push dword [edi + 0x21c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.0045dc27
mov esi, eax
add esp, 4
mov dword [ebp - 0x58], esi
test esi, esi
jne 0x404f1b
mov dword [edi + 0x218], 8
jmp 0x4050b0
mov byte [ebp - 4], 3
push dword [edi + 0x200]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push 0
push 0
push 1
push 1
push dword [edi + 0x200]
lea ecx, [ebp - 0x74]
call fcn.0046e10b
mov esi, eax
mov dword [ebp - 0x78], esi
test esi, esi
jne 0x404f64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x218], eax
test eax, eax
jne 0x404f64
mov dword [edi + 0x218], 0x57
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.005a7a20
add esp, 0xc
mov dword [ebp - 0x5c], 0x40
lea eax, [ebp - 0x5c]
mov ecx, esi
push 0
push eax
lea eax, [ebp - 0x54]
push eax
push 5
call fcn.0046e355
test eax, eax
je 0x404fa0
lea eax, [ebp - 0x54]
push eax
call fcn.005ae2c8
add esp, 4
jmp 0x404fa3
or eax, 0xffffffff
push dword [edi + 0x21c]
movd xmm0, eax
mov ecx, esi
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0x5c], eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x626190]
movsd qword [edi + 0x1f8], xmm0
call fcn.0046e75f
nop
cmp dword [edi + 0x220], 0
jne 0x405055
call fcn.004040f0
mov al, byte [eax + 0x18]
test al, al
jne 0x405055
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x21c]
push dword [ebp - 0x58]
mov eax, dword [eax + 0x38]
call eax
mov ecx, eax
mov dword [ebp - 0x80], eax
shr ecx, 0x1f
push 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [ecx*8 + 0x626190]
lea ecx, [ebp - 0x60]
push ecx
push eax
push dword [ebp - 0x58]
addsd xmm0, qword [edi + 0x210]
push dword [ebp - 0x7c]
movsd qword [edi + 0x210], xmm0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x405049
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x218], eax
mov byte [ebp - 4], 2
jmp 0x405099
cmp dword [ebp - 0x80], 0
jne 0x404fd0
mov byte [ebp - 4], 2
jmp 0x405099
mov dword [edi + 0x220], 0xfffffffe
mov byte [ebp - 4], 2
jmp 0x405099
test esi, esi
je 0x4050ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x7c]
cmp eax, 0xffffffff
je 0x4050bf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4050cc
push esi
call fcn.0045dc22
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.0046ddac
lea ecx, [ebp - 0x74]
call fcn.0046d9f3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a3521
mov esp, ebp
pop ebp
ret