Function at 0x40fd50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dd1a
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x43a00c]
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 0x4354f8
mov word [esi], ax
call fcn.0040c560
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 0x410056
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.00412c60
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 0x410012
lea eax, [ebp - 0x230]
mov dword [ebp - 0x234], 0
push eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x230], 0
push eax
push 0x434f10
push dword [ebp - 0x228]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x410012
cmp dword [ebp - 0x230], 0x34
jb 0x410012
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.004195c0
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.00412d80
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 0x40ff40
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.0040c560
mov esi, dword [ebp - 0x244]
lea eax, [ebp - 0x260]
cmp esi, eax
je 0x40ffd2
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40ffab
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40ffa1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4100aa
mov eax, edx
push ecx
push eax
call fcn.00417807
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 0x410012
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x410012
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410008
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4100aa
push edx
push ecx
call fcn.00417807
add esp, 8
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x410056
mov edx, dword [ebp - 0x220]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x41003e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4100af
push edx
push ecx
call fcn.00417807
add esp, 8
jmp 0x410056
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x41008c
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410082
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4100b4
push edx
push ecx
call fcn.00417807
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.004177f9
mov esp, ebp
pop ebp
ret
call fcn.0041af8c
call fcn.0041af8c
call fcn.0041af8c
int3