Function at 0x10034530
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 8]
call fcn.10003d90
test eax, eax
je 0x10034571
mov ecx, dword [ebp + 0xc]
call fcn.10003d90
test eax, eax
jne 0x10034576
jmp 0x100346d5
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.1001a810
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10034597
jmp 0x100346d5
push 0x101825f5
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.1005396e
add esp, 8
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x100345bc
jmp 0x100346d5
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0xc]
call fcn.1001a810
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x100345ec
jmp 0x100346d5
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x1003460c
jmp 0x100346d5
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
and eax, 0xffff
movzx ecx, ax
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + eax]
and eax, 0xffff
movzx edx, ax
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x1c], 0
jne 0x1003465d
jmp 0x100346d5
push 0x101825f5
push 0x100
call fcn.1005396e
add esp, 8
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jne 0x10034680
jmp 0x100346d5
mov ecx, dword [ebp + 8]
call fcn.1001a810
push eax
mov edx, dword [ebp - 0x28]
push edx
push str.StringFileInfo_08lx_s
push 0x80
mov eax, dword [ebp - 0x20]
push eax
call fcn.10032ee0
add esp, 0x14
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x100346c9
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.1001a850
mov byte [ebp - 0x15], 1
xor eax, eax
jne 0x10034559
cmp dword [ebp - 0x1c], 0
je 0x10034710
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1005320b
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x100346fc
mov dword [ebp - 0x44], 0
jmp 0x10034709
mov dword [ebp - 0x1c], 0x8123
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x20], 0
je 0x1003474b
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.1005320b
add esp, 4
cmp dword [ebp - 0x30], 0
jne 0x10034737
mov dword [ebp - 0x48], 0
jmp 0x10034744
mov dword [ebp - 0x20], 0x8123
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x20], 0
movzx eax, byte [ebp - 0x15]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret