Function at 0x41b010
Capabilities:
Check if file exists
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab8fd
mov eax, dword fs:[0]
push eax
sub esp, 0x350
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x35c]
mov ecx, 0xd4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4cd290]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea esi, [ebp - 0x314]
call fcn.0047f860
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x358], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x358]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x17c
call fcn.00418ad0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x314]
call fcn.00418c50
mov ecx, dword [ebp - 0x14]
add ecx, 0x17c
call fcn.004812e0
push eax
push str.GetTempPath_:__s
mov esi, 0x4d1508
call fcn.00481e10
add esp, 8
mov ecx, dword [ebp - 0x14]
add ecx, 0x17c
call fcn.004812c0
movzx edx, al
test edx, edx
je 0x41b0ed
mov eax, dword [ebp - 0x14]
add eax, 0x160
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x17c
call fcn.00418ad0
mov edi, dword [ebp - 0x14]
add edi, 0x17c
call fcn.00481430
mov word [ebp - 0x224], 0
push 0x208
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004863a0
add esp, 0xc
push 0
call fcn.00419660
add esp, 4
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x234], 0
jmp 0x41b14b
mov edx, dword [ebp - 0x234]
add edx, 1
mov dword [ebp - 0x234], edx
cmp dword [ebp - 0x234], 5
jge 0x41b1a7
mov esi, esp
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
push str.UNINST
mov ecx, dword [ebp - 0x14]
add ecx, 0x17c
call fcn.004812e0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp esi, esp
call fcn.004a574e
test eax, eax
je 0x41b1a5
mov esi, esp
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.004a574e
test eax, eax
jne 0x41b1a5
jmp 0x41b1a7
jmp 0x41b13c
mov esi, esp
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.004a574e
test eax, eax
jne 0x41b21d
lea ecx, [ebp - 0x224]
push ecx
push str.GetTempFileName_:__s
mov esi, 0x4d1508
call fcn.00481e10
add esp, 8
lea edx, [ebp - 0x224]
push edx
call fcn.0047e100
add esp, 4
test eax, eax
je 0x41b21d
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x17c
call fcn.00418b00
mov edi, dword [ebp - 0x14]
add edi, 0x17c
call fcn.00481430
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x15c], 1
mov dword [ebp - 0x250], 0x4bbbec
mov dword [ebp - 0x24c], 0x93
mov dword [ebp - 0x248], 0x4bbc10
mov dword [ebp - 0x244], 0x4bbc20
mov dword [ebp - 0x240], 0x6b
mov dword [ebp - 0x23c], 0x4bbc30
mov dword [ebp - 0x258], 0
jmp 0x41b274
mov edx, dword [ebp - 0x258]
add edx, 1
mov dword [ebp - 0x258], edx
cmp dword [ebp - 0x258], 2
jae 0x41b33d
mov eax, dword [ebp - 0x14]
add eax, 0x17c
push eax
lea ecx, [ebp - 0x278]
call fcn.00418a70
mov dword [ebp - 4], 1
lea edi, [ebp - 0x278]
call fcn.00481430
mov ecx, dword [ebp - 0x258]
imul ecx, ecx, 0xc
mov edx, dword [ebp + ecx - 0x250]
push edx
lea ebx, [ebp - 0x278]
call fcn.00481660
push 0
mov eax, dword [ebp - 0x258]
imul eax, eax, 0xc
mov ecx, dword [ebp + eax - 0x248]
push ecx
mov edx, dword [ebp - 0x258]
imul edx, edx, 0xc
mov eax, dword [ebp + edx - 0x24c]
push eax
lea ecx, [ebp - 0x278]
call fcn.004812e0
push eax
call fcn.00454da0
add esp, 0x10
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x278]
call fcn.004812e0
push eax
push str.Extrace_File___s____d_
mov esi, 0x4d1508
call fcn.00481e10
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00418c50
jmp 0x41b265
push 0x4bbc70
lea ecx, [ebp - 0x288]
call fcn.0040f390
mov dword [ebp - 4], 2
lea esi, [ebp - 0x2ac]
call fcn.0047f150
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x288]
call fcn.0040f0f0
push eax
lea ebx, [ebp - 0x2ac]
call fcn.00481660
mov edx, dword [ebp - 0x14]
add edx, 0x17c
push edx
lea ecx, [ebp - 0x2d0]
call fcn.00418a70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x288]
call fcn.0040f0f0
push eax
lea ebx, [ebp - 0x2d0]
call fcn.00481660
mov esi, esp
push 0
lea ecx, [ebp - 0x2d0]
call fcn.004812e0
push eax
lea ecx, [ebp - 0x2ac]
call fcn.004812e0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.004a574e
xor esi, esi
lea edi, [ebp - 0x2f4]
call fcn.004817f0
mov byte [ebp - 4], 5
push 0x4bbc9c
lea ecx, [ebp - 0x330]
call fcn.00418aa0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x330]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x17c
call fcn.004812e0
push eax
lea ecx, [ebp - 0x34c]
push ecx
call fcn.00418b60
add esp, 0xc
mov dword [ebp - 0x35c], eax
mov esi, esp
push 0
mov ecx, dword [ebp - 0x35c]
call fcn.004812e0
push eax
lea ecx, [ebp - 0x2f4]
call fcn.004812e0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.004a574e
lea ecx, [ebp - 0x34c]
call fcn.00418c50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x330]
call fcn.00418c50
mov dword [ebp - 0x350], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2f4]
call fcn.00418c50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d0]
call fcn.00418c50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2ac]
call fcn.00418c50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.0040f420
mov eax, dword [ebp - 0x350]
push edx
mov ecx, ebp
push eax
lea edx, [0x41b4f0]
call fcn.004a5771
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004851ae
add esp, 0x35c
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret