Function at 0x44a6b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b82bb
mov eax, dword fs:[0]
push eax
sub esp, 0xafc
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0xb04], esi
call fcn.0046d4f0
test eax, eax
je 0x44a76d
push 0
push str.CInstallDirectX_::_InstallDirectX_n
push 0x675db0
call fcn.00599ee3
mov eax, dword [str.ENTRY:]
mov ecx, dword [0x5ccf7c]
mov dword [0x675cb0], eax
mov eax, 0x675db0
mov dword [0x675cb4], ecx
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44a723
mov edi, 0x675cb0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44a734
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d500
push 0x675cb0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov esi, dword [ebp - 0xb04]
mov dword [ebp - 0xb08], 1
call fcn.004a8620
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x44a793
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xb04], eax
mov dword [ebx], esi
mov dword [ebp - 4], edi
cmp dword [esi + 0xd64], edi
je 0x44a901
mov ecx, ebx
call fcn.00449ea0
cmp eax, 2
je 0x44a901
lea ecx, [ebp - 0xb04]
push ecx
mov ecx, ebx
mov dword [ebp - 0xb08], edi
call fcn.0044a1e0
test eax, eax
je 0x44a8af
lea edx, [ebp - 0xafc]
push edx
call fcn.0059b8fc
add esp, 4
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
movzx ecx, word [ebp - 0xaf4]
mov edx, dword [ebp - 0xaf8]
mov eax, dword [ebp - 0xafc]
push ecx
push edx
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x114]
push str._sDX_x_x
push edx
call fcn.00599ee3
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x31c]
push str._Q__T:_s
push ecx
call fcn.00599ee3
mov eax, dword [ebp - 0xb04]
add esp, 0x24
push edi
push 1
push edi
push edi
push edi
push 1
lea edx, [ebp - 0x31c]
push edx
push eax
lea ecx, [ebp - 0xafd]
call fcn.00430630
test eax, eax
je 0x44a901
push edi
push 1
push edi
push edi
push edi
push 1
push str._silent
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0xafd]
call fcn.00430630
test eax, eax
je 0x44a901
mov ecx, ebx
call fcn.00449ea0
xor edx, edx
cmp eax, 2
sete dl
mov dword [ebp - 0xb08], edx
jmp 0x44a901
mov ecx, dword [esi + 0xcd4]
push 0x3e8
lea eax, [ebp - 0xaec]
push eax
push 0x1f
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [ebx]
mov eax, dword [edx + 0xd68]
push eax
lea ecx, [ebp - 0x704]
push str.Installation_of_application_is_aborted._Please_install.DIRECTX__d_or_higher_prior_to_installing_application.
push ecx
call fcn.00599ee3
add esp, 0xc
push 0x40010
lea edx, [ebp - 0xaec]
push edx
lea eax, [ebp - 0x704]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.0046d4f0
test eax, eax
je 0x44a984
mov ecx, dword [ebp - 0xb08]
push ecx
push str.CInstallDirectX_::_InstallDirectX_:_bRetVal___d_n
push 0x675bb0
call fcn.00599ee3
mov eax, dword [0x5ccefc]
mov edx, dword [str.EXIT:]
mov dword [0x675ab4], eax
mov eax, 0x675bb0
add esp, 0xc
mov dword [0x675ab0], edx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44a940
mov edi, 0x675ab0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44a951
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x675ab0
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
mov eax, dword [ebp - 0xb04]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a9ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xb08]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 4