Function at 0x454940
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2ab5
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4de080]
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 0x454993
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 0x454a55
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00467c30
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x4549c6
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e14e8
call fcn.00412510
add esp, 4
mov edx, 0x4c9b58
mov ecx, eax
call fcn.00411040
mov edx, 0x4c14f8
mov ecx, eax
call fcn.00411040
push 0x32
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_calling_GetFileVersionInfoSize:
mov ecx, eax
call fcn.00411040
push esi
mov ecx, eax
call fcn.0041b4e0
push eax
call fcn.004113c0
mov ecx, dword [ebp - 0x40]
add esp, 4
cmp ecx, 7
jbe 0x454a4e
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454a44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454cb8
push ecx
push edx
call fcn.0048355d
add esp, 8
xor al, al
jmp 0x454c9c
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.00461030
mov esi, dword [ebp - 0x20]
push ebx
push 0
push esi
call fcn.00485800
lea eax, [esi + ebx]
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 7
jbe 0x454aa6
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 0x454b66
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00467c30
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x454adb
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e14e8
call fcn.00412510
add esp, 4
mov edx, 0x4c9b58
mov ecx, eax
call fcn.00411040
mov edx, 0x4c14f8
mov ecx, eax
call fcn.00411040
push 0x3b
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_calling_GetFileVersionInfo:
mov ecx, eax
call fcn.00411040
push esi
mov ecx, eax
call fcn.0041b4e0
push eax
call fcn.004113c0
mov ecx, dword [ebp - 0x40]
add esp, 4
cmp ecx, 7
jbe 0x454c39
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454c2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454cbd
jmp 0x454c2f
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
push eax
push 0x4c6bb4
push dword [ebp - 0x20]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x454c3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x6c]
mov esi, eax
call fcn.00467c30
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x454bb1
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e14e8
call fcn.00412510
add esp, 4
mov edx, 0x4c9b58
mov ecx, eax
call fcn.00411040
mov edx, 0x4c14f8
mov ecx, eax
call fcn.00411040
push 0x45
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error_calling_VerQueryValue:
mov ecx, eax
call fcn.00411040
push esi
mov ecx, eax
call fcn.0041b4e0
push eax
call fcn.004113c0
mov ecx, dword [ebp - 0x58]
add esp, 4
cmp ecx, 7
jbe 0x454c39
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454c2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454cc2
push ecx
push edx
call fcn.0048355d
add esp, 8
xor bl, bl
jmp 0x454c6a
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 0x454c9a
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x454c90
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454cc7
push edx
push ecx
call fcn.0048355d
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.00483226
mov esp, ebp
pop ebp
ret
call fcn.0048878f
call fcn.0048878f
call fcn.0048878f
call fcn.0048878f
int3