Function at 0x454ce0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfd95
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x50b080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], edx
mov edi, ecx
cmp dword [edi + 0x14], 7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, edi
mov dword [ebp - 0x24], 0
jbe 0x454d33
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x454df5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00467d30
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x454d66
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, 0x4f3d08
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x33
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_calling_GetFileVersionInfoSize:
mov ecx, eax
call fcn.00411050
push esi
mov ecx, eax
call fcn.0041b670
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x40]
add esp, 4
cmp ecx, 7
jbe 0x454dee
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454de4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455058
push ecx
push edx
call fcn.004906cd
add esp, 8
xor al, al
jmp 0x45503c
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
lea ecx, [ebp - 0x20]
push ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00461210
mov esi, dword [ebp - 0x20]
push ebx
push 0
push esi
call fcn.00492970
lea eax, [esi + ebx]
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 7
jbe 0x454e46
mov edi, dword [edi]
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x24]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x454f06
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00467d30
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x454e7b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, 0x4f3d08
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x3c
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_calling_GetFileVersionInfo:
mov ecx, eax
call fcn.00411050
push esi
mov ecx, eax
call fcn.0041b670
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x40]
add esp, 4
cmp ecx, 7
jbe 0x454fd9
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454fcf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45505d
jmp 0x454fcf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
push eax
push 0x4f0d64
push dword [ebp - 0x20]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x454fdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x6c]
mov esi, eax
call fcn.00467d30
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x454f51
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50e6d0
call fcn.00412550
add esp, 4
mov edx, 0x4f3d08
mov ecx, eax
call fcn.00411050
mov edx, 0x4eb568
mov ecx, eax
call fcn.00411050
push 0x46
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_calling_VerQueryValue:
mov ecx, eax
call fcn.00411050
push esi
mov ecx, eax
call fcn.0041b670
push eax
call fcn.004113d0
mov ecx, dword [ebp - 0x58]
add esp, 4
cmp ecx, 7
jbe 0x454fd9
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454fcf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455062
push ecx
push edx
call fcn.004906cd
add esp, 8
xor bl, bl
jmp 0x45500a
mov ecx, dword [ebp - 0x2c]
mov bl, 1
mov edx, dword [ebp - 0x30]
movzx eax, word [ecx + 0xa]
mov word [edx], ax
movzx eax, word [ecx + 8]
mov edx, dword [ebp - 0x34]
mov word [edx], ax
movzx eax, word [ecx + 0xe]
mov edx, dword [ebp - 0x38]
mov word [edx], ax
movzx eax, word [ecx + 0xc]
mov ecx, dword [ebp - 0x3c]
mov word [ecx], ax
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x45503a
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x455030
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455067
push edx
push ecx
call fcn.004906cd
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00490396
mov esp, ebp
pop ebp
ret
call fcn.004958ff
call fcn.004958ff
call fcn.004958ff
call fcn.004958ff
int3