Function at 0x419310
Capabilities:
Delete file
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x488fdc]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xdc], 0
cmp dword [0x485390], 0
je 0x41936a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [0x48538c], ecx
mov dword [0x48be34], 0
mov edx, dword [ebp + 0x10]
and edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
and eax, 2
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [0x48538c]
cmp edx, dword [ecx]
je 0x419393
xor eax, eax
jmp 0x4198a4
cmp dword [ebp - 0xe0], 0
je 0x4193b7
mov dword [0x48be34], 0
mov dword [0x485390], 0xffffffff
xor eax, eax
jmp 0x4198a4
cmp dword [0x48be34], 0
je 0x4193d7
cmp dword [ebp - 4], 0
je 0x4193d0
mov dword [0x485390], 0xffffffff
xor eax, eax
jmp 0x4198a4
cmp dword [ebp - 4], 0
je 0x419577
mov dword [ebp - 0xe4], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043cb70
add esp, 4
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jle 0x4194ac
push 2
push 0
mov ecx, dword [0x48be30]
push ecx
call fcn.00448b56
add esp, 0xc
mov edx, dword [0x48be30]
push edx
call fcn.00448ecd
add esp, 4
mov dword [ebp - 8], eax
push 0
push 0
mov eax, dword [0x48be30]
push eax
call fcn.00448b56
add esp, 0xc
push 0x48bd68
push 0x467ea0
call fcn.0042aa10
add esp, 8
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [ebp - 8]
je 0x41949a
mov dword [0x485390], 0xffffffff
cmp dword [0x48be30], 0
je 0x419480
mov edx, dword [0x48be30]
push edx
call fcn.004484c1
add esp, 4
push 0x48bd68
push 0x467eac
call fcn.0042aa10
add esp, 8
or eax, 0xffffffff
jmp 0x4198a4
push 0x48bd68
push 0x467ec8
call fcn.0042aa10
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.00418c70
add esp, 4
mov dword [0x485390], 0xffffffff
cmp dword [0x48be30], 0
je 0x4194da
mov ecx, dword [0x48be30]
push ecx
call fcn.004484c1
add esp, 4
push 0x467ed8
lea edx, [ebp - 0xd8]
push edx
call fcn.00445510
add esp, 8
lea eax, [ebp - 0xd8]
push eax
push 0x48bd68
push 0x467efc
call fcn.0042aa10
add esp, 0xc
push 3
lea ecx, [ebp - 0xd8]
push ecx
push 0x48bd68
call fcn.0041a8c0
add esp, 0xc
test eax, eax
jne 0x41953c
lea edx, [ebp - 0xd8]
push edx
push 0x48bd68
push 0x467f14
call fcn.0042aa10
add esp, 0xc
jmp 0x419555
lea eax, [ebp - 0xd8]
push eax
push 0x48bd68
push 0x467f30
call fcn.0042aa10
add esp, 0xc
push 0x467f50
call fcn.004198c0
add esp, 4
call fcn.0041a6a0
test eax, eax
jne 0x419570
call fcn.004211b0
xor eax, eax
jmp 0x4198a4
cmp dword [0x485390], 0
je 0x419878
mov dword [0x48be34], 0
push str.vcredist_x86_v2.exe
push 0x48bd00
call fcn.00445510
add esp, 8
push str.c:ccs_transfer_vcredist_x86_v2.exe
push 0x48bc38
call fcn.00445510
add esp, 8
push 0x467fac
push 0x48bd68
call fcn.00445510
add esp, 8
push 0x48bd68
push 0x467fd8
call fcn.0042aa10
add esp, 8
cmp dword [0x48be30], 0
je 0x419635
mov ecx, dword [0x48be30]
push ecx
call fcn.004484c1
add esp, 4
push str.c:ccs_transfer_vcredist_x86_v2.exe.FAX_TMP
push 0x48bd68
call fcn.00445510
add esp, 8
push 0x48bd68
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x419623
push 0x48bd68
push 0x46803c
call fcn.0042aa10
add esp, 8
jmp 0x419635
push 0x48bd68
push 0x46806c
call fcn.0042aa10
add esp, 8
push str.c:ccs_transfer_vcredist_x86_v2Moved.exe
push 0x48bb70
call fcn.00445510
add esp, 8
push 0x80
push 0x48bb70
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push 0x48bc38
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x48bb70
push 0x4680cc
call fcn.0042aa10
add esp, 8
push 0x48bb70
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41969c
push 0x48bb70
push 0x4680f8
call fcn.0042aa10
add esp, 8
jmp 0x4196ae
push 0x48bb70
push 0x468128
call fcn.0042aa10
add esp, 8
push 0x48bc38
push 0x46815c
call fcn.0042aa10
add esp, 8
push 0x48bc38
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41977b
push 0x48bb70
push 0x48bc38
push str.ReceiveVC8RuntimeUpdate_CCSMoveFileEx__s__s_
call fcn.0042aa10
add esp, 0xc
push 1
push 0x48bb70
push 0x48bc38
call fcn.0041a8c0
add esp, 0xc
test eax, eax
jne 0x41971b
push 0x48bb70
push 0x48bc38
push str.ReceiveVC8RuntimeUpdate_CCSMoveFileEx__s__s__FAILED
call fcn.0042aa10
add esp, 0xc
jmp 0x419732
push 0x48bb70
push 0x48bc38
push str.ReceiveVC8RuntimeUpdate_CCSMoveFileEx__s__s__SUCCESS
call fcn.0042aa10
add esp, 0xc
push 0x48bb70
push 0x468224
call fcn.0042aa10
add esp, 8
push 0x48bb70
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x419767
push 0x48bb70
push 0x468250
call fcn.0042aa10
add esp, 8
jmp 0x419779
push 0x48bb70
push 0x468280
call fcn.0042aa10
add esp, 8
jmp 0x41978d
push 0x48bc38
push 0x4682b4
call fcn.0042aa10
add esp, 8
push 0x48bd68
push str.ReceiveVC8RuntimeUpdate_DeleteFile___s__
call fcn.0042aa10
add esp, 8
push 0x48bd68
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4197c2
push 0x48bd68
push 0x468314
call fcn.0042aa10
add esp, 8
jmp 0x4197d4
push 0x48bd68
push 0x468344
call fcn.0042aa10
add esp, 8
push 0x48bd68
push str.ReceiveVC8RuntimeUpdate_END_Pre_Transfer_Cleanup:__s
call fcn.0042aa10
add esp, 8
push 0x4683b0
push 0x48bd68
call fcn.00448c8e
add esp, 8
mov dword [0x48be30], eax
cmp dword [0x48be30], 0
jne 0x419830
push 0x48bd68
push str.ReceiveVC8RuntimeUpdate_Starting_Transfer:__s_ERROR_fopen__FAILED__
call fcn.0042aa10
add esp, 8
mov dword [0x48be34], 1
mov edx, dword [ebp + 8]
push edx
call fcn.00418cf0
add esp, 4
jmp 0x41986c
push 0x48bd68
push str.ReceiveVC8RuntimeUpdate_Starting_Transfer:__s
call fcn.0042aa10
add esp, 8
mov eax, dword [0x48be30]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
push 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push ecx
call fcn.004463bd
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call fcn.00418c70
add esp, 4
mov dword [0x485390], 0
jmp 0x4198a2
mov eax, dword [0x48be30]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
push 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push ecx
call fcn.004463bd
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call fcn.00418c70
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044545a
mov esp, ebp
pop ebp
ret