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

Disassembly:
push 0xffffffffffffffff
push 0x45e257
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 edi, ecx
lea ecx, [esp + 0x4c]
call sym.Install.exe_public:_void___thiscall_CShortcut::constructor_void_
lea eax, [edi + 0x420]
xor ebx, ebx
push eax
lea esi, [esp + 0x34]
mov dword [esp + 0x2fc], ebx
call fcn.004066f0
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
xor ecx, ecx
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], cx
call fcn.00401510
push 0x19
mov edx, esi
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x300], 2
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], 8
jb 0x404eec
mov eax, dword [esp + 0x18]
push eax
call fcn.00446900
add esp, 4
cmp byte [edi + 0x440], bl
je 0x405091
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 0x404f34
mov ecx, dword [0x46b464]
lea eax, [esp + 0xe0]
mov dword [edi], ecx
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x404f52
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 esp, [esp]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x404fa0
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 0x404fc0
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 0x405000
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x405000
mov ecx, dword [str..lnk]
mov edx, dword [0x46ba60]
mov dword [eax], ecx
mov cx, word [0x46ba64]
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], ebp
mov dword [esp + 0x28], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405041
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], 3
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 0x405091
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00446900
add esp, 4
xor edx, edx
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], 4
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 0x4050de
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], esi
jb 0x405100
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