Function at 0x462c9a
Capabilities:
Check if file exists
Get file version info

Disassembly:
push 0xb4
mov eax, 0x4ffd63
call fcn.004fb79e
mov edi, ecx
mov dword [ebp - 0x98], edi
xor ebx, ebx
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0x98], ebx
xor eax, eax
mov dword [ebp - 4], ebx
inc eax
push 0x28
mov byte [ebp - 4], al
call fcn.00478358
mov esi, eax
pop ecx
mov dword [ebp - 0xc0], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x4c], ebx
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWildTangentHelper
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.00455536
xor eax, eax
mov byte [ebp - 4], 3
inc eax
mov ecx, esi
push ebx
push eax
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004afeed
cmp dword [ebp - 0x98], eax
je 0x462d4a
test eax, eax
je 0x462d29
lock inc dword [eax + 4]
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x98], eax
test ecx, ecx
je 0x462d4a
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x462d4a
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x48]
mov esi, 0x1000
cmp eax, 8
jb 0x462d9b
mov ecx, dword [ebp - 0x5c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
cmp eax, esi
jb 0x462d92
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00455f19
mov eax, dword [ebp - 0x94]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x90]
push eax
push ecx
call fcn.0047834a
pop ecx
pop ecx
push 7
mov dword [ebp - 4], ebx
xor ecx, ecx
pop eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x74]
push 0x548a50
mov dword [ebp - 0x64], ebx
mov word [ebp - 0x74], ax
call fcn.00455536
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x34], ebx
push str.ImagePath
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00455536
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x90]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004b0426
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x462e2d
mov byte [ebp - 0x90], bl
push dword [ebp - 0x90]
push eax
call fcn.00458734
lea ecx, [ebp - 0x8c]
call fcn.00455d7e
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x462e84
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], ecx
cmp eax, esi
jb 0x462e7b
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00455f19
mov eax, dword [ebp - 0x90]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x94]
push eax
push ecx
call fcn.0047834a
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], 7
cmp eax, 8
jb 0x462ee0
mov ecx, dword [ebp - 0x74]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], ecx
cmp eax, esi
jb 0x462ed7
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00455f19
mov eax, dword [ebp - 0x90]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x94]
push eax
push ecx
call fcn.0047834a
pop ecx
pop ecx
mov dword [ebp - 4], 6
cmp dword [ebp - 0x1c], 0
jne 0x462f13
push str.NoImagePath
mov ecx, edi
call fcn.00455432
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4631e3
lea eax, [eax*2 + 2]
cmp eax, esi
jmp 0x463122
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x22
cmovae eax, dword [ebp - 0x2c]
pop ecx
cmp word [eax], cx
jne 0x462f4c
xor eax, eax
lea ecx, [ebp - 0x2c]
inc eax
push eax
push ebx
call fcn.00464147
push ebx
push 0x22
lea ecx, [ebp - 0x2c]
call fcn.0045d204
cmp eax, 0xffffffff
je 0x462f4c
push eax
lea ecx, [ebp - 0x2c]
call fcn.0045d244
cmp dword [ebp - 0x1c], 0
jne 0x462f59
push str.EmptyPath
jmp 0x462ef2
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x462f79
push str.PathNotFound
jmp 0x462ef2
lea ecx, [ebp - 0x2c]
call fcn.004ad51b
test al, al
jne 0x462f8f
push str.NotAFile
jmp 0x462ef2
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xb8], ebx
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x462fc2
push str.GetVersionInfoSizeFailed
jmp 0x462ef2
lea ecx, [ebp - 0x99]
mov byte [ebp - 0x99], bl
push ecx
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
call fcn.00464599
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0xac]
cmp dword [ebp - 0x18], 8
push esi
push dword [ebp - 0x90]
cmovae eax, dword [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x46301f
push str.GetVersionInfoFailed
jmp 0x4630ba
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb0], ebx
push eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xbc], ebx
push eax
push 0x548a84
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x463050
push str.QueryValueFailed
jmp 0x4630ba
mov eax, dword [ebp - 0xb0]
movzx edx, word [eax + 0x16]
movzx ecx, word [eax + 0x12]
mov dword [ebp - 0x90], edx
movzx edx, word [eax + 0x14]
mov dword [ebp - 0x94], edx
xor edx, edx
inc edx
cmp cx, dx
movzx edx, word [eax + 0x10]
jae 0x463081
push str.MajorVersion
jmp 0x4630ba
xor eax, eax
inc eax
cmp cx, ax
jne 0x463162
test dx, dx
jne 0x463162
cmp word [ebp - 0x90], dx
jne 0x463162
mov eax, 0x162
cmp word [ebp - 0x94], ax
jae 0x463162
push str.MinorVersion
mov ecx, edi
call fcn.00455432
test esi, esi
je 0x46310a
mov eax, dword [ebp - 0xa4]
sub eax, esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], eax
cmp eax, 0x1000
jb 0x463101
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00455f19
mov eax, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
pop ecx
pop ecx
push eax
push esi
call fcn.0047834a
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4631e3
lea eax, [eax*2 + 2]
cmp eax, 0x1000
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], eax
jb 0x463154
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00455f19
mov eax, dword [ebp - 0x90]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x94]
push eax
push ecx
call fcn.0047834a
pop ecx
pop ecx
jmp 0x4631e3
xor eax, eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
mov word [edi], ax
jmp 0x4630c1
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00455367
mov eax, edi
jmp 0x463229
call fcn.004fb6eb
ret