Function at 0x42450b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x556ba4
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x5b3db0]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x5b3db0]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
and dword [esp + 0x1c], 0
mov ebx, ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
call fcn.0042b589
push eax
lea ecx, [esp + 0x14]
call fcn.0040217f
and dword [esp + 0x270], 0
lea edi, [esp + 0x48]
call fcn.00427057
xor eax, eax
mov byte [esp + 0x270], 1
push 0x587cac
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.00401daf
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x280], 2
mov eax, dword [ebx + 4]
push ecx
sub eax, 0x10
mov dword [esp + 0x44], esp
mov edi, esp
push eax
call fcn.00401e83
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.0042ab3b
add esp, 0x14
cmp dword [ebx + 0x20], 8
je 0x424cc0
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x424c85
call fcn.0042b589
push eax
lea ecx, [esp + 0x18]
call fcn.0040217f
xor eax, eax
mov byte [esp + 0x270], 3
push 0x206
mov word [esp + 0x58], ax
lea eax, [esp + 0x5a]
push edi
push eax
call fcn.0052bfd0
lea eax, [esp + 0x60]
add esp, 0xc
push eax
call fcn.00428e50
pop ecx
mov ecx, ebx
call fcn.00422371
cmp eax, 5
jne 0x4246d7
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push eax
call fcn.00401e83
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x278], 4
mov eax, dword [ebx + 0x68]
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.00401e83
mov edx, dword [esp + 0x38]
add eax, 0x10
pop ecx
mov dword [edi], eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x278], 3
call fcn.00424d1f
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 5
call fcn.00401ee1
mov byte [esp + 0x270], 3
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.004021a7
mov edi, dword [esp + 0x10]
add edi, 0xfffffff0
push edi
call fcn.00401e83
pop ecx
mov ecx, dword [esp + 0x14]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.004021a7
jmp 0x424cd3
call fcn.0042b589
push eax
lea ecx, [esp + 0x30]
call fcn.0040217f
push str.Resources
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x34]
push 0x588938
push eax
mov byte [esp + 0x280], 6
call fcn.004034f1
mov dword [esp + 0x48], vtable.CLcMgrStub.0
mov dword [esp + 0x4c], edi
add esp, 0xc
mov byte [esp + 0x274], 7
mov ecx, esp
mov dword [esp + 0x20], esp
mov edi, str.string
push edi
call fcn.00401daf
mov byte [esp + 0x274], 8
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
mov dword [esp + 0x3c], eax
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
pop ecx
lea esi, [esp + 0x40]
mov byte [esp + 0x278], 7
call fcn.0040da1c
cmp dword [ebx + 0x64], 3
jne 0x424868
call fcn.0042b589
push eax
lea ecx, [esp + 0x1c]
call fcn.0040217f
push str.MainWindow.PhotoScanDescription.Text
lea ebx, [esp + 0x28]
mov byte [esp + 0x274], 9
call fcn.0040da71
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 0xa
call fcn.00401ee1
mov byte [esp + 0x270], 9
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004021a7
push 0x58bab4
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004016d7
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 0xb
call fcn.00401ee1
mov byte [esp + 0x270], 9
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, dword [esp + 0x40]
push dword [eax + 0xa4]
lea ecx, [esp + 0x24]
lea esi, [esp + 0x4c]
call fcn.0042723d
mov byte [esp + 0x270], 0xc
push dword [eax]
lea ebx, [esp + 0x44]
lea esi, [esp + 0x3c]
call fcn.0040da71
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x27c], 0xd
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 0xe
call fcn.00401ee1
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [esp + 0x40]
jmp 0x424c3d
mov eax, dword [esp + 0x34]
cmp dword [eax - 0xc], 0
je 0x4248f1
call fcn.0042b589
push eax
lea ecx, [esp + 0x1c]
call fcn.0040217f
mov byte [esp + 0x270], 0xf
push dword [esp + 0x34]
lea eax, [esp + 0x1c]
push dword [esp + 0x30]
push str._s_s
push eax
call fcn.004034f1
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call fcn.00401daf
mov byte [esp + 0x274], 0x10
mov edi, dword [esp + 0x1c]
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push edi
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
pop ecx
lea esi, [esp + 0x40]
mov byte [esp + 0x278], 0xf
call fcn.0040da1c
mov ecx, edi
mov byte [esp + 0x270], 7
call fcn.004021a7
call fcn.0042b589
push eax
lea ecx, [esp + 0x1c]
call fcn.0040217f
push 0x58bab8
lea ebx, [esp + 0x24]
lea esi, [esp + 0x3c]
mov byte [esp + 0x274], 0x11
call fcn.0040da71
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 0x12
call fcn.00401ee1
mov byte [esp + 0x270], 0x11
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004021a7
mov esi, dword [esp + 0x40]
push dword [esi + 0x70]
lea eax, [esp + 0x18]
push dword [esp + 0x1c]
push eax
call fcn.004034f1
add esp, 0xc
mov edi, 0x58bab4
push edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004016d7
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 0x13
call fcn.00401ee1
mov byte [esp + 0x270], 0x11
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, dword [esi + 0x80]
sub eax, 0
je 0x424a6f
dec eax
je 0x424a3d
dec eax
je 0x424a00
dec eax
je 0x4249ce
mov esi, 0x587cac
push esi
call fcn.0052ba99
pop ecx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00401e12
jmp 0x424ac8
push 0x58bba8
lea ebx, [esp + 0x24]
lea esi, [esp + 0x3c]
call fcn.0040da71
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], 0x17
call fcn.00401ee1
mov byte [esp + 0x270], 0x11
mov ecx, dword [esp + 0x20]
jmp 0x424a30
push str.String.ColorType.Color.Text
lea ebx, [esp + 0x28]
lea esi, [esp + 0x3c]
call fcn.0040da71
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], 0x14
call fcn.00401ee1
mov byte [esp + 0x270], 0x11
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004021a7
jmp 0x424ac8
push str.String.ColorType.Grayscale.Text
lea ebx, [esp + 0x2c]
lea esi, [esp + 0x3c]
call fcn.0040da71
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], 0x15
call fcn.00401ee1
mov byte [esp + 0x270], 0x11
mov ecx, dword [esp + 0x28]
jmp 0x424a30
push str.String.ColorType.BW.Text
lea ebx, [esp + 0x20]
lea esi, [esp + 0x3c]
call fcn.0040da71
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], 0x16
call fcn.00401ee1
mov byte [esp + 0x270], 0x11
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004021a7
push 0
push 0x58bba4
lea ecx, [esp + 0x1c]
call fcn.00406fa0
cmp eax, 0xffffffff
je 0x424ac8
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.00426952
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00401680
add esp, 0xc
push edi
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x27c], 0x18
call fcn.004016d7
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 0x19
call fcn.00401ee1
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [esp + 0x270], 0x11
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, dword [esp + 0x40]
push dword [eax + 0xa4]
lea ecx, [esp + 0x28]
lea esi, [esp + 0x4c]
call fcn.0042723d
mov byte [esp + 0x270], 0x1a
push dword [eax]
lea ebx, [esp + 0x24]
lea esi, [esp + 0x3c]
call fcn.0040da71
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x27c], 0x1b
call fcn.00401680
add esp, 0xc
push edi
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x27c], 0x1c
call fcn.004016d7
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 0x1d
call fcn.00401ee1
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [esp + 0x270], 0x11
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, dword [esp + 0x40]
push dword [eax + 0x9c]
lea ecx, [esp + 0x24]
lea esi, [esp + 0x4c]
call fcn.004272ac
mov byte [esp + 0x270], 0x1e
push dword [eax]
lea ebx, [esp + 0x2c]
lea esi, [esp + 0x3c]
call fcn.0040da71
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x27c], 0x1f
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 0x20
call fcn.00401ee1
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004021a7
lea ecx, [esp + 0x38]
mov byte [esp + 0x270], 6
call fcn.0040da0b
mov ecx, dword [esp + 0x30]
call fcn.004021a7
mov byte [esp + 0x270], 2
mov ecx, dword [esp + 0x14]
jmp 0x424cb4
cmp dword [ebp + 0xc], 1
jne 0x424cc0
lea esi, [esp + 0x30]
mov eax, ebx
call fcn.00416697
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 0x21
call fcn.00401ee1
mov byte [esp + 0x270], 2
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.004021a7
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
add edi, 0xfffffff0
push edi
call fcn.00401e83
add eax, 0x10
pop ecx
mov dword [esi], eax
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.004021a7
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], vtable.ScanSettingManager.0
call fcn.0042739b
mov ecx, edi
call fcn.004021a7
mov eax, esi
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0052b424
mov esp, ebp
pop ebp
ret 8