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

Disassembly:
push 0xffffffffffffffff
push 0x45e213
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x3a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x3bc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x84]
call sym.Install.exe_public:_void___thiscall_CShortcut::constructor_void_
lea ebp, [edi + 0x420]
xor ebx, ebx
push ebp
lea esi, [esp + 0x6c]
mov dword [esp + 0x3c8], ebx
call fcn.004066f0
add esp, 4
push 0xf
mov eax, str.p2psearcher.exe
mov ecx, esi
mov byte [esp + 0x3c8], 1
call fcn.00401370
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0xa8]
call fcn.00401900
push ebp
lea esi, [esp + 0x34]
call fcn.004066f0
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x70]
mov byte [esp + 0x3cc], 2
call fcn.00401900
mov byte [esp + 0x3c4], 1
cmp dword [esp + 0x48], 8
jb 0x404e59
mov eax, dword [esp + 0x34]
push eax
call fcn.00446890
add esp, 4
push 0xd
mov eax, str.skinlogo.ico
lea ecx, [esp + 0x6c]
call fcn.00401370
xor ecx, ecx
push 6
mov eax, 0x46b764
lea esi, [esp + 0x34]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
call fcn.00401510
push 0x19
mov edx, esi
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x3cc], 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 + 0x3c4], 1
cmp dword [esp + 0x48], 8
jb 0x404ec1
mov eax, dword [esp + 0x34]
push eax
call fcn.00446890
add esp, 4
cmp byte [edi + 0x440], bl
je 0x405137
push 0x208
lea edx, [esp + 0x1b2]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x1b8], cx
call fcn.0044a250
add esp, 0xc
push ebx
push 2
lea eax, [esp + 0x1b4]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [esp + 0x1ac]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x404f10
mov ecx, dword [0x46b464]
lea eax, [esp + 0x1ac]
mov dword [edi], ecx
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x404f30
mov edx, dword [0x46b764]
mov ecx, dword [0x46b768]
mov dword [eax], edx
mov edx, dword [0x46b76c]
mov dword [eax + 4], ecx
mov cx, word [0x46b770]
mov dword [eax + 8], edx
push ebx
lea edx, [esp + 0x1b0]
push edx
mov word [eax + 0xc], cx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov word [esp + 0x18], ax
mov edi, 7
lea eax, [esp + 0x1ac]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404f90
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1b0]
lea esi, [esp + 0x18]
call fcn.00401510
mov byte [esp + 0x3c4], 4
xor ecx, ecx
lea eax, [esp + 0x1ac]
mov word [esp + 0x50], cx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x404fd1
sub eax, ecx
sar eax, 1
push eax
lea eax, [esp + 0x1b0]
lea esi, [esp + 0x50]
call fcn.00401510
push 1
mov eax, 0x46b464
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c8], 5
call fcn.00401370
push 6
mov eax, 0x46b764
lea ecx, [esp + 0x18]
call fcn.00401370
push 4
mov eax, str..lnk
lea ecx, [esp + 0x18]
call fcn.00401370
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x88]
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__
push 1
mov eax, 0x46b464
mov ecx, esi
call fcn.00401370
push 2
mov eax, 0x46ba4c
mov ecx, esi
call fcn.00401370
push 4
mov eax, str..lnk
mov ecx, esi
call fcn.00401370
push ebp
lea esi, [esp + 0x34]
call fcn.004066f0
add esp, 4
push 0xd
mov eax, str.UnInstall.exe
mov ecx, esi
mov byte [esp + 0x3c8], 6
call fcn.00401370
lea ecx, [esp + 0x118]
call sym.Install.exe_public:_void___thiscall_CShortcut::constructor_void_
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0x13c]
mov byte [esp + 0x3cc], 7
call fcn.00401900
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x11c]
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__
lea ecx, [esp + 0x118]
mov byte [esp + 0x3c4], 6
call sym.Install.exe_public:_void___thiscall_CShortcut::destructor_void_
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x4050e9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00446890
add esp, 4
xor edx, edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], dx
cmp dword [esp + 0x64], esi
jb 0x40510b
mov eax, dword [esp + 0x50]
push eax
call fcn.00446890
add esp, 4
xor ecx, ecx
mov byte [esp + 0x3c4], 1
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], cx
cmp dword [esp + 0x2c], esi
jb 0x40513c
mov edx, dword [esp + 0x18]
push edx
call fcn.00446890
add esp, 4
jmp 0x40513c
mov edi, 7
xor eax, eax
mov word [esp + 0x18], ax
push 6
mov eax, 0x46b764
lea esi, [esp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
call fcn.00401510
push 0x1a
mov ecx, esi
push ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x3cc], 8
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 esi, 8
cmp dword [esp + 0x2c], esi
jb 0x40518c
mov edx, dword [esp + 0x18]
push edx
call fcn.00446890
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
cmp dword [esp + 0x80], esi
jb 0x4051b1
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00446890
add esp, 4
xor edx, edx
lea ecx, [esp + 0x84]
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], dx
mov dword [esp + 0x3c4], 0xffffffff
call sym.Install.exe_public:_void___thiscall_CShortcut::destructor_void_
mov ecx, dword [esp + 0x3bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3a4]
xor ecx, esp
call fcn.00446830
add esp, 0x3b4
ret