Function at 0x406c68
Capabilities:
Copy file
Create directory
Create process on windows
Delete file
Get common file path
Persist via lnk shortcut
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0x4b1
push dword [esi + 4]
mov dword [esi + 0x1c], 1
call edi
xor ebx, ebx
push ebx
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x406ca5
mov dword [esi + 0x1c], ebx
push 0x3f5
mov dword [ebp - 0x74], ebx
push dword [esi + 4]
call edi
push ebx
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
pop ecx
cmp eax, ecx
jne 0x406cca
mov dword [ebp - 0x74], ecx
push 0x3f0
mov dword [ebp - 0x78], ebx
push dword [esi + 4]
call edi
push ebx
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
pop ecx
cmp eax, ecx
jne 0x406cef
mov dword [ebp - 0x78], ecx
push 0x4b1
push dword [esi + 4]
call edi
push ebx
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x4bd878], eax
push dword [esi + 0x1c]
mov ecx, esi
push dword [esi + 4]
call fcn.00407c2a
lea edi, [esi + 0x38]
mov dword [ebp - 0x30], 1
push edi
call fcn.0042047d
test eax, eax
pop ecx
je 0x406dc1
cmp dword [0x4bd874], ebx
jne 0x406dc1
lea eax, [ebp - 8]
push 2
push eax
call fcn.00461770
pop ecx
pop ecx
push edi
push 0x4b0e24
lea ecx, [ebp - 8]
call fcn.004040f7
lea eax, [ebp - 0x14]
push 0xd9
push eax
call fcn.00461770
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x30]
push 0x4b1110
push eax
call fcn.0040a961
mov eax, dword [eax]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0x30]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
push 0x21
push 0x4bd5d8
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x406db6
lea ecx, [ebp - 8]
jmp 0x4071e9
lea ecx, [ebp - 8]
mov dword [ebp - 0x30], ebx
call fcn.004038fb
mov edi, 0x4bd614
lea ecx, [ebp - 0x1c]
push edi
call fcn.00403927
mov eax, dword [0x4b0550]
push 0x105
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.00403c58
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00403cd2
push str._tmp_folder_2019
lea ecx, [ebp - 0x60]
call fcn.00403927
push edi
lea ecx, [ebp - 0x20]
call fcn.00403927
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x20]
push 0x4c668c
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403b20
mov eax, dword [eax]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x20]
call fcn.004038fb
lea ecx, [ebp - 0x60]
call fcn.004038fb
push dword [ebp - 8]
call fcn.004204b0
mov eax, dword [0x4b0550]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov dword [esp], str._s_s.lnk
call fcn.0040a4e8
push dword [0x4c67d8]
lea eax, [ebp - 0x24]
push dword [ebp - 8]
push dword [ebp - 0x14]
push eax
call fcn.00403d66
add esp, 0x10
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00403a8c
mov eax, dword [0x4b0550]
push dword [0x4c67d8]
mov dword [ebp - 0x3c], eax
lea eax, [esi + 0x38]
mov dword [ebp - 0x20], eax
push eax
mov edi, str._s_s.exe
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.00403d66
add esp, 0x10
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push ebx
push ecx
mov ecx, esp
push 0x4bd5d8
call fcn.0040a4e8
push ecx
mov ecx, esp
push dword [ebp - 0x20]
call fcn.0040a4e8
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.004038b5
push ecx
mov ecx, esp
push 0x4bd5d8
call fcn.0040a4e8
push ecx
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.004038b5
call fcn.00407d47
add esp, 0x1c
lea ecx, [ebp - 0x3c]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x24]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
push dword [ebp - 0x20]
call fcn.004204b0
push dword [ebp - 0x20]
call fcn.0049d520
pop ecx
cmp eax, 0xffffffff
pop ecx
jne 0x406fc5
cmp dword [0x4bd874], ebx
jne 0x4071e6
push dword [ebp - 0x20]
lea ecx, [ebp - 0xc]
call fcn.0040a4e8
push eax
lea eax, [ebp - 4]
push str.DIR__error_:_n
push eax
call fcn.0040a961
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
call fcn.00408173
test eax, eax
jne 0x4071e6
push ecx
mov ecx, esp
push str._install__nolisense
call fcn.00403927
call fcn.004080c9
test eax, eax
pop ecx
je 0x4071e6
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4071e6
mov eax, dword [0x4b0550]
push 0x4b1098
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], eax
call fcn.00403927
mov eax, dword [0x4b0550]
push 0x4b108c
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], eax
call fcn.00403927
push dword [0x4c67d8]
lea eax, [ebp - 0x10]
push dword [ebp - 0x20]
push edi
push eax
call fcn.00403d66
add esp, 0x10
lea ecx, [ebp - 0x14]
push 0x4b0df8
call fcn.00403927
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403b20
push eax
lea ecx, [ebp - 0x48]
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
push dword [0x4c67d8]
lea eax, [ebp - 0x34]
push dword [ebp - 0x20]
push str._s_s.ini
push eax
call fcn.00403d66
mov eax, dword [0x4bd5dc]
mov ecx, 0x81
mov dword [ebp - 0x28c], eax
xor eax, eax
lea edi, [ebp - 0x288]
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x28c]
push 0x104
push eax
push dword [0x4c7a90]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x28c]
lea ecx, [ebp - 0x5c]
push eax
call fcn.0040a4e8
lea eax, [ebp - 0x28c]
lea ecx, [ebp - 0x44]
push eax
call fcn.0040a4e8
push 0x4b1070
lea ecx, [ebp - 0x40]
call fcn.00403927
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0xa0
push dword [ebp - 0x10]
call edi
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4071f5
cmp dword [0x4bd874], ebx
jne 0x4071a6
push str._n_x__n
lea ecx, [ebp - 0x14]
call fcn.00403927
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push 3
push eax
call fcn.00461770
pop ecx
pop ecx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403b20
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
call fcn.00408173
test eax, eax
jne 0x40716d
push ecx
mov ecx, esp
push str._install__nolisense
call fcn.00403927
call fcn.004080c9
test eax, eax
pop ecx
jne 0x407196
push 3
push ebx
push dword [ebp - 0x24]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
lea ecx, [ebp - 0x24]
jne 0x4071a1
call fcn.004038fb
push 0xa0
push dword [ebp - 0x10]
jmp 0x4070dc
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 0x24]
call fcn.004038fb
lea ecx, [ebp - 0x40]
call fcn.004038fb
lea ecx, [ebp - 0x44]
call fcn.004038fb
lea ecx, [ebp - 0x5c]
call fcn.004038fb
lea ecx, [ebp - 0x38]
call fcn.004038fb
lea ecx, [ebp - 0x34]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x4c]
call fcn.004038fb
lea ecx, [ebp - 0x48]
call fcn.004038fb
lea ecx, [ebp - 0x1c]
call fcn.004038fb
xor eax, eax
jmp 0x407b8a
push 0xa0
push dword [ebp - 0x10]
call edi
lea eax, [esi + 0x38]
push str.FavoritenQuick_Link_
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x20], eax
call fcn.0040a4e8
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040a915
lea ecx, [ebp - 4]
call fcn.004038fb
mov ecx, dword [ebp - 0x34]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0xc]
jl 0x40723c
push eax
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x40724d
mov eax, dword [0x4b0550]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
call fcn.0040a70f
cmp dword [0x4bd884], ebx
je 0x407427
lea eax, [ebp - 0x64]
push eax
call fcn.004602be
push dword [ebp - 0x64]
call fcn.004204b0
pop ecx
pop ecx
push 0xa0
push dword [ebp - 0x34]
call edi
mov eax, dword [0x4b0550]
push dword [0x4b412c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push str.m_lang_id_d_r_n
push eax
call fcn.00403d66
push dword [ebp - 0x2c]
push dword [0x4b412c]
push str.m_lang_id
push dword [ebp - 0x40]
call fcn.0044ad31
push dword [ebp - 0x2c]
push str..Favoriten_
push 0x4b0fec
push 0x4b0fd8
call fcn.0044ae5b
push dword [ebp - 0x2c]
push str..FavoritenQuick_Link_
push 0x4b0f9c
push 0x4b0f98
call fcn.0044ae5b
push dword [ebp - 0x2c]
push 0x4b0f94
push str.portable_install
push 0x4b0f60
call fcn.0044ae5b
add esp, 0x4c
push 0xa0
push dword [ebp - 0x34]
call edi
mov eax, dword [0x4b0550]
push str._s_s.lnk
lea ecx, [ebp - 0x24]
mov dword [ebp - 8], eax
call fcn.0040a4e8
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x138d
push dword [esi + 4]
call edi
push ebx
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x407357
push dword [0x4c67d8]
lea eax, [ebp - 8]
push dword [esi + 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00403d66
add esp, 0x10
push ebx
push dword [ebp - 8]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x3f2
push dword [esi + 4]
call edi
push ebx
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x4073b8
mov eax, dword [ebp - 0x24]
push dword [0x4c67d8]
mov dword [ebp - 4], eax
lea eax, [esi + 0x2c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040a915
push dword [eax]
lea eax, [ebp - 8]
push dword [ebp - 4]
push eax
call fcn.00403d66
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.004038fb
push ebx
push dword [ebp - 8]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x3ef
push dword [esi + 4]
call edi
push ebx
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x4073fa
push dword [0x4c67d8]
lea eax, [ebp - 8]
push dword [esi + 0x24]
push dword [ebp - 0x24]
push eax
call fcn.00403d66
add esp, 0x10
push ebx
push dword [ebp - 8]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x10]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x24]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0x14]
jmp 0x407b2a
mov edi, dword [0x4c6690]
lea eax, [ebp - 0x6c]
push eax
mov dword [0x4c6690], ebx
call fcn.0043450a
mov dword [esp], 0x4b0f00
push 0x4c668c
lea eax, [ebp - 0x6c]
push 0x4b0efc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040a915
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040a915
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
push dword [ebp - 0x2c]
mov eax, dword [0x4b0550]
mov dword [ebp - 0x80], eax
push dword [0x4b412c]
push str.m_lang_id
push dword [ebp - 0x40]
call fcn.0044ad31
mov eax, dword [0x4b0550]
add esp, 0x10
lea ecx, [ebp - 0x60]
mov dword [0x4c6690], edi
push 0x4b0ef4
mov dword [ebp - 0x50], eax
call fcn.00403927
push 0x4b0ef0
lea ecx, [ebp - 0x14]
call fcn.00403927
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403b20
push dword [eax]
lea eax, [ebp - 0x50]
push dword [0x4c67d8]
push dword [ebp - 0x20]
push str._s_s_s
push eax
call fcn.00403d66
add esp, 0x14
lea ecx, [ebp - 4]
invalid
invalid