Function at 0x467bf0
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d824b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5060c0]
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
xor edi, edi
lea eax, [ebp - 0x218]
push 0x208
push edi
push eax
mov dword [ebp - 0x230], edi
call fcn.004a4300
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], eax
call fcn.004050c0
mov ecx, eax
test ecx, ecx
je 0x467e56
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x21c]
call fcn.00404a20
test al, al
jne 0x467cc2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467ca0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00404cd0
mov dword [ebp - 4], 1
mov edx, 1
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x467cfa
push 0x104
lea ecx, [ebp - 0x21c]
call fcn.00404c30
mov eax, dword [ebp - 0x21c]
push str._system32Shell32.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x21c]
test eax, eax
jne 0x467d14
xor ecx, ecx
jmp 0x467d30
push dword [eax - 8]
push eax
call fcn.004aec96
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x467e4c
mov eax, dword [ebp - 0x21c]
cmp ecx, dword [eax - 8]
jg 0x467e4c
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x22c], edx
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
push ecx
push eax
mov dword [ebp - 0x228], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x467e09
push ebx
call fcn.004aee46
mov esi, eax
add esp, 4
test esi, esi
je 0x467e09
push esi
push ebx
push 0
push dword [ebp - 0x228]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x467ddb
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x4ee510
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x467ddb
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x22c], 1
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x230], eax
jmp 0x467ddd
xor ebx, ebx
push esi
call fcn.004a79e0
add esp, 4
cmp dword [ebp - 0x22c], 0
je 0x467e09
cmp ebx, 0x60002
jb 0x467e09
cmp dword [ebp - 0x230], 0x295a01c8
mov eax, 1
cmovae edi, eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x21c]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x467e2e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.004a2700
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00404ea0
push 0x80004005
call fcn.00404ea0
int3