Function at 0x43c760
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 8]
call fcn.00406b40
test eax, eax
je 0x43c7a1
mov ecx, dword [ebp + 0xc]
call fcn.00406b40
test eax, eax
jne 0x43c7a6
jmp 0x43c8f9
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00406720
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x43c7c7
jmp 0x43c8f9
push 0x64dcd4
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0058a113
add esp, 8
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x43c7ec
jmp 0x43c8f9
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00406720
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x43c810
jmp 0x43c8f9
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push str.VarFileInfoTranslation
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x43c830
jmp 0x43c8f9
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
and ecx, 0xffff
movzx edx, cx
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + ecx]
and ecx, 0xffff
movzx eax, cx
and eax, 0xffff
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x1c], 0
jne 0x43c881
jmp 0x43c8f9
push 0x64dcd4
push 0x80
call fcn.0058a113
add esp, 8
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
jne 0x43c8a4
jmp 0x43c8f9
mov ecx, dword [ebp + 8]
call fcn.00406720
push eax
mov eax, dword [ebp - 0x2c]
push eax
push str.StringFileInfo_08lx_s
push 0x80
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00588d6c
add esp, 0x14
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x43c8ed
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00408b30
mov byte [ebp - 0x15], 1
xor ecx, ecx
jne 0x43c789
cmp dword [ebp - 0x1c], 0
je 0x43c934
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0046055b
add esp, 4
cmp dword [ebp - 0x30], 0
jne 0x43c920
mov dword [ebp - 0x38], 0
jmp 0x43c92d
mov dword [ebp - 0x1c], 0x8123
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x20], 0
je 0x43c96f
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.0046055b
add esp, 4
cmp dword [ebp - 0x28], 0
jne 0x43c95b
mov dword [ebp - 0x40], 0
jmp 0x43c968
mov dword [ebp - 0x20], 0x8123
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x20], 0
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058846b
mov esp, ebp
pop ebp
ret