Function at 0x449fa0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4abe80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [ebp]
sub eax, 0x10
call fcn.0040a331
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x40]
mov edi, 1
cmp dword [eax - 4], edi
jle 0x44a00c
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00403c16
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x44a1df
push esi
lea eax, [esp + 0x18]
push eax
call fcn.0044cc40
test al, al
jne 0x44a066
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a054
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x44a20c
mov eax, dword [esp + 0x40]
cmp dword [eax - 4], edi
jle 0x44a081
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00403c16
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push edi
push esi
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44a1dd
mov edx, dword [0x4e799c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e799c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 5
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44a0f3
cmp dword [esp + 0x20], ebx
je 0x44a0f3
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push 0x4be144
push ecx
push edx
push str.StringFileInfo_04x_04x_s
lea eax, [esp + 0x28]
push eax
jmp 0x44a10c
push 0x4be144
push 0x4e2
push 0x409
push str.StringFileInfo_04x_04x_s
lea ecx, [esp + 0x28]
push ecx
call fcn.004399be
mov eax, dword [esp + 0x2c]
add esp, 0x14
cmp dword [eax - 4], 1
jle 0x44a130
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00403c16
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44a189
cmp dword [esp + 0x28], ebx
je 0x44a189
mov eax, dword [esp + 0x2c]
push eax
push ebp
call fcn.0040a77c
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x18]
call fcn.00403d84
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00403d84
mov dword [esp + 0x38], 0xffffffff
push edi
call fcn.00489beb
add esp, 4
mov al, 1
jmp 0x44a216
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a1ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a1d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
push edi
jmp 0x44a20c
jmp 0x44a1ae
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a203
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
push ebx
call fcn.00489beb
add esp, 4
xor al, al
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret