Function at 0x10050173
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor edi, edi
mov eax, 0xee41b66b
inc edi
mov esi, ecx
mov dword [ebp - 8], edi
xor ebx, ebx
mov dword [ebp - 0xc], 0x985a9576
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], 0xd239f94a
mov dword [ebp - 0xc], ebx
jmp 0x100501b8
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x20], 0xb0b56cef
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x100501aa
mov dword [ebp - 0xc], ebx
jmp 0x100501d0
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x48], 0x79655965
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x100501c2
mov dword [ebp - 8], ebx
jmp 0x100501f2
mov dword [ebp - 0x18], 8
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffff4
jl 0x100501db
mov dword [ebp - 0xc], ebx
jmp 0x10050364
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], 0xfffe
mov dword [ebp - 0x18], ebx
jmp 0x10050221
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x24], 0x80ae7b1b
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10050213
mov eax, dword [ebp - 8]
mov ecx, 0x883e731e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
sub eax, 0xe94c
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [ebp - 8], eax
jne 0x10050247
mov eax, dword [ebp - 8]
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x58]
cmp dword [ebp - 0x20], 0x7215766e
jle 0x10050263
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x58], ebx
je 0x10050266
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x58]
test eax, eax
mov eax, dword [ebp - 0xc]
setne dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x58]
cmp edx, eax
setg cl
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
mov eax, dword [ebp - 0xc]
setge bl
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x58]
cmp eax, ebx
mov eax, dword [ebp - 0x20]
setg dl
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
cmp ecx, 0xfffffff8
mov ecx, dword [ebp - 0x24]
setne al
imul ecx, eax
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x58], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ebx
jmp 0x10050357
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x18], ebx
jmp 0x100502e6
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2c], 0xa6f77a31
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x100502d8
mov dword [ebp - 0x10], ebx
jmp 0x10050340
mov dword [ebp - 0x18], ebx
jmp 0x10050338
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10050304
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], ebx
jl 0x10050335
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10050330
push 0x1dd8
push 0x12f3
push 0x239
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CheckRadioButton]
dec dword [ebp - 8]
jns 0x1005030c
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jle 0x100502f5
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jle 0x100502f0
mov eax, dword [ebp - 0x10]
mov eax, edi
cmp dword [ebp - 0x28], ebx
jne 0x10050351
mov eax, ebx
mov dword [ebp - 0x2c], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 6
jne 0x100502cc
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jle 0x10050200
push 0x3774
push 0x1e1a
push esi
push edi
call fcn.1004ab66
add esp, 0x10
mov dword [ebp - 0x18], ebx
jmp 0x10050395
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x3c], 0x477862fd
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10050387
mov dword [ebp - 0x38], ebx
jmp 0x100503c2
mov dword [ebp - 0x18], 0x2167fa5c
mov dword [ebp - 0x18], ebx
jmp 0x100503b9
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x28], 0x67f5ed9a
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xfffffff4
je 0x100503ac
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x1c
jne 0x100503a0
push esi
call fcn.10031723
mov dword [ebp - 0xc], 0x9ed0
mov esi, eax
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x18], 0x8716b5b3
mov dword [ebp - 0x14], 0xdb2b
mov dword [ebp - 8], 0xfffffffd
mov dword [ebp - 0x34], 0xb5c02ac6
pop ecx
mov dword [ebp - 0x18], ebx
jmp 0x1005040e
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1c], 0xffffffff
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10050400
mov eax, ebx
cmp dword [ebp - 0xc], ebx
je 0x1005041c
mov eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0xfffffff8
ja 0x10050435
mov ecx, ebx
cmp dword [ebp - 0x18], ebx
je 0x10050437
mov ecx, edi
mov eax, dword [ebp - 0xc]
xor edx, edx
sub ecx, eax
mov eax, dword [ebp - 0x14]
imul ecx, ecx, 0xeae2
cmp ecx, eax
setge dl
xor ecx, ecx
add edx, 0x5d742ad4
imul edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp edx, eax
setg cl
cmp ecx, dword [ebp - 0x10]
je 0x1005046c
mov eax, ebx
cmp dword [ebp - 0xc], ebx
je 0x1005046e
mov eax, edi
xor edx, edx
cmp eax, 0xec0d
mov eax, dword [ebp - 0xc]
setge dl
xor ecx, ecx
cmp eax, edx
setge cl
cmp ecx, edi
jae 0x100504bc
cmp dword [ebp - 0x14], ebx
jne 0x100504bc
mov dword [ebp - 0x18], ebx
jmp 0x1005049e
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x30], 0xf4923579
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10050490
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x100504c2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
jmp 0x100504c2
mov dword [ebp - 0x28], ebx
dec dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov ecx, 0xdc9a81ff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp ecx, eax
sbb eax, eax
inc eax
dec eax
je 0x100504e4
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x34], ebx
jne 0x100504f7
cmp dword [ebp - 0x1c], ebx
je 0x100504f9
mov ebx, edi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp ebx, eax
mov eax, esi
pop edi
sete cl
neg ecx
pop esi
mov dword [ebp - 0x1c], ecx
pop ebx
mov esp, ebp
pop ebp
ret