Function at 0x419144
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43cec4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4516e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041951b
xor edi, edi
cmp dword [ebx + 0x38], edi
je 0x4191aa
call fcn.0040e04a
mov ecx, eax
call fcn.0040ee44
test eax, eax
jne 0x4191aa
call fcn.00412c1c
mov esi, 0x4479f0
mov ecx, dword [esi]
call fcn.0041baf0
add esi, 4
cmp esi, 0x447a0c
jl 0x419198
cmp dword [ebx + 0x40], edi
je 0x419374
lea esi, [ebx + 0x44]
xor eax, eax
cmp ax, word [esi]
je 0x419374
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419374
cmp dword [ebx + 0x40], 1
jne 0x419240
call fcn.004083ea
push eax
lea ecx, [esp + 0x20]
call fcn.00407e3b
mov dword [esp + 0x30], edi
call fcn.004083ea
push eax
lea ecx, [esp + 0x1c]
call fcn.00407e3b
push esi
mov esi, str._suninstall.exe
mov byte [esp + 0x34], 1
lea eax, [esp + 0x20]
push esi
push eax
call fcn.0040a280
add esp, 0xc
call fcn.0040e04a
push dword [eax + 0x40]
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0040a280
mov esi, dword [esp + 0x24]
add esp, 0xc
push edi
mov edi, dword [esp + 0x20]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esi - 0x10]
jmp 0x419362
cmp dword [ebx + 0x40], 2
jne 0x419374
call fcn.0040e04a
mov ecx, dword [eax + 0x40]
sub ecx, 0x10
call fcn.004080e8
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 2
call fcn.00407cf7
mov byte [esp + 0x30], 3
call fcn.004083ea
push eax
lea ecx, [esp + 0x1c]
call fcn.00407e3b
push 0
mov byte [esp + 0x34], 4
lea ecx, [esp + 0x20]
push dword [esp + 0x18]
call fcn.0040862f
cmp eax, 0xffffffff
je 0x41934f
mov eax, dword [esp + 0x14]
mov ecx, dword [edi - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00413352
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 5
call fcn.00409de8
mov byte [esp + 0x30], 4
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040233b
push 1
push 0x448d58
lea ecx, [esp + 0x20]
call fcn.0040862f
mov esi, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x41932c
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call fcn.00407dd0
mov byte [esp + 0x30], 6
lea ecx, [esp + 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00407faf
mov byte [esp + 0x30], 4
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040233b
jmp 0x419339
push dword [esi - 0xc]
lea ecx, [esp + 0x18]
push esi
call fcn.00407faf
push dword [esp + 0x14]
mov edx, 0x448db8
lea ecx, [ebx + 0x44]
push edx
call fcn.0041a790
pop ecx
pop ecx
jmp 0x419353
mov esi, dword [esp + 0x18]
lea ecx, [esi - 0x10]
call fcn.0040233b
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040233b
or dword [esp + 0x30], 0xffffffff
lea ecx, [edi - 0x10]
call fcn.0040233b
call fcn.0040e04a
mov ecx, eax
call fcn.00410454
mov ecx, ebx
test eax, eax
je 0x41938b
call fcn.00418e1b
call fcn.0041907e
mov dword [ebx + 0x2c], 3
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret