Function at 0x40f650
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44732f
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x45a5d0]
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 - 0xb8], ecx
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], 7
push eax
mov dword [ebp - 0x1c], 0
call fcn.00403910
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x450fe4
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00403d10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
push 1
xor eax, eax
mov dword [ebp - 0x30], 7
push 0x452dbc
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00403d10
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.0040b610
add esp, 4
cmp dword [ebp - 0x30], 8
jb 0x40f722
push dword [ebp - 0x44]
call fcn.0042cfae
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x40f74b
push dword [ebp - 0x5c]
call fcn.0042cfae
add esp, 4
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea ebx, [ebp - 0x2c]
cmp edi, 8
cmovae ecx, esi
cmovae edx, esi
cmovae ebx, esi
lea eax, [ecx + eax*2]
cmp edx, eax
je 0x40f787
push ecx
push ebx
push eax
lea ecx, [ebp - 0xc0]
call fcn.00408f30
mov edi, dword [ebp - 0x18]
add esp, 0xc
mov esi, dword [ebp - 0x2c]
push 3
push 0
push 0x452dc0
lea ecx, [ebp - 0x2c]
call fcn.0040bdd0
cmp eax, 0xffffffff
je 0x40f7a4
mov bl, 1
jmp 0x40fc52
xor eax, eax
mov dword [ebp - 0x84], 7
push eax
push 0x450fe4
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
call fcn.00403d10
mov ebx, dword [ebp - 0xb8]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
push dword [ebx + 0x38]
lea edx, [ebx + 8]
call fcn.00413f40
add esp, 4
lea ecx, [ebp - 0xb0]
add eax, 0xc
push eax
call fcn.00401fe0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x48], 8
jb 0x40f811
push dword [ebp - 0x5c]
call fcn.0042cfae
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
cmp dword [ebp - 0xa0], 3
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jbe 0x40f9a6
cmp dword [ebp - 0x9c], 8
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
push esi
call fcn.004199de
add esp, 4
lea ecx, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
mov ebx, eax
cmovae ecx, dword [ebp - 0xb0]
push ebx
push esi
push dword [ebp - 0xbc]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40f981
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0x450e88
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40f981
push 0x10
call fcn.004199de
mov esi, eax
add esp, 4
mov dword [ebp - 0xc8], esi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xb4]
push 0x1000
movzx eax, word [eax + 0xa]
mov dword [esi], eax
mov eax, dword [ebp - 0xb4]
movzx eax, word [eax + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xb4]
movzx eax, word [eax + 0xe]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xb4]
movzx eax, word [eax + 0xc]
mov dword [esi + 0xc], eax
call fcn.004199de
mov edi, eax
add esp, 4
mov dword [ebp - 0xc4], edi
push 0x800
push 0
push edi
mov byte [ebp - 4], 7
call fcn.0042ea30
add esp, 0xc
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push 0x452dc8
push 0x800
push edi
call fcn.0042e49d
add esp, 0x1c
lea ecx, [ebp - 0x98]
push edi
call fcn.00403070
test edi, edi
je 0x40f963
push edi
call fcn.0042d9ad
add esp, 4
push esi
mov byte [ebp - 4], 5
call fcn.0042d9ad
add esp, 4
push ebx
call fcn.0042d9ad
mov ebx, dword [ebp - 0xb8]
add esp, 4
jmp 0x40f9ba
push 0xffffffffffffffff
push 0
push 0x45fe88
lea ecx, [ebp - 0x98]
call fcn.00403910
push ebx
call fcn.0042d9ad
mov ebx, dword [ebp - 0xb8]
add esp, 4
jmp 0x40f9ba
push 0xffffffffffffffff
push 0
push 0x45fe70
lea ecx, [ebp - 0x98]
call fcn.00403910
xor eax, eax
mov dword [ebp - 0x6c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x80], ax
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x70], 0
push eax
call fcn.00403910
xor eax, eax
mov byte [ebp - 4], 8
push eax
push 0x450fe4
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00403d10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
push 1
xor eax, eax
mov dword [ebp - 0x30], 7
push 0x452dbc
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00403d10
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x80]
call fcn.0040b610
add esp, 4
cmp dword [ebp - 0x30], 8
jb 0x40fa54
push dword [ebp - 0x44]
call fcn.0042cfae
add esp, 4
xor eax, eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x40fa7d
push dword [ebp - 0x5c]
call fcn.0042cfae
add esp, 4
lea ecx, [ebx + 0x194]
lea eax, [ebp - 0x80]
cmp ecx, eax
je 0x40fa94
push 0xffffffffffffffff
push 0
push eax
call fcn.00403910
cmp byte [ebp + 8], 0
jne 0x40fbbd
push dword [ebp - 0x70]
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
push 0
cmovae eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040bdd0
cmp eax, 0xffffffff
jne 0x40fbbd
push ecx
push 0x452de0
lea ecx, [ebp - 0x2c]
call fcn.004102f0
cmp eax, 0xffffffff
jne 0x40fbbd
push 0x1000
call fcn.004199de
mov esi, eax
add esp, 4
mov dword [ebp - 0xc4], esi
push 0x800
push 0
push esi
mov byte [ebp - 4], 0xb
call fcn.0042ea30
add esp, 0xc
lea eax, [ebp - 0x98]
mov edx, 0x452de8
lea ecx, [ebp - 0x5c]
push eax
call fcn.00401300
cmp dword [0x45fe6c], 8
mov edx, 0x45fe58
cmovae edx, dword [0x45fe58]
sub esp, 0x14
movdqu xmm0, xmmword [eax]
mov ecx, esp
sub esp, 0x18
movdqu xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, esp
movq qword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [ebp + 0xc]
push edx
push 0x800
movdqu xmmword [eax], xmm0
push esi
movq xmm0, qword [ebp + 0x1c]
movq qword [eax + 0x10], xmm0
call fcn.0042e49d
add esp, 0x3c
lea ecx, [ebp - 0x5c]
call fcn.004037f0
push esi
lea ecx, [ebp - 0x5c]
call fcn.00403e10
cmp dword [0x45fd64], 8
lea eax, [ebp - 0x5c]
mov ecx, 0x45fd50
cmovae ecx, dword [0x45fd50]
cmp dword [ebp - 0x48], 8
push 0x34
cmovae eax, dword [ebp - 0x5c]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
lea ecx, [ebp - 0x5c]
sete bl
call fcn.004037f0
test esi, esi
je 0x40fbbf
push esi
call fcn.0042d9ad
add esp, 4
jmp 0x40fbbf
mov bl, 1
cmp dword [ebp - 0x6c], 8
jb 0x40fbd0
push dword [ebp - 0x80]
call fcn.0042cfae
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
cmp dword [ebp - 0x9c], 8
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
jb 0x40fbfb
push dword [ebp - 0xb0]
call fcn.0042cfae
add esp, 4
xor eax, eax
mov dword [ebp - 0x9c], 7
cmp dword [ebp - 0x84], 8
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], ax
jb 0x40fc2f
push dword [ebp - 0x98]
call fcn.0042cfae
add esp, 4
mov edi, dword [ebp - 0x18]
xor eax, eax
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
cmp edi, 8
jb 0x40fc60
push esi
call fcn.0042cfae
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x40fc85
push dword [ebp + 0xc]
call fcn.0042cfae
add esp, 4
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.0042cfb3
mov esp, ebp
pop ebp
ret 0x1c