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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100382a0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10063b60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.10006fa0
mov dword [ebp - 4], 0
push str.0.0.0.0
lea ecx, [ebp - 0x10]
call fcn.10006fa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100032b0
test eax, eax
jle 0x10004d96
lea ecx, [ebp - 0x14]
call fcn.10002ef0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10004d96
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10004bf6
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10006950
mov ecx, dword [ebp - 0x54]
or ecx, 1
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10007040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10007040
mov eax, dword [ebp + 8]
jmp 0x10004dc9
mov edx, dword [ebp - 0x2c]
add edx, 1
push edx
call fcn.100130e8
add esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10004c4c
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10006950
mov edx, dword [ebp - 0x54]
or edx, 1
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10007040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10007040
mov eax, dword [ebp + 8]
jmp 0x10004dc9
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x10004cad
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.100130dd
add esp, 4
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.10006950
mov eax, dword [ebp - 0x54]
or eax, 1
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10007040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10007040
mov eax, dword [ebp + 8]
jmp 0x10004dc9
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x1005a1a4
mov eax, dword [ebp - 0x24]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x10004d11
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.100130dd
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10006950
mov ecx, dword [ebp - 0x54]
or ecx, 1
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10007040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10007040
mov eax, dword [ebp + 8]
jmp 0x10004dc9
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x28]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x28]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x34]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
push eax
call fcn.100130dd
add esp, 4
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
push str._d._d._d._d
lea edx, [ebp - 0x10]
push edx
call fcn.100068e0
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10006950
mov ecx, dword [ebp - 0x54]
or ecx, 1
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10007040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10007040
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8