Function at 0x4068f0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4387f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.0042363d
mov esi, dword [esi + 4]
push 3
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x448778
mov dword [esp + 0x90], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
call fcn.004237f6
mov ecx, esi
call fcn.00407250
mov ebp, dword [esp + 0x8c]
lea eax, [esp + 0x1c]
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
je 0x406a39
push edi
lea ecx, [esp + 0x14]
call fcn.00423b7a
mov ecx, dword [esp + 0x1c]
push eax
push edi
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
mov ebx, eax
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.00423bc9
test ebx, ebx
je 0x406a39
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
push 0x448774
push edi
lea ecx, [esp + 0x20]
call fcn.00423b7a
push eax
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.0040df00
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov edx, ecx
add esp, 0xc
mov ebx, eax
mov dword [esp + 0x3c], ecx
shr edx, 0x10
and ecx, 0xffff
mov dword [esp + 0x38], edx
shr ebx, 0x10
push ecx
mov dword [esp + 0x34], eax
and edx, 0xffff
mov ecx, ebx
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
push ebp
lea edx, [esp + 0x24]
push 0x448758
push edx
call fcn.0041dd22
add esp, 0x1c
lea eax, [esp + 0x10]
push 3
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.0042364d
mov ecx, esi
call fcn.00407250
jmp 0x406a40
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x90]
lea ecx, [esp + 0x1c]
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x406b34
push edi
lea ecx, [esp + 0x14]
call fcn.00423b7a
mov edx, dword [esp + 0x1c]
push eax
push edi
push edx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
mov ebp, eax
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebp
call fcn.00423bc9
test ebp, ebp
je 0x406b34
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0x448774
push edi
lea ecx, [esp + 0x20]
call fcn.00423b7a
push eax
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.0040df00
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov ebp, ecx
add esp, 0xc
shr ebp, 0x10
mov dword [esp + 0x40], ecx
mov edx, ebp
and ecx, 0xffff
mov edi, eax
mov dword [esp + 0x34], eax
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x94]
and eax, 0xffff
push edx
shr edi, 0x10
push eax
mov eax, edi
and eax, 0xffff
lea edx, [esp + 0x1c]
push eax
push ecx
push 0x448758
push edx
call fcn.0041dd22
add esp, 0x1c
lea eax, [esp + 0x10]
push 3
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.0042364d
mov ecx, esi
call fcn.00407250
jmp 0x406b42
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0x90]
push 0x448730
lea ecx, [esp + 0x18]
call fcn.004237f6
push 0x448704
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 1
call fcn.004237f6
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x84], 2
test eax, eax
je 0x406dca
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x406dc6
cmp bx, di
jae 0x406be5
push 3
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x98], esp
push edx
call fcn.0042364d
mov ecx, esi
call fcn.00407250
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call fcn.00423788
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0
call fcn.00423788
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], 0xffffffff
call fcn.00423788
xor eax, eax
jmp 0x406e7b
jbe 0x406bfd
push 3
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x98], esp
push eax
jmp 0x406e34
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp cx, ax
jae 0x406c64
push 3
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x98], esp
push edx
call fcn.0042364d
mov ecx, esi
call fcn.00407250
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call fcn.00423788
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0
call fcn.00423788
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], 0xffffffff
call fcn.00423788
xor eax, eax
jmp 0x406e7b
jbe 0x406c7c
push 3
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x98], esp
push eax
jmp 0x406e34
mov eax, dword [esp + 0x38]
cmp ax, bp
jae 0x406cdf
push 3
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x98], esp
push edx
call fcn.0042364d
mov ecx, esi
call fcn.00407250
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call fcn.00423788
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0
call fcn.00423788
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], 0xffffffff
call fcn.00423788
xor eax, eax
jmp 0x406e7b
jbe 0x406cf7
push 3
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x98], esp
push eax
jmp 0x406e34
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push 3
push ecx
cmp cx, ax
mov ecx, esp
jae 0x406d5e
lea edx, [esp + 0x1c]
mov dword [esp + 0x98], esp
push edx
call fcn.0042364d
mov ecx, esi
call fcn.00407250
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call fcn.00423788
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0
call fcn.00423788
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], 0xffffffff
call fcn.00423788
xor eax, eax
jmp 0x406e7b
jbe 0x406d71
lea eax, [esp + 0x20]
mov dword [esp + 0x98], esp
push eax
jmp 0x406e34
lea edx, [esp + 0x1c]
mov dword [esp + 0x98], esp
push edx
call fcn.0042364d
mov ecx, esi
call fcn.00407250
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call fcn.00423788
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0
call fcn.00423788
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], 0xffffffff
call fcn.00423788
xor eax, eax
jmp 0x406e7b
test eax, eax
jne 0x406e01
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x10]
push eax
push 0x4486c0
push ecx
call fcn.0041dd22
add esp, 0xc
lea edx, [esp + 0x10]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
call fcn.0042364d
mov ecx, esi
call fcn.00407250
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x406e40
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x10]
push eax
push 0x4486c0
push ecx
call fcn.0041dd22
add esp, 0xc
lea edx, [esp + 0x10]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x98], esp
push edx
call fcn.0042364d
mov ecx, esi
call fcn.00407250
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call fcn.00423788
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0
call fcn.00423788
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], 0xffffffff
call fcn.00423788
mov eax, 1
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret 8