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

Disassembly:
push 0xffffffffffffffff
push 0x45e2b2
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]
xor ebx, ebx
push edi
lea esi, [esp + 0x34]
mov dword [esp + 0x2fc], ebx
call fcn.00406740
add esp, 4
push 0xa
mov eax, str.xfplay.exe
mov ecx, esi
mov byte [esp + 0x2fc], 1
call fcn.00401370
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0x70]
call fcn.00401900
push edi
lea esi, [esp + 0x18]
call fcn.00406740
add esp, 4
push 0xffffffffffffffff
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 0x404ebc
mov eax, dword [esp + 0x18]
push eax
call fcn.00446950
add esp, 4
push 0xd
mov eax, str.skinlogo.ico
lea ecx, [esp + 0x34]
call fcn.00401370
xor ecx, ecx
push 6
mov eax, str.xfplay
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 0x404f20
mov eax, dword [esp + 0x18]
push eax
call fcn.00446950
add esp, 4
cmp byte [ebp + 0x440], bl
je 0x4050da
push 0x208
lea edx, [esp + 0xe6]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0xec], cx
call fcn.0044a310
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
jmp 0x404f70
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x404f70
mov ecx, dword [0x46b464]
lea eax, [esp + 0xe0]
mov dword [edi], ecx
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x404f90
mov edx, dword [str.xfplay]
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 + 0xe4]
push edx
mov word [eax + 0xc], cx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [esp + 0xe0]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x404fe0
mov eax, dword [0x46b464]
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 0x405000
mov ecx, dword [str.xfplay]
mov edx, dword [0x46b768]
mov dword [eax], ecx
mov ecx, dword [0x46b76c]
mov dword [eax + 4], edx
mov dx, word [0x46b770]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0xe0]
add eax, 0xfffffffe
jmp 0x405040
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x405040
mov ecx, dword [str..lnk]
mov edx, dword [0x46ba34]
mov dword [eax], ecx
mov cx, word [0x46ba38]
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 0x405085
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 0x4050d5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446950
add esp, 4
mov edi, 8
xor edx, edx
mov ebp, 7
push 6
mov eax, str.xfplay
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 0x405127
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446950
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 0x405149
mov eax, dword [esp + 0x34]
push eax
call fcn.00446950
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.004468f0
add esp, 0x2e8
ret 4