Function at 0x473720
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73c771
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x274
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push 0x24
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x473796
xor al, al
jmp 0x473a49
xor eax, eax
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4737c0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.0044bdc0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
push 0xd
push str.9.29.952.3111
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
call fcn.0044bdc0
mov byte [ebp - 4], 2
call fcn.00461ac0
lea ecx, [ebp - 0x268]
push 9
test al, al
je 0x47384f
push str.SysWOW64
jmp 0x473854
push 0x7e7fb4
call fcn.00460700
push str.D3DX9_43.dll
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x280]
call fcn.0045b670
mov esi, eax
add esp, 4
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x4738af
mov ecx, eax
call fcn.0044bf40
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x228], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x280]
call fcn.0044bf40
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
cmovae ecx, dword [ebp - 0x238]
call fcn.00461b90
test al, al
je 0x473a1b
cmp dword [ebp - 0x23c], 8
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x238]
cmovae edx, dword [ebp - 0x250]
cmp dword [ebp - 0x224], 8
cmovae ecx, dword [ebp - 0x238]
call fcn.00461e90
test al, al
je 0x473a1b
push str.d3dx10_43.dll
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x280]
call fcn.0045b670
add esp, 4
lea ecx, [ebp - 0x238]
push eax
call fcn.004608a0
lea ecx, [ebp - 0x280]
call fcn.0044bf40
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
cmovae ecx, dword [ebp - 0x238]
call fcn.00461b90
test al, al
je 0x473a1b
cmp dword [ebp - 0x23c], 8
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x238]
cmovae edx, dword [ebp - 0x250]
cmp dword [ebp - 0x224], 8
cmovae ecx, dword [ebp - 0x238]
call fcn.00461e90
test al, al
je 0x473a1b
push str.d3dx11_43.dll
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x280]
call fcn.0045b670
add esp, 4
lea ecx, [ebp - 0x238]
push eax
call fcn.004608a0
lea ecx, [ebp - 0x280]
call fcn.0044bf40
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
cmovae ecx, dword [ebp - 0x238]
call fcn.00461b90
test al, al
je 0x473a1b
cmp dword [ebp - 0x23c], 8
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x238]
cmovae edx, dword [ebp - 0x250]
cmp dword [ebp - 0x224], 8
cmovae ecx, dword [ebp - 0x238]
call fcn.00461e90
mov byte [ebp - 0x281], 1
test al, al
jne 0x473a22
mov byte [ebp - 0x281], 0
lea ecx, [ebp - 0x250]
call fcn.0044bf40
lea ecx, [ebp - 0x238]
call fcn.0044bf40
lea ecx, [ebp - 0x268]
call fcn.0044bf40
mov al, byte [ebp - 0x281]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret