Function at 0x1007dfc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101018e9
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x148
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x38], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x28], 0x10135b88
mov dword [ebp - 0x1c], 0x43297
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0x103
cmp dword [ebp + 8], 0
je 0x1007e043
cmp dword [ebp + 0xc], 8
jae 0x1007e04d
mov eax, 0x800432b1
jmp 0x1007e20c
push 0x104
push 0
lea eax, [ebp - 0x140]
push eax
call fcn.100cac20
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x28]
push ecx
push 0x104
lea edx, [ebp - 0x140]
push edx
call fcn.10003fa0
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x140]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x1007e209
mov edx, dword [ebp - 0x18]
push edx
call fcn.100aaab5
add esp, 4
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jne 0x1007e0cb
mov eax, 0x80043298
jmp 0x1007e20c
mov ecx, dword [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x140]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1007e1b7
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x14c]
push eax
push 0x10135b98
mov ecx, dword [ebp - 0x144]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [ebp - 0x14c]
mov eax, dword [edx + 8]
and eax, 0xffff0000
shr eax, 0x10
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ecx + 8]
and edx, 0xffff
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff0000
shr ecx, 0x10
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x14c]
mov eax, dword [edx + 0xc]
and eax, 0xffff
mov dword [ebp - 0x20], eax
push 0x104
push 0
lea ecx, [ebp - 0x140]
push ecx
call fcn.100cac20
add esp, 0xc
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 0x10135b9c
lea eax, [ebp - 0x140]
push eax
call fcn.100cd213
add esp, 0x18
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10003fa0
add esp, 0x10
mov dword [ebp - 0x1c], 0x43297
jmp 0x1007e1be
mov dword [ebp - 0x1c], 0x80043298
mov dword [ebp - 4], 0
cmp dword [ebp - 0x144], 0
je 0x1007e1f3
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x154]
push eax
call fcn.100aaaba
add esp, 4
mov dword [ebp - 0x144], 0
jmp 0x1007e202
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 8