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

Disassembly:
push 0xffffffffffffffff
push 0x45e262
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x476110]
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, 0x46b464
lea esi, [esp + 0x34]
mov dword [esp + 0x2fc], 0
call fcn.004067b0
add esp, 4
push 9
mov eax, str.BTDog.exe
mov ecx, esi
mov byte [esp + 0x2fc], 1
call fcn.00401370
push 0xffffffffffffffff
push 0
mov eax, esi
lea ecx, [esp + 0x70]
call fcn.00401900
push edi
lea esi, [esp + 0x18]
call fcn.004067b0
add esp, 4
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x300], 2
call fcn.00401900
mov edi, 8
mov byte [esp + 0x2f8], 1
cmp dword [esp + 0x2c], edi
jb 0x405026
mov eax, dword [esp + 0x18]
push eax
call fcn.00446900
add esp, 4
push 0xd
mov eax, str.skinlogo.ico
lea ecx, [esp + 0x34]
call fcn.00401370
xor ecx, ecx
push 0xc
mov eax, str.Common_Files
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
call fcn.00401510
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 0x40508a
mov eax, dword [esp + 0x18]
push eax
call fcn.00446900
add esp, 4
cmp byte [ebp + 0x440], bl
je 0x405205
push 0x208
lea edx, [esp + 0xe6]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0xec], cx
call fcn.0044a2c0
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 0x4050d2
mov ecx, dword [0x46b464]
mov dword [edi], ecx
lea edi, [esp + 0xe0]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4050f0
mov ecx, 6
mov esi, str.Common_Files
rep movsd dword es:[edi], dword [esi]
push ebx
lea edx, [esp + 0xe4]
push edx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [esp + 0xe0]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x405123
mov eax, dword [0x46b464]
mov dword [edi], eax
lea edi, [esp + 0xe0]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x405140
mov ecx, 6
mov esi, str.Common_Files
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xe0]
movsw word es:[edi], word [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x405164
mov ecx, dword [str..lnk]
mov edx, dword [0x46baf0]
mov dword [eax], ecx
mov cx, word [0x46baf4]
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]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4051b0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xe4]
lea esi, [esp + 0x18]
call fcn.00401510
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 0x405200
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446900
add esp, 4
mov edi, 8
xor edx, edx
mov ebp, 7
push 0xc
mov eax, str.Common_Files
lea esi, [esp + 0x18]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], dx
call fcn.00401510
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 0x405252
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446900
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 0x405274
mov eax, dword [esp + 0x34]
push eax
call fcn.00446900
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.004468a0
add esp, 0x2e8
ret 4