Function at 0x409be0
Capabilities:
Get file version info

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e609d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x68f500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x40], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x48], esi
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x409c38
mov ecx, dword [eax]
push 0
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x409e29
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp edi, 0x7fffffff
ja 0x409e6b
cmp edi, 0x1000
jb 0x409cac
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x409e70
push eax
call fcn.005ab6c6
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x409e7a
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x409cb5
push edi
call fcn.005ab6c6
add esp, 4
push edi
lea esi, [eax + edi]
mov dword [ebp - 0x20], eax
push 0
push eax
mov dword [ebp - 0x18], esi
call fcn.005adb30
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x14], 7
jbe 0x409cdf
mov eax, dword [eax]
push dword [ebp - 0x20]
push edi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x409dda
lea eax, [ebp - 0x24]
mov dword [ebp - 0x40], 0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x24], 0x34
push eax
push 0x66c1a8
push dword [ebp - 0x20]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x409dda
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
mov dword [ebp - 0x4c], eax
shr ecx, 0x10
mov eax, ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x50], eax
movzx eax, dx
mov dword [ebp - 0x54], eax
shr edx, 0x10
mov eax, edx
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
push 0xb
push str....
call fcn.0040c110
mov esi, dword [ebp - 0x44]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x20]
add esp, 0x14
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x3c]
mov byte [ebp - 0x3c], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
test edx, edx
je 0x409e4b
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x409dce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e75
push ecx
push edx
call fcn.005abc35
add esp, 8
jmp 0x409e4b
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x409e26
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x409e07
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e7a
push edx
push ecx
call fcn.005abc35
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov esi, dword [ebp - 0x44]
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x66b9cd
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004057a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005ab3d6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040ccf0
call fcn.004020e0
call fcn.005b209a
call fcn.005b209a
int3