Function at 0x40e880
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ba8a
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x43800c]
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 - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x23c], 0
xor eax, eax
mov dword [ebp - 4], 1
push eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0x4335d8
mov word [esi], ax
call fcn.00409f20
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x22c]
lea eax, [ebp + 8]
mov dword [ebp - 0x23c], 1
cmovae eax, dword [ebp + 8]
push ecx
push eax
mov dword [ebp - 0x22c], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x40eb86
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
movq qword [ebp - 0x228], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
push ecx
push edi
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 3
call fcn.004118c0
push dword [ebp - 0x228]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push edi
push dword [ebp - 0x22c]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40eb42
lea eax, [ebp - 0x230]
mov dword [ebp - 0x234], 0
push eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x230], 0
push eax
push 0x433214
push dword [ebp - 0x228]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40eb42
cmp dword [ebp - 0x230], 0x34
jb 0x40eb42
mov eax, dword [ebp - 0x234]
push 0x208
push 0
movzx ecx, word [eax + 0x12]
movzx edi, word [eax + 0x16]
movzx esi, word [eax + 0x14]
mov dword [ebp - 0x238], ecx
movzx ecx, word [eax + 0x10]
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x240], ecx
call fcn.00417e70
mov eax, dword [ebp - 0x240]
push esi
push edi
movzx eax, ax
push eax
mov eax, dword [ebp - 0x238]
movzx eax, ax
push eax
push str._d._d._d._d
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00411c70
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x260], 0
add esp, 0x28
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ea70
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.00409f20
mov esi, dword [ebp - 0x244]
lea eax, [ebp - 0x260]
cmp esi, eax
je 0x40eb02
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40eadb
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40ead1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ebda
mov eax, edx
push ecx
push eax
call fcn.004165af
add esp, 8
movups xmm0, xmmword [ebp - 0x260]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x250]
movq qword [esi + 0x10], xmm0
jmp 0x40eb42
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x40eb42
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eb38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ebda
push edx
push ecx
call fcn.004165af
add esp, 8
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x40eb86
mov edx, dword [ebp - 0x220]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40eb6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ebdf
push edx
push ecx
call fcn.004165af
add esp, 8
jmp 0x40eb86
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x40ebbc
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ebb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ebe4
push edx
push ecx
call fcn.004165af
add esp, 8
mov eax, esi
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.004165a1
mov esp, ebp
pop ebp
ret
call fcn.00419a7c
call fcn.00419a7c
call fcn.00419a7c
int3