Function at 0x41ab1e
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7b8
push ebx
push esi
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebp + 8]
push 0x400
push ebx
push 0x43fa44
mov dword [0x43fe50], eax
call fcn.00424670
mov esi, dword [ebp + 0x10]
mov eax, dword [0x43ff58]
mov edi, dword [0x43ff5c]
add esp, 0xc
lea ecx, [ebp - 0x34]
mov dword [0x43fe44], ebx
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edi
call fcn.0041b58d
push 1
push 1
push ebx
push str.runfromtemp
lea ecx, [ebp - 0x34]
call fcn.0041b618
push ebx
push 1
push ebx
push 0x439584
lea ecx, [ebp - 0x34]
mov byte [ebp - 8], al
call fcn.0041b618
test al, al
je 0x41ac07
lea eax, [ebp - 0x134]
push eax
call fcn.0040a860
pop ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.0040a7c5
lea ecx, [ebp - 0x134]
call fcn.0040195c
lea ecx, [ebp - 0x94]
call fcn.0040a99d
test eax, eax
jne 0x41abd6
mov esi, dword [0x43fe44]
jmp 0x41abf7
sub esp, 0x28
lea eax, [ebp + 0x13]
mov ecx, esp
mov dword [ebp + 0x10], esp
push 1
push eax
push esi
call fcn.004014ff
lea ecx, [ebp - 0x94]
call fcn.0040abe1
mov esi, eax
lea ecx, [ebp - 0x94]
call fcn.0040a842
jmp 0x41b576
cmp byte [ebp - 8], bl
je 0x41ac24
push ebx
push ebx
push ebx
push 0x439580
lea ecx, [ebp - 0x34]
call fcn.0041b618
test al, al
je 0x41acc9
lea eax, [ebp - 2]
push ebx
push eax
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x43247c
mov dword [ebp - 0xc4], 0x432474
call fcn.00401581
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0xe4]
push eax
call fcn.0041bc81
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.0040b968
push 1
push ebx
push eax
push str.removeasmajorupgrade
lea ecx, [ebp - 0x34]
call fcn.0041b618
cmp byte [ebp - 0x10], bl
mov byte [ebp - 2], al
je 0x41ac86
mov ecx, dword [ebp - 0x14]
push dword [ecx + 0x1c]
call fcn.00401704
cmp byte [ebp - 2], bl
je 0x41acbe
push dword [ebp - 8]
lea eax, [ebp - 0xe4]
sub esp, 0x28
mov ecx, esp
mov dword [ebp + 0x10], esp
push 1
push eax
call fcn.0040af70
call fcn.0041b96f
add esp, 0x2c
lea ecx, [ebp - 0xe4]
mov esi, eax
call fcn.0040195c
jmp 0x41b576
lea ecx, [ebp - 0xe4]
call fcn.0040195c
cmp dword [ebp - 0x1c], 1
jbe 0x41ae73
mov al, byte [esi]
cmp al, 0x2d
je 0x41acdd
cmp al, 0x2f
jne 0x41ad3c
cmp byte [esi + 1], 0x25
jne 0x41ad3c
lea eax, [esi + 2]
mov cl, byte [eax]
inc eax
cmp cl, 0x2f
jne 0x41ace6
mov byte [eax - 2], bl
dec eax
push eax
lea eax, [ebp - 0x3b8]
push dword [0x4392fc]
push 0x438be0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x3b8]
push 1
push eax
call fcn.0041d7ee
lea ecx, [ebp - 0x14]
call fcn.004019b9
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004019ed
lea ecx, [ebp - 0x14]
call fcn.004019e6
jmp 0x41b4cd
cmp al, 0x2d
je 0x41ad44
cmp al, 0x2f
jne 0x41ad9b
mov cl, byte [esi + 1]
cmp cl, 0x6b
je 0x41ad51
cmp cl, 0x4b
jne 0x41ad9b
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x2b3]
mov byte [ebp - 0x2b4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
add eax, 2
push eax
mov eax, dword [ebp - 0x20]
push dword [eax]
lea eax, [ebp - 0x2b4]
push 0x438254
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x2b4]
push 1
push eax
call fcn.0041d8cb
jmp 0x41b4cd
cmp al, 0x2d
je 0x41ada7
cmp al, 0x2f
jne 0x41ae73
mov al, byte [esi + 1]
cmp al, 0x67
je 0x41adb6
cmp al, 0x47
jne 0x41ae73
add esi, 2
mov al, byte [esi]
inc esi
cmp al, 0x2f
jne 0x41adb9
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x2b3]
mov byte [ebp - 0x2b4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [ebp + eax - 0x2b6]
lea eax, [ebp + eax - 0x2b4]
cmp cl, 0x2d
mov dword [ebp + 8], ebx
je 0x41ae0f
cmp cl, 0x2f
jne 0x41ae26
mov cl, byte [eax - 1]
cmp cl, 0x73
je 0x41ae1c
cmp cl, 0x53
jne 0x41ae26
mov dword [ebp + 8], 1
mov byte [eax - 2], bl
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x3b7]
mov byte [ebp - 0x3b8], bl
mov byte [esi - 2], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
add eax, 3
push eax
lea eax, [ebp - 0x3b8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 8]
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x3b8]
push eax
call fcn.0041e2f7
add esp, 0xc
mov esi, eax
jmp 0x41b576
cmp dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], ebx
jbe 0x41ae9e
mov al, byte [esi]
cmp al, 0x2d
je 0x41ae86
cmp al, 0x2f
jne 0x41ae9e
mov al, byte [esi + 1]
cmp al, 0x71
je 0x41ae91
cmp al, 0x51
jne 0x41ae9e
mov eax, dword [0x43ff5c]
mov eax, dword [eax + 4]
inc eax
inc eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 2]
push ebx
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0x4324bc
mov dword [ebp - 0x9c], 0x4324b4
call fcn.004025fd
push 1
lea ecx, [ebp - 0x178]
call fcn.004183cf
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x178]
push eax
call fcn.0041bdef
mov eax, dword [eax]
push ebx
add eax, 0x10
push ebx
push eax
push str.tempdisk1folder
lea ecx, [ebp - 0x34]
call fcn.0041b618
test al, al
je 0x41af1d
lea ecx, [ebp - 0x178]
call fcn.0041bd13
mov eax, dword [ebp - 0x168]
cmp eax, ebx
jne 0x41af11
mov eax, 0x43ce64
push eax
lea ecx, [ebp - 0xbc]
call fcn.00402a49
cmp dword [ebp - 0xb0], ebx
mov esi, 0x104
jne 0x41afda
lea eax, [ebp - 0x14]
push esi
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040282a
mov edi, eax
mov ecx, dword [edi]
call fcn.00403e77
push eax
push esi
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x14]
call fcn.004029cf
sub esp, 0x28
lea eax, [ebp - 2]
mov dword [ebp - 0xc], esp
mov ecx, esp
push ebx
mov edi, 0x43ce64
push eax
push edi
mov dword [ecx], 0x4324bc
mov dword [ecx + 0x20], 0x4324b4
call fcn.00403be6
sub esp, 0x28
lea eax, [ebp - 1]
mov ecx, esp
mov dword [ebp - 0xc], esp
push 1
push eax
push edi
call fcn.0041bcdb
lea eax, [ebp - 0x134]
push ebx
push eax
call fcn.0041ebf3
add esp, 0x58
lea ecx, [ebp - 0xbc]
push eax
call fcn.00401da9
lea ecx, [ebp - 0x134]
call fcn.00401d2a
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0xbc]
push eax
call fcn.00404a10
lea ecx, [ebp - 0x134]
call fcn.00401d2a
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0xbc]
call fcn.00403e77
push eax
push 0x43fa44
call fcn.00423950
cmp dword [ebp - 0x18], ebx
pop ecx
pop ecx
je 0x41b008
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x41b51e
cmp byte [ebp - 8], bl
jne 0x41b02d
push dword [edi]
call fcn.0041d3cd
test eax, eax
je 0x41b51e
push dword [ebp + 0x10]
call fcn.0041b8ef
test al, al
pop ecx
je 0x41b51e
lea eax, [ebp - 0x1b0]
push ebx
push eax
lea eax, [ebp - 1]
push 1
push eax
push dword [edi]
lea ecx, [ebp - 0x68]
call fcn.004038bf
mov ecx, eax
call fcn.00402857
lea ecx, [ebp - 0x68]
call fcn.00401d2a
lea eax, [ebp - 0x134]
push ebx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00402857
push ebx
lea eax, [ebp - 0xe4]
push ebx
push eax
lea eax, [ebp - 1]
push 1
push eax
lea ecx, [ebp - 0x68]
push dword [edi]
call fcn.004038bf
mov ecx, eax
call fcn.00403a08
lea ecx, [ebp - 0x68]
call fcn.00401d2a
lea ecx, [ebp - 0x14]
call fcn.004019b9
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004161f3
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004161f3
lea ecx, [ebp - 0x15c]
call fcn.00403e77
push ebx
lea ecx, [ebp - 0x10c]
mov edi, eax
call fcn.00403e77
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
call edi
lea eax, [ebp - 0x40]
push esi
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040282a
mov ecx, dword [eax]
mov dword [ebp - 8], eax
call fcn.00403e77
mov ecx, dword [ebp - 8]
push eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x14]
call fcn.00401e2a
lea ecx, [ebp - 0x40]
call fcn.004029cf
lea eax, [ebp - 1]
push 1
push eax
lea ecx, [ebp - 0x68]
push dword [0x43952c]
call fcn.004038bf
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xe4]
call fcn.004161f3
push eax
lea ecx, [ebp - 0x15c]
call fcn.00401da9
lea ecx, [ebp - 0x90]
call fcn.00401d2a
lea ecx, [ebp - 0x68]
call fcn.00401d2a
lea eax, [ebp - 1]
push 1
push eax
lea ecx, [ebp - 0x68]
push dword [0x43952c]
call fcn.004038bf
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004161f3
push eax
lea ecx, [ebp - 0x10c]
call fcn.00401da9
lea ecx, [ebp - 0x90]
call fcn.00401d2a
lea ecx, [ebp - 0x68]
call fcn.00401d2a
lea ecx, [ebp - 0x15c]
call fcn.00403e77
push ebx
lea ecx, [ebp - 0x10c]
mov dword [ebp - 8], eax
call fcn.00403e77
push eax
push dword [ebp - 8]
call edi
lea eax, [ebp - 0x40]
push esi
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040282a
mov ecx, dword [eax]
mov dword [ebp - 8], eax
call fcn.00403e77
mov ecx, dword [ebp - 8]
push eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x14]
call fcn.00401e2a
lea ecx, [ebp - 0x40]
call fcn.004029cf
lea eax, [ebp - 1]
push 1
push eax
push str.ISSetup.dll
lea ecx, [ebp - 0x68]
call fcn.004038bf
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004161f3
push eax
lea ecx, [ebp - 0x15c]
call fcn.00401da9
lea ecx, [ebp - 0x90]
call fcn.00401d2a
lea ecx, [ebp - 0x68]
call fcn.00401d2a
mov eax, 0x438408
mov dword [ebp - 0x68], 0x4324bc
mov ecx, eax
mov dword [ebp - 0x48], 0x4324b4
test ecx, ecx
jne 0x41b266
mov eax, 0x43ce64
lea ecx, [ebp - 1]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00403be6
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004161f3
push eax
lea ecx, [ebp - 0x10c]
call fcn.00401da9
lea ecx, [ebp - 0x90]
call fcn.00401d2a
lea ecx, [ebp - 0x68]
call fcn.00401d2a
lea ecx, [ebp - 0x15c]
call fcn.00403e77
push ebx
lea ecx, [ebp - 0x10c]
mov dword [ebp - 8], eax
call fcn.00403e77
push eax
push dword [ebp - 8]
call edi
lea eax, [ebp - 0x40]
push esi
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040282a
mov ecx, dword [eax]
mov dword [ebp - 8], eax
call fcn.00403e77
mov ecx, dword [ebp - 8]
push eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x14]
call fcn.00401e2a
lea ecx, [ebp - 0x40]
call fcn.004029cf
lea eax, [ebp - 1]
push 1
push eax
push str.setup.isn
lea ecx, [ebp - 0x68]
call fcn.004038bf
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004161f3
push eax
lea ecx, [ebp - 0x15c]
call fcn.00401da9
lea ecx, [ebp - 0x90]
call fcn.00401d2a
lea ecx, [ebp - 0x68]
call fcn.00401d2a
lea eax, [ebp - 1]
push 1
push eax
push str.setup.isn
lea ecx, [ebp - 0x68]
call fcn.004038bf
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004161f3
push eax
lea ecx, [ebp - 0x10c]
call fcn.00401da9
lea ecx, [ebp - 0x90]
call fcn.00401d2a
lea ecx, [ebp - 0x68]
call fcn.00401d2a
lea ecx, [ebp - 0x15c]
call fcn.00403e77
push ebx
lea ecx, [ebp - 0x10c]
mov dword [ebp - 8], eax
call fcn.00403e77
push eax
push dword [ebp - 8]
call edi
test eax, eax
je 0x41b3db
lea eax, [ebp - 0x40]
push esi
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040282a
mov esi, eax
mov ecx, dword [esi]
call fcn.00403e77
push eax
lea ecx, [ebp - 0x14]
mov dword [esi + 8], eax
call fcn.00401e2a
lea ecx, [ebp - 0x40]
call fcn.004029cf
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x7b7]
mov byte [ebp - 0x7b8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004161f3
mov esi, eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xbc]
call fcn.004161f3
mov ecx, eax
call fcn.00403e77
push dword [ebp + 0x10]
mov ecx, esi
mov edi, eax
push 0x43fa44
call fcn.00403e77
push eax
push edi
lea eax, [ebp - 0x7b8]
push str._s__q__s___tempdisk1folder__s___s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea ecx, [ebp - 0x90]
call fcn.00401d2a
lea ecx, [ebp - 0x68]
call fcn.00401d2a
lea eax, [ebp - 0x7b8]
push 1
push eax
call fcn.0041d8cb
test eax, eax
lea ecx, [ebp - 0x10c]
je 0x41b4e2
call fcn.00401d2a
lea ecx, [ebp - 0x15c]
call fcn.00401d2a
lea ecx, [ebp - 0x14]
call fcn.004019e6
lea ecx, [ebp - 0xe4]
call fcn.00401d2a
lea ecx, [ebp - 0x134]
call fcn.00401d2a
lea ecx, [ebp - 0x1b0]
call fcn.00401d2a
lea ecx, [ebp - 0x178]
call fcn.00407c65
lea ecx, [ebp - 0xbc]
call fcn.00401d2a
lea ecx, [ebp - 0x34]
call fcn.0041b5d2
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x41b586
call fcn.00401d2a
lea ecx, [ebp - 0x15c]
call fcn.00401d2a
lea ecx, [ebp - 0x14]
call fcn.004019e6
lea ecx, [ebp - 0xe4]
call fcn.00401d2a
lea ecx, [ebp - 0x134]
call fcn.00401d2a
lea ecx, [ebp - 0x1b0]
call fcn.00401d2a
mov edi, dword [ebp - 0x20]
call fcn.0041d0db
lea ecx, [ebp - 0x188]
mov dword [0x43fe4c], ebx
mov dword [0x43fe48], ebx
call fcn.0040e689
push dword [ebp - 0x18]
lea ecx, [ebp - 0x188]
push edi
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.0040e6ce
mov esi, dword [0x43fe44]
lea ecx, [ebp - 0x188]
call fcn.0040e6b9
lea ecx, [ebp - 0x178]
call fcn.00407c65
lea ecx, [ebp - 0xbc]
call fcn.00401d2a
lea ecx, [ebp - 0x34]
call fcn.0041b5d2
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10