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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c63bf
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x501344]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x501344]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x14], ebx
cmp dword [edi + 0xc0], ebx
jne 0x4935d9
push str.AI_EXTERNALUIUNINSTALLERNAME
lea ecx, [esp + 0x6c]
call fcn.004021b7
mov dword [esp + 0xe8], ebx
mov ecx, dword [edi + 0xc8]
mov eax, dword [ecx]
lea edx, [esp + 0x68]
push edx
xor esi, esi
lea edx, [esp + 0x20]
inc esi
push edx
mov dword [esp + 0x1c], esi
call dword [eax]
mov dword [esp + 0xe8], esi
mov dword [esp + 0x14], 3
cmp dword [eax + 0x14], ebx
je 0x4935d9
mov byte [esp + 0x13], 1
jmp 0x4935e0
xor esi, esi
mov byte [esp + 0x13], bl
inc esi
mov dword [esp + 0xe8], ebx
test byte [esp + 0x14], 2
je 0x4935fe
and dword [esp + 0x14], 0xfffffffd
push ebx
push esi
lea ecx, [esp + 0x24]
call fcn.00401800
or dword [esp + 0xe8], 0xffffffff
test byte [esp + 0x14], 1
je 0x49361d
and dword [esp + 0x14], 0xfffffffe
push ebx
push esi
lea ecx, [esp + 0x70]
call fcn.00401800
cmp byte [esp + 0x13], bl
je 0x493a10
push str.Installed
lea ecx, [esp + 0x6c]
call fcn.004021b7
mov dword [esp + 0xe8], 2
mov ecx, dword [edi + 0xc8]
mov eax, dword [ecx]
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0x20]
push edx
call dword [eax]
mov byte [esp + 0xe8], 3
cmp dword [eax + 0x14], ebx
sete byte [esp + 0x13]
mov byte [esp + 0xe8], 2
push ebx
push esi
lea ecx, [esp + 0x24]
call fcn.00401800
or dword [esp + 0xe8], 0xffffffff
push ebx
push esi
lea ecx, [esp + 0x70]
call fcn.00401800
cmp byte [esp + 0x13], bl
je 0x493a10
lea eax, [esp + 0xbc]
push eax
mov ecx, edi
call fcn.004933a8
mov dword [esp + 0xe8], 4
lea eax, [esp + 0x84]
push eax
call fcn.0044b6a0
mov byte [esp + 0xe8], 5
lea eax, [esp + 0x38]
push eax
call fcn.0044a930
mov byte [esp + 0xe8], 6
mov eax, dword [edi + 0xc4]
cmp dword [eax + 0x134], ebx
je 0x49373b
push eax
lea esi, [esp + 0x20]
call fcn.0048b8ec
mov byte [esp + 0xe8], 7
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x90]
call fcn.00401efd
mov byte [esp + 0xe8], 6
mov eax, esi
push eax
call fcn.00413210
mov eax, dword [edi + 0xc4]
add eax, 0x120
push eax
lea esi, [esp + 0x88]
call fcn.0041348e
mov eax, esi
push eax
lea ebx, [esp + 0x3c]
call fcn.0044aca0
xor ebx, ebx
lea eax, [esp + 0xa0]
push eax
call fcn.0044b6a0
mov byte [esp + 0xe8], 8
mov edi, 0x4e3e3c
cmp dword [esp + 0x98], ebx
je 0x493785
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x493776
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x493876
lea esi, [esp + 0x1c]
call fcn.0044bcd0
mov byte [esp + 0xe8], 9
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x90]
call fcn.00401efd
mov byte [esp + 0xe8], 8
mov eax, esi
push eax
call fcn.00413210
lea esi, [esp + 0x1c]
call fcn.0044bb50
mov byte [esp + 0xe8], 0xa
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xac]
call fcn.00401efd
mov byte [esp + 0xe8], 8
mov eax, esi
push eax
call fcn.00413210
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xc0]
call fcn.0044b770
mov byte [esp + 0xe8], 0xb
lea edx, [esp + 0x1c]
mov ecx, eax
call fcn.0044ca50
mov byte [esp + 0xe8], 0xc
push eax
lea esi, [esp + 0xa4]
call fcn.0041348e
mov byte [esp + 0xe8], 0xb
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.00401800
mov byte [esp + 0xe8], 8
lea eax, [esp + 0x68]
push eax
call fcn.00413210
push edi
lea ecx, [esp + 0x6c]
call fcn.004021b7
mov byte [esp + 0xe8], 0xd
lea eax, [esp + 0x68]
push eax
call fcn.0044b880
mov byte [esp + 0xe8], 8
push ebx
push 1
lea ecx, [esp + 0x70]
call fcn.00401800
mov eax, dword [esp + 0xc0]
push 8
pop esi
cmp dword [esp + 0xd4], esi
jae 0x493890
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00405d14
mov byte [esp + 0xe8], 0xe
push ebx
push ebx
lea ecx, [esp + 0x20]
call fcn.00450d60
pop ecx
pop ecx
mov byte [esp + 0xe8], 8
lea ecx, [esp + 0x18]
call fcn.004058a3
mov ecx, dword [esp + 0xc0]
cmp dword [esp + 0xd4], esi
jae 0x4938d8
lea ecx, [esp + 0xc0]
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x9c], esi
jae 0x4938ef
lea eax, [esp + 0x88]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [esp + 0xb4], ebx
je 0x4939bd
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0xb8], esi
jae 0x49391c
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4939bd
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xc0]
call fcn.0044b770
mov byte [esp + 0xe8], 0xf
push edi
lea ecx, [esp + 0x20]
call fcn.004021b7
mov byte [esp + 0xe8], 0x10
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x6c]
call fcn.0044b880
mov byte [esp + 0xe8], 0xf
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.00401800
cmp dword [esp + 0x80], 8
mov ecx, dword [esp + 0x6c]
jae 0x49398a
lea ecx, [esp + 0x6c]
cmp dword [esp + 0xb8], 8
mov eax, dword [esp + 0xa4]
jae 0x4939a2
lea eax, [esp + 0xa4]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [esp + 0xe8], 8
lea eax, [esp + 0x68]
push eax
call fcn.00413210
mov byte [esp + 0xe8], 6
lea eax, [esp + 0xa0]
push eax
call fcn.00413210
mov byte [esp + 0xe8], 5
lea eax, [esp + 0x38]
push eax
call fcn.0044a990
mov byte [esp + 0xe8], 4
lea eax, [esp + 0x84]
push eax
call fcn.00413210
or dword [esp + 0xe8], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0xc4]
call fcn.00401800
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0049c07b
mov esp, ebp
pop ebp
ret