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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a574d
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 [0x4c6280]
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.0045c980
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.00419690
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x314]
call fcn.00419810
mov ecx, dword [ebp - 0x14]
add ecx, 0x17c
call fcn.0045e4f0
push eax
push str.GetTempPath_:__s
mov esi, 0x4ca290
call fcn.0045f140
add esp, 8
mov ecx, dword [ebp - 0x14]
add ecx, 0x17c
call fcn.0045e4d0
movzx edx, al
test edx, edx
je 0x41be4d
mov eax, dword [ebp - 0x14]
add eax, 0x160
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x17c
call fcn.00419690
mov edi, dword [ebp - 0x14]
add edi, 0x17c
call fcn.0045e640
mov word [ebp - 0x224], 0
push 0x208
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004806d0
add esp, 0xc
push 0
call fcn.0041a180
add esp, 4
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x234], 0
jmp 0x41beab
mov edx, dword [ebp - 0x234]
add edx, 1
mov dword [ebp - 0x234], edx
cmp dword [ebp - 0x234], 5
jge 0x41bf07
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.0045e4f0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp esi, esp
call fcn.0049f8de
test eax, eax
je 0x41bf05
mov esi, esp
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.0049f8de
test eax, eax
jne 0x41bf05
jmp 0x41bf07
jmp 0x41be9c
mov esi, esp
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.0049f8de
test eax, eax
jne 0x41bf7d
lea ecx, [ebp - 0x224]
push ecx
push str.GetTempFileName_:__s
mov esi, 0x4ca290
call fcn.0045f140
add esp, 8
lea edx, [ebp - 0x224]
push edx
call fcn.0045b100
add esp, 4
test eax, eax
je 0x41bf7d
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x17c
call fcn.004196c0
mov edi, dword [ebp - 0x14]
add edi, 0x17c
call fcn.0045e640
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x15c], 1
mov dword [ebp - 0x250], 0x4b5970
mov dword [ebp - 0x24c], 0x93
mov dword [ebp - 0x248], 0x4b5994
mov dword [ebp - 0x244], 0x4b59a4
mov dword [ebp - 0x240], 0x6b
mov dword [ebp - 0x23c], 0x4b59b4
mov dword [ebp - 0x258], 0
jmp 0x41bfd4
mov edx, dword [ebp - 0x258]
add edx, 1
mov dword [ebp - 0x258], edx
cmp dword [ebp - 0x258], 2
jae 0x41c09d
mov eax, dword [ebp - 0x14]
add eax, 0x17c
push eax
lea ecx, [ebp - 0x278]
call fcn.00419630
mov dword [ebp - 4], 1
lea edi, [ebp - 0x278]
call fcn.0045e640
mov ecx, dword [ebp - 0x258]
imul ecx, ecx, 0xc
mov edx, dword [ebp + ecx - 0x250]
push edx
lea ebx, [ebp - 0x278]
call fcn.0045e870
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.0045e4f0
push eax
call fcn.00457260
add esp, 0x10
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x278]
call fcn.0045e4f0
push eax
push str.Extrace_File___s____d_
mov esi, 0x4ca290
call fcn.0045f140
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00419810
jmp 0x41bfc5
push 0x4b59f4
lea ecx, [ebp - 0x288]
call fcn.0040ff10
mov dword [ebp - 4], 2
lea esi, [ebp - 0x2ac]
call fcn.0045c130
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x288]
call fcn.00410760
push eax
lea ebx, [ebp - 0x2ac]
call fcn.0045e870
mov edx, dword [ebp - 0x14]
add edx, 0x17c
push edx
lea ecx, [ebp - 0x2d0]
call fcn.00419630
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x288]
call fcn.00410760
push eax
lea ebx, [ebp - 0x2d0]
call fcn.0045e870
mov esi, esp
push 0
lea ecx, [ebp - 0x2d0]
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0045e4f0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.0049f8de
xor esi, esi
lea edi, [ebp - 0x2f4]
call fcn.0045ea00
mov byte [ebp - 4], 5
push 0x4b5a20
lea ecx, [ebp - 0x330]
call fcn.00419660
mov byte [ebp - 4], 6
lea eax, [ebp - 0x330]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x17c
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x34c]
push ecx
call fcn.00419720
add esp, 0xc
mov dword [ebp - 0x35c], eax
mov esi, esp
push 0
mov ecx, dword [ebp - 0x35c]
call fcn.0045e4f0
push eax
lea ecx, [ebp - 0x2f4]
call fcn.0045e4f0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.0049f8de
lea ecx, [ebp - 0x34c]
call fcn.00419810
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x330]
call fcn.00419810
mov dword [ebp - 0x350], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2f4]
call fcn.00419810
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d0]
call fcn.00419810
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2ac]
call fcn.00419810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.0040fde0
mov eax, dword [ebp - 0x350]
push edx
mov ecx, ebp
push eax
lea edx, [0x41c250]
call fcn.0049f901
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.0047f404
add esp, 0x35c
cmp ebp, esp
call fcn.0049f8de
mov esp, ebp
pop ebp
ret