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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec9a8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x674ff8]
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 + 0x1e0]
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
movups xmmword [edi + 0x1f0], xmm0
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [edi + 0x208], 0
jne 0x410503
call fcn.0040f580
mov al, byte [eax + 0x18]
test al, al
je 0x410518
push 0
push dword [edi + 0x20]
mov dword [edi + 0x208], 0xfffffffe
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, edi
call fcn.004832fe
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [edi + 0x1e0]
mov dword [edi + 0x200], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
jne 0x41066e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x200], eax
cmp eax, 3
jne 0x4108bc
mov eax, dword [edi + 0x1e0]
sub eax, 0x10
push eax
call fcn.00404bc0
lea esi, [eax + 0x10]
mov dword [ebp - 0x58], esi
push 0x5c
push esi
mov dword [ebp - 4], 0
call fcn.005c6644
add esp, 0xc
test eax, eax
jne 0x410598
or eax, 0xffffffff
jmp 0x41059c
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x58]
call fcn.004122d0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00404270
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 0x4105d5
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.00409df0
call fcn.0040dd60
add esp, 0x18
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [edi + 0x1e0]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
jne 0x410645
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x200], eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4108bc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4108bc
mov dword [edi + 0x200], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41066e
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.0048d1f2
mov dword [ebp - 4], 2
push dword [edi + 0x204]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.0047d175
mov esi, eax
add esp, 4
mov dword [ebp - 0x58], esi
test esi, esi
jne 0x4106d2
mov dword [edi + 0x200], 8
jmp 0x410890
mov byte [ebp - 4], 3
push dword [edi + 0x1dc]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push 0
push 0
push 1
push 1
push dword [edi + 0x1dc]
lea ecx, [ebp - 0x74]
call fcn.0048dc12
mov esi, eax
mov dword [ebp - 0x78], esi
test esi, esi
jne 0x41071b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x200], eax
test eax, eax
jne 0x41071b
mov dword [edi + 0x200], 0x57
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.005c7190
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.0048de5c
test eax, eax
je 0x410757
lea eax, [ebp - 0x54]
push eax
call fcn.005cdc69
add esp, 4
jmp 0x41075a
or eax, 0xffffffff
push dword [edi + 0x204]
movd xmm0, eax
mov ecx, esi
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0x5c], eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x64a8d0]
movsd qword [edi + 0x1f0], xmm0
call fcn.0048e266
nop word [eax + eax]
cmp dword [edi + 0x208], 0
jne 0x410835
call fcn.0040f580
mov al, byte [eax + 0x18]
test al, al
jne 0x410835
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0x204]
push dword [ebp - 0x58]
mov eax, dword [eax + 0x38]
call eax
mov ecx, eax
mov dword [ebp - 0x80], eax
shr ecx, 0x1f
push 1
movd xmm0, eax
lea eax, [edi + 0x23c]
cvtdq2pd xmm0, xmm0
push eax
push dword [edi + 0x20]
addsd xmm0, qword [ecx*8 + 0x64a8d0]
addsd xmm0, qword [edi + 0x1f8]
movsd qword [edi + 0x1f8], xmm0
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x80]
push dword [ebp - 0x58]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410825
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x200], eax
mov byte [ebp - 4], 2
jmp 0x410879
cmp dword [ebp - 0x80], 0
jne 0x410790
mov byte [ebp - 4], 2
jmp 0x410879
mov dword [edi + 0x208], 0xfffffffe
mov byte [ebp - 4], 2
jmp 0x410879
test esi, esi
je 0x41088d
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 0x41089f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4108ac
push esi
call fcn.0047d17e
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.0048d8b2
lea ecx, [ebp - 0x74]
call fcn.0048d4d5
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.005c2ae8
mov esp, ebp
pop ebp
ret