Function at 0x4089a0
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb40
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004041e5
call fcn.004093df
push dword [ebp + 0x10]
call fcn.00407487
pop ecx
pop ecx
call fcn.00401fc7
mov ecx, eax
call fcn.00402008
call fcn.004087a3
test eax, eax
jne 0x408d5c
mov esi, 0x412d24
push str._savelangfile
push esi
call dword [sym.imp.MSVCRT.dll__strcmpi]
pop ecx
test eax, eax
pop ecx
jne 0x4089fd
call fcn.004072a6
jmp 0x408d5c
call fcn.00408632
test eax, eax
jne 0x408d5c
call fcn.004071f4
mov edx, dword [0x412d20]
xor ebx, ebx
cmp edx, 2
mov dword [ebp - 8], ebx
jl 0x408d6b
mov al, byte [0x412a30]
push 0x41
mov byte [ebp - 0x218], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x217]
cmp edx, ebx
rep stosd dword es:[edi], eax
jle 0x408b3e
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0x412e2c
mov esi, 0x108
mov edi, dword [sym.imp.MSVCRT.dll__strcmpi]
push 0x4125cc
push dword [ebp + 8]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x408a80
push dword [ebp - 4]
lea eax, [ebp - 0x218]
push eax
call sub.MSVCRT.dll_strcpy
add dword [ebp - 4], esi
pop ecx
inc ebx
add dword [ebp + 8], esi
pop ecx
push str._cfg
push dword [ebp + 8]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x408b04
push eax
push dword [ebp - 4]
call fcn.00401fc7
mov ecx, eax
call fcn.0040205f
mov al, byte [0x412a30]
push 0x41
mov byte [ebp - 0x110], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x110]
push 0x104
push eax
push str.ZipFile
call fcn.00401fc7
mov ecx, eax
call fcn.0040215f
test eax, eax
je 0x408af7
cmp byte [ebp - 0x110], 0
je 0x408af7
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x218]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
add dword [ebp - 4], esi
mov edi, dword [sym.imp.MSVCRT.dll__strcmpi]
inc ebx
add dword [ebp + 8], esi
push str._tmpuninst
push dword [ebp + 8]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x408b1b
mov dword [ebp - 8], 1
push str._uninst
push dword [ebp + 8]
call edi
pop ecx
test eax, eax
pop ecx
je 0x408b60
add dword [ebp - 4], esi
add dword [ebp + 8], esi
inc ebx
cmp ebx, dword [0x412d20]
jl 0x408a52
cmp byte [ebp - 0x218], 0
je 0x408d6b
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004085ca
pop ecx
pop ecx
jmp 0x408d70
mov dl, byte [0x412a30]
push 0x41
pop esi
xor eax, eax
mov ecx, esi
lea edi, [ebp - 0x427]
mov byte [ebp - 0x428], dl
mov byte [ebp - 0x110], dl
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x31f]
mov byte [ebp - 0x320], dl
mov byte [ebp - 0x740], dl
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x73f]
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x52f]
mov byte [ebp - 0x530], dl
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x428]
push eax
call fcn.0040463e
imul ebx, ebx, 0x108
lea eax, [ebp - 0x320]
lea ebx, [ebx + 0x412e2c]
push eax
push ebx
call fcn.0040468f
lea eax, [ebp - 0x110]
push eax
call fcn.00404650
add esp, 0x10
lea eax, [ebp - 0x740]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea eax, [ebp - 0x530]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
lea eax, [ebp - 0x110]
push eax
call fcn.00404274
lea eax, [ebp - 0x320]
push eax
call fcn.00404274
lea eax, [ebp - 0x740]
push eax
call fcn.00404274
lea eax, [ebp - 0x530]
push eax
call fcn.00404274
add esp, 0x10
cmp dword [ebp - 8], 0
jne 0x408d60
mov edi, dword [sym.imp.MSVCRT.dll__strcmpi]
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x110]
push eax
call edi
pop ecx
test eax, eax
pop ecx
jne 0x408d60
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x110]
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x408d60
lea eax, [ebp - 0x740]
push eax
lea eax, [ebp - 0x110]
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x408d60
lea eax, [ebp - 0x428]
push eax
call fcn.004046b9
test eax, eax
pop ecx
je 0x408d60
push 0x41251c
push eax
call edi
pop ecx
test eax, eax
pop ecx
jne 0x408d60
mov al, byte [0x412a30]
mov ecx, esi
mov byte [ebp - 0x638], al
xor eax, eax
lea edi, [ebp - 0x637]
push 0x4125a4
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x638]
push eax
call fcn.004043f9
pop ecx
lea eax, [ebp - 0x638]
pop ecx
push 0
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
test eax, eax
je 0x408d60
mov al, byte [0x412a30]
mov ecx, 0xff
mov byte [ebp - 0xb40], al
xor eax, eax
lea edi, [ebp - 0xb3f]
push dword [ebp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x638]
push str._tmpuninst
push eax
lea eax, [ebp - 0xb40]
push str.__s___s__s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0xb40]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
xor eax, eax
jmp 0x408d70
push ebx
call fcn.0040b9cf
jmp 0x408b5a
call fcn.004085e5
pop edi
pop esi
pop ebx
leave
ret 0x10