Function at 0x44bf20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46de16
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x1c], 0
je 0x44bf82
push str.GetFileVersion__:
lea ecx, [ebp - 0x30]
call fcn.00401ee0
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 2
call fcn.00466c70
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405260
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44c173
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040ffbe
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44c126
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x478274
mov eax, dword [ebp - 0x20]
push eax
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x44c0eb
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0040ffb3
add esp, 4
cmp dword [ebp + 0x1c], 0
je 0x44c0df
lea ecx, [ebp - 0x2c]
call fcn.004051c0
mov dword [ebp - 4], 1
push str.File_version:__1_u_._2_u_._3_u_._4_u_
lea ecx, [ebp - 0x28]
call fcn.00401ee0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401fc0
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004047f0
add esp, 0x18
push 0
lea edx, [ebp - 0x2c]
push edx
push 2
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov eax, 1
jmp 0x44c1ae
cmp dword [ebp + 0x1c], 0
je 0x44c124
push 0x478440
lea ecx, [ebp - 0x3c]
call fcn.00401ee0
mov dword [ebp - 4], 3
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405260
jmp 0x44c15f
cmp dword [ebp + 0x1c], 0
je 0x44c15f
push str.GetFileVersionInfo___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x40]
call fcn.00401ee0
mov dword [ebp - 4], 4
push 0
lea ecx, [ebp - 0x40]
push ecx
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405260
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.0040ffb3
add esp, 4
jmp 0x44c1ac
cmp dword [ebp + 0x1c], 0
je 0x44c1ac
push str.GetFileVersionInfoSize___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x48]
call fcn.00401ee0
mov dword [ebp - 4], 5
push 0
lea ecx, [ebp - 0x48]
push ecx
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00405260
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret