Function at 0x406470
Capabilities:
Check if file exists
Create process on windows
Create thread
Delete file
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4519bb
mov eax, dword fs:[0]
push eax
sub esp, 0x6b0
mov eax, dword [0x467e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x268]
push 0
mov eax, dword [ecx]
call dword [eax + 0xd0]
mov ecx, dword [edi + 0x274]
call fcn.00412a1c
mov ecx, dword [edi + 0x270]
mov byte [edi + 0x2a4], al
mov eax, dword [ecx]
lea edx, [ebp - 0x6b4]
push edx
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004123a2
xor ecx, ecx
add eax, 0xa
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043ce13
add esp, 4
lea ecx, [ebp - 0x6b4]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00411e57
xor eax, eax
mov word [esi], ax
mov ecx, dword [edi + 0x270]
lea eax, [ebp - 0x630]
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00412398
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x630]
mov dword [ebp - 4], 0xffffffff
call fcn.00411e57
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ebx, [edi + 0x2ac]
push esi
mov ecx, ebx
call fcn.00411eed
push esi
call fcn.0043d6b8
add esp, 4
lea ecx, [ebp - 0x528]
call fcn.00411da7
push 0
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00411f5a
movzx eax, ax
push eax
lea ecx, [ebp - 0x528]
call fcn.00411f11
lea ecx, [ebp - 0x528]
push 0x4609b8
call fcn.00411f96
lea ecx, [ebp - 0x528]
call fcn.00412398
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x4065d9
push 0x10
push 0x460644
push 0x4609c0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4067f0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0043f3e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call fcn.00406350
test eax, eax
je 0x4066a6
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00411f45
test al, al
je 0x4066a6
lea ecx, [ebp - 0x5ac]
call fcn.00411da7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x5ac]
mov byte [ebp - 4], 3
call fcn.00411eed
push 0x4609cc
lea ecx, [ebp - 0x5ac]
call fcn.00411f96
push 0
push 0
push 0
lea ecx, [ebp - 0x5ac]
call fcn.00412398
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push eax
push str.taskbarunpin
push 0
call esi
push 0
push 0
push 0
lea ecx, [ebp - 0x5ac]
call fcn.00412398
push eax
push str.startunpin
push 0
call esi
lea ecx, [ebp - 0x5ac]
mov byte [ebp - 4], 2
call fcn.00411e57
mov ecx, ebx
call fcn.00412398
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x4066d2
mov ecx, ebx
call fcn.00412398
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x4067f0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.0043f3e0
add esp, 0xc
lea ecx, [ebp - 0x4a4]
call fcn.00411da7
lea eax, [ebp - 0x420]
push eax
push 0x104
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x4a4]
test eax, eax
je 0x4067e7
lea eax, [ebp - 0x420]
push eax
call fcn.00411eed
push str.yxlmhz.7z
lea ecx, [ebp - 0x4a4]
call fcn.00411f96
lea ecx, [ebp - 0x4a4]
call fcn.00412398
push eax
call esi
test eax, eax
je 0x40675f
lea ecx, [ebp - 0x4a4]
call fcn.00412398
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x6bc], esp
push 0xffffffffffffffff
push 0x460a40
call fcn.00411d83
push 0x68
sub esp, 0x84
lea eax, [ebp - 0x4a4]
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.00411d5e
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00406e30
test eax, eax
je 0x4067e1
push 0x10c
call fcn.0043d708
mov esi, eax
add esp, 4
mov dword [ebp - 0x6b8], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x4067d7
mov ecx, esi
call fcn.00411da7
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 7
call fcn.00411da7
jmp 0x4067d9
xor esi, esi
mov byte [ebp - 4], 4
test esi, esi
jne 0x406814
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 2
call fcn.00411e57
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
call fcn.00411e57
mov ecx, dword [edi + 0x268]
push 1
mov eax, dword [ecx]
call dword [eax + 0xd0]
jmp 0x406874
lea eax, [ebp - 0x4a4]
push eax
mov ecx, esi
call fcn.00411ece
push ebx
lea ecx, [esi + 0x84]
call fcn.00411ece
push 0
push 0
push esi
push 0x4068a0
push 0
push 0
mov dword [esi + 0x108], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x406853
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 2
call fcn.00411e57
lea ecx, [ebp - 0x528]
mov dword [ebp - 4], 0xffffffff
call fcn.00411e57
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.0043cefb
mov esp, ebp
pop ebp
ret 4