Function at 0x49d8b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x5f0a00]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x128], edx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x134], esi
push edi
mov edi, ecx
cmp ebx, 0x201
jne 0x49d9ba
movzx eax, dx
mov ecx, eax
mov dword [edi + 0x10], 1
mov dword [ebp - 0x124], ecx
movsx ecx, ax
mov eax, edx
shr eax, 0x10
cwde
movzx eax, ax
mov dword [ebp - 0x12c], eax
movzx eax, cx
mov ecx, edi
mov dword [ebp - 0x130], eax
mov eax, dword [edi]
call dword [eax + 0xb0]
test eax, eax
je 0x49d93a
mov ecx, edi
call fcn.0047d000
mov ecx, dword [ebp - 0x124]
movzx eax, cx
mov dword [ebp - 0x130], eax
mov ecx, edi
call fcn.0044c420
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push 0xfffffffffffffff0
push eax
mov dword [ebp - 0x124], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x1000000
je 0x49d96d
mov dword [edi + 0x288], 1
jmp 0x49db00
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xf012
push 0x112
push dword [ebp - 0x124]
call esi
mov eax, dword [ebp - 0x12c]
movzx ecx, ax
mov eax, dword [ebp - 0x130]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push dword [ebp + 0xc]
push 0x202
push dword [ebp - 0x124]
call esi
mov esi, dword [ebp - 0x134]
jmp 0x49db00
cmp ebx, 0x203
jne 0x49da41
mov dword [edi + 0x10], 1
call fcn.0044c420
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov esi, eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000
je 0x49da36
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000
je 0x49da36
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0
test eax, 0x1000000
je 0x49da25
push 0xf122
push 0x112
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x134]
jmp 0x49db00
push 0xf032
push 0x112
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x134]
jmp 0x49db00
cmp ebx, 0x200
jne 0x49db14
mov dword [edi + 0x10], 1
call fcn.0044c420
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push 0xfffffffffffffff0
push eax
mov dword [ebp - 0x12c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x1000000
je 0x49db00
cmp dword [edi + 0x288], 0
je 0x49db00
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.00557d70
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x49dacf
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49db00
cmp byte [ebp - 6], 1
jne 0x49db00
cmp dword [ebp - 0x11c], 6
jne 0x49db00
push 0
push 0xf012
push 0x112
push dword [ebp - 0x12c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x288], 0
mov dword [esi], 0
cmp dword [edi + 0x10], 0
jne 0x49db59
mov edx, dword [ebp - 0x128]
jmp 0x49db33
cmp ebx, 0x202
jne 0x49db33
mov dword [edi + 0x10], 1
mov dword [edi + 0x288], 0
mov dword [esi], 0
cmp dword [edi + 0x10], 0
jne 0x49db59
push esi
push edx
push dword [ebp + 0xc]
mov ecx, edi
push ebx
call fcn.00413620
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00551e44
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00551e44
mov esp, ebp
pop ebp
ret 0x10