Function at 0x406280
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45c142
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x473ff0]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473ff0]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x300]
lea ecx, [esp + 0x4c]
call sym.Install.exe_public:_void___thiscall_CShortcut::constructor_void_
lea edi, [ebp + 0x420]
push edi
mov ebx, 0x469494
lea esi, [esp + 0x34]
mov dword [esp + 0x2fc], 0
call fcn.00406be0
add esp, 4
push 0xf
push str.p2psearcher.exe
mov eax, esi
mov byte [esp + 0x300], 1
call fcn.004027b0
push 0xffffffffffffffff
push 0
mov eax, esi
lea ecx, [esp + 0x70]
call fcn.00401640
push edi
lea esi, [esp + 0x18]
call fcn.00406be0
add esp, 4
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x300], 2
call fcn.00401640
mov edi, 8
mov byte [esp + 0x2f8], 1
cmp dword [esp + 0x2c], edi
jb 0x406356
mov eax, dword [esp + 0x18]
push eax
call fcn.00443850
add esp, 4
push 0xd
push str.skinlogo.ico
lea eax, [esp + 0x38]
call fcn.004027b0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x38]
lea ecx, [esp + 0xa8]
call fcn.00401640
xor ecx, ecx
push 6
mov eax, 0x4698c4
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
call fcn.004011a0
push 0x19
mov edx, esi
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x300], 3
call sym.Install.exe_public:_bool___thiscall_CShortcut::CreateFileLinkAtSpecialPath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___int_
mov byte [esp + 0x2f8], 1
cmp dword [esp + 0x2c], edi
jb 0x4063cd
mov eax, dword [esp + 0x18]
push eax
call fcn.00443850
add esp, 4
cmp byte [ebp + 0x440], bl
je 0x40657a
push 0x208
lea edx, [esp + 0xe6]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0xec], cx
call fcn.00445b20
add esp, 0xc
push ebx
push 2
lea eax, [esp + 0xe8]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [esp + 0xe0]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x406415
mov ecx, dword [0x469494]
lea eax, [esp + 0xe0]
mov dword [edi], ecx
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x406433
mov edx, dword [0x4698c4]
mov ecx, dword [0x4698c8]
mov dword [eax], edx
mov edx, dword [0x4698cc]
mov dword [eax + 4], ecx
mov cx, word [0x4698d0]
mov dword [eax + 8], edx
push ebx
lea edx, [esp + 0xe4]
push edx
mov word [eax + 0xc], cx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [esp + 0xe0]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x406480
mov eax, dword [0x469494]
mov dword [edi], eax
lea eax, [esp + 0xe0]
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4064a0
mov ecx, dword [0x4698c4]
mov edx, dword [0x4698c8]
mov dword [eax], ecx
mov ecx, dword [0x4698cc]
mov dword [eax + 4], edx
mov dx, word [0x4698d0]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0xe0]
add eax, 0xfffffffe
jmp 0x4064e0
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4064e0
mov ecx, dword [str..lnk]
mov edx, dword [str.PZtW]
mov dword [eax], ecx
mov cx, word [0x469c50]
mov dword [eax + 4], edx
xor edx, edx
mov word [eax + 8], cx
lea eax, [esp + 0xe0]
mov word [esp + 0x18], dx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x406525
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xe4]
lea esi, [esp + 0x18]
call fcn.004011a0
mov eax, esi
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x2fc], 4
call sym.Install.exe_public:_bool___thiscall_CShortcut::CreateFileLink_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
mov byte [esp + 0x2f8], 1
cmp dword [esp + 0x2c], 8
jb 0x406575
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00443850
add esp, 4
mov edi, 8
xor edx, edx
mov ebp, 7
push 6
mov eax, 0x4698c4
lea esi, [esp + 0x18]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], dx
call fcn.004011a0
push 0x1a
mov eax, esi
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x300], 5
call sym.Install.exe_public:_bool___thiscall_CShortcut::CreateFileLinkAtSpecialPath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___int_
cmp dword [esp + 0x2c], edi
jb 0x4065c7
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00443850
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esp + 0x48], edi
jb 0x4065e9
mov eax, dword [esp + 0x34]
push eax
call fcn.00443850
add esp, 4
xor ecx, ecx
mov word [esp + 0x34], cx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2f8], 0xffffffff
call sym.Install.exe_public:_void___thiscall_CShortcut::destructor_void_
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.004437f0
add esp, 0x2e8
ret 4