Function at 0x408910
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459900
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x4724e4]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], 0
mov dword [ebp - 4], 0
push 0x460c1b
lea ecx, [ebp - 0x1c]
call fcn.00402580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402bb0
lea ecx, [ebp + 0xc]
call fcn.00402c20
test eax, eax
jne 0x4089b5
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004033a0
mov ecx, dword [ebp - 0x110]
or ecx, 1
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00403140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00403140
mov eax, dword [ebp + 8]
jmp 0x408c03
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp + 0xc]
call fcn.00412a00
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x408a0e
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004033a0
mov ecx, dword [ebp - 0x110]
or ecx, 1
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00403140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00403140
mov eax, dword [ebp + 8]
jmp 0x408c03
mov edx, dword [ebp - 0x10]
push edx
call fcn.00424bd5
add esp, 4
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
lea ecx, [ebp + 0xc]
call fcn.00412a00
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x408a9b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
push ecx
call fcn.00424be0
add esp, 4
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004033a0
mov eax, dword [ebp - 0x110]
or eax, 1
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00403140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00403140
mov eax, dword [ebp + 8]
jmp 0x408c03
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0x464fd0
mov eax, dword [ebp - 0x18]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x408b12
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
push edx
call fcn.00424be0
add esp, 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004033a0
mov ecx, dword [ebp - 0x110]
or ecx, 1
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00403140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00403140
mov eax, dword [ebp + 8]
jmp 0x408c03
mov dword [ebp - 0x28], 0
jmp 0x408b24
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x20]
shr eax, 2
cmp dword [ebp - 0x28], eax
jae 0x408b8e
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + ecx*4 + 2]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + ecx*4]
push eax
push 0x464fec
lea ecx, [ebp - 0xfc]
push ecx
call fcn.00442e8c
add esp, 0x10
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408f80
jmp 0x408b1b
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x10c]
push edx
call fcn.00424be0
add esp, 4
push 0x460c2b
push 0x465014
lea ecx, [ebp - 0x1c]
call fcn.00409120
push 0x465018
push 0x46501c
lea ecx, [ebp - 0x1c]
call fcn.00409120
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004033a0
mov ecx, dword [ebp - 0x110]
or ecx, 1
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00403140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00403140
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.00441f6e
mov esp, ebp
pop ebp
ret 8