Function at 0x44eb30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6697bb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x718924]
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 eax, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e30c0
add esp, 0xc
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x224], 0
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x674598
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004e6696
add esp, 0xc
call fcn.0044ea80
mov esi, eax
cmp dword [esi + 0xc], 0
jne 0x44ebe3
mov ecx, esi
call fcn.0044e580
test eax, eax
je 0x44ebe3
push str.GetFileVersionInfoSizeW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x44ed7f
push 0
lea ecx, [ebp - 0x218]
push ecx
call eax
mov edi, eax
test edi, edi
je 0x44ed7f
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
cmp edi, 0x7fffffff
ja 0x44eda0
cmp edi, 0x1000
jb 0x44ec5c
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x44eda5
push eax
call fcn.004cb4ab
add esp, 4
test eax, eax
je 0x44edaa
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x44ec67
push edi
call fcn.004cb4ab
add esp, 4
mov esi, eax
push edi
push 0
lea ebx, [esi + edi]
mov dword [ebp - 0x234], esi
push esi
mov dword [ebp - 0x22c], ebx
call fcn.004e30c0
add esp, 0xc
mov dword [ebp - 0x230], ebx
mov dword [ebp - 4], 0
test esi, esi
je 0x44ed4c
call fcn.0044ea80
mov dword [ebp - 0x21c], eax
cmp dword [eax + 8], 0
jne 0x44ecce
mov ecx, eax
call fcn.0044e580
test eax, eax
je 0x44ecc8
push str.GetFileVersionInfoW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x21c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax + 8]
test eax, eax
je 0x44ed4c
push esi
push edi
push 0
lea ecx, [ebp - 0x218]
push ecx
call eax
test eax, eax
je 0x44ed4c
call fcn.0044ea80
mov edi, eax
cmp dword [edi + 4], 0
jne 0x44ed0d
mov ecx, edi
call fcn.0044e580
test eax, eax
je 0x44ed0d
push str.VerQueryValueW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x44ed4c
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x220]
push ecx
push str.SMD
push esi
call eax
test eax, eax
je 0x44ed4c
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x44ed4c
cmp word [eax + 0x12], 0xa
mov ecx, dword [ebp - 0x228]
setae al
xor edi, edi
mov byte [ecx], al
jmp 0x44ed51
mov edi, 0x80004005
test esi, esi
je 0x44ed7b
sub ebx, esi
cmp ebx, 0x1000
jb 0x44ed71
mov ecx, dword [esi - 4]
add ebx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x44edaa
mov esi, ecx
push ebx
push esi
call fcn.004cb4db
add esp, 8
mov eax, edi
jmp 0x44ed84
mov eax, 0x80004005
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.004cb998
mov esp, ebp
pop ebp
ret
call fcn.0044e280
call fcn.0044e250
call fcn.004e6589
int3