Function at 0x44b080
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x61152b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xe4]
mov edi, ecx
push edi
lea ecx, [esp + 0x50]
call fcn.0056fab6
cmp ebx, 1
mov dword [esp + 0xdc], 0
mov eax, dword [esp + 0x50]
mov ecx, dword [edi + 0x7c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
jne 0x44b0fa
cmp dword [edi + 0x1a40], 0
je 0x44b753
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.user32.dll_GetCursorPos]
lea esi, [esp + 0x44]
call fcn.0044aff0
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x74]
push eax
push ecx
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xac]
cmp ecx, eax
mov dword [esp + 0x3c], edx
jl 0x44b151
mov edx, dword [edi + 0xb4]
add edx, eax
cmp ecx, edx
jg 0x44b151
mov edx, 1
jmp 0x44b153
xor edx, edx
mov eax, dword [edi + 0xb0]
mov ecx, dword [esp + 0x48]
cmp ecx, eax
mov dword [esp + 0x38], edx
jl 0x44b178
mov esi, dword [edi + 0xb8]
add esi, eax
cmp ecx, esi
jg 0x44b178
mov ecx, 1
jmp 0x44b17a
xor ecx, ecx
cmp ebx, 2
mov dword [esp + 0x20], ecx
jne 0x44b1c4
cmp dword [edi + 0x94], 0
je 0x44b753
mov eax, dword [edi + 0x5c]
cmp eax, 5
je 0x44b19d
cmp eax, 6
jne 0x44b1ad
test edx, edx
je 0x44b753
test ecx, ecx
je 0x44b753
cmp eax, 4
je 0x44b1b7
cmp eax, 1
jne 0x44b214
test edx, edx
jne 0x44b214
test ecx, ecx
jne 0x44b214
jmp 0x44b753
mov eax, dword [edi + 0x1a6c]
cmp dword [eax + 0x20], 0
je 0x44b1eb
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.user32.dll_IsWindowVisible]
test eax, eax
je 0x44b1eb
mov ecx, dword [edi + 0x1a6c]
push 0
call fcn.005652e8
mov ecx, dword [edi + 0x20]
push 0
push ecx
call dword [sym.imp.user32.dll_ValidateRect]
mov edx, dword [edi + 0x1a40]
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0xe8]
mov esi, dword [edi + 0x1a6c]
push edx
push eax
push edi
call fcn.0044fbd0
mov edx, dword [edi + 0x1a6c]
mov eax, dword [edx + 0x20]
lea ecx, [esp + 0x64]
push ecx
call fcn.004e9a20
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
sub ebp, dword [esp + 0x68]
sub ecx, dword [esp + 0x6c]
mov eax, dword [edi + 0xbc]
xor ebx, ebx
add esp, 4
cmp dword [esp + 0x38], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [edi + 0xbc], ebx
je 0x44b28c
cmp dword [esp + 0x20], ebx
je 0x44b28c
mov edx, eax
xor edx, 0xff
test al, 1
mov dword [edi + 0xbc], edx
jne 0x44b280
mov ebx, dword [esp + 0x3c]
sub ebx, ebp
mov dword [esp + 0x18], ebx
test al, 2
jne 0x44b2bd
mov eax, dword [esp + 0x40]
sub eax, ecx
jmp 0x44b2b9
cmp dword [esp + 0x44], ebp
jg 0x44b2a6
mov ebx, dword [esp + 0x3c]
sub ebx, ebp
mov dword [esp + 0x18], ebx
mov dword [edi + 0xbc], 1
cmp dword [esp + 0x48], ecx
jg 0x44b2bd
mov eax, dword [esp + 0x40]
sub eax, ecx
or dword [edi + 0xbc], 2
mov dword [esp + 0x1c], eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, ebx
mov dword [esp + 0x28], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
lea esi, [esp + 0x28]
mov dword [esp + 0x2c], eax
call fcn.0044af80
cmp dword [edi + 0x8c], 0
je 0x44b304
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0
push eax
push ecx
call fcn.0055dd95
test eax, eax
jne 0x44b426
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 2
push edx
push eax
call fcn.0055dd95
push 0x48
lea ecx, [esp + 0x88]
push 0
push ecx
mov esi, eax
call fcn.005a3bb0
add esp, 0xc
test esi, esi
mov dword [esp + 0x84], 0x48
je 0x44b40a
lea edx, [esp + 0x84]
push edx
push esi
call fcn.0055dea2
test eax, eax
je 0x44b40a
mov esi, dword [esp + 0x90]
mov ebx, dword [esp + 0x28]
mov eax, esi
sub eax, ebx
cdq
mov ecx, eax
mov eax, dword [esp + 0x88]
xor ecx, edx
sub eax, ebx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jge 0x44b38b
sub esi, ebp
or dword [edi + 0xbc], 1
mov dword [esp + 0x18], esi
jmp 0x44b39d
mov eax, dword [esp + 0x88]
and dword [edi + 0xbc], 0xfffffffe
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x94]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x8c]
mov eax, esi
sub eax, ebx
cdq
mov ecx, eax
xor ecx, edx
mov eax, ebp
sub eax, ebx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jge 0x44b3d4
sub esi, dword [esp + 0x24]
or dword [edi + 0xbc], 2
jmp 0x44b3dd
and dword [edi + 0xbc], 0xfffffffd
mov esi, ebp
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], esi
lea esi, [esp + 0x28]
mov dword [esp + 0x28], ecx
call fcn.0044aff0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov ebx, edx
jmp 0x44b426
test ebx, ebx
je 0x44b41c
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jmp 0x44b426
mov ebx, dword [esp + 0x3c]
sub ebx, ebp
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x44b490
cmp dword [edi + 0x94], 0
je 0x44b490
cmp dword [edi + 0xac], ebx
jne 0x44b490
mov ecx, dword [esp + 0x1c]
cmp dword [edi + 0xb0], ecx
jne 0x44b494
cmp dword [edi + 0xb4], ebp
jne 0x44b494
mov edx, dword [edi + 0xb8]
cmp edx, dword [esp + 0x24]
jne 0x44b494
mov ecx, dword [edi + 0x1a6c]
push 5
call fcn.005652e8
mov eax, dword [edi + 0x1a6c]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.user32.dll_UpdateWindow]
mov ecx, dword [edi + 0x20]
push 0
push ecx
call dword [sym.imp.user32.dll_ValidateRect]
jmp 0x44b753
mov ecx, dword [esp + 0x1c]
cmp eax, 2
jne 0x44b52d
mov eax, dword [esp + 0x44]
cmp eax, ebx
jl 0x44b4b2
add ebx, ebp
cmp eax, ebx
jg 0x44b4b2
mov edx, 1
jmp 0x44b4b4
xor edx, edx
mov eax, dword [esp + 0x48]
cmp eax, ecx
jl 0x44b4cd
mov esi, dword [esp + 0x24]
add ecx, esi
cmp eax, ecx
jg 0x44b4cd
mov ecx, 1
jmp 0x44b4cf
xor ecx, ecx
cmp dword [esp + 0x38], 0
je 0x44b4dd
cmp dword [esp + 0x20], 0
jne 0x44b4fa
mov eax, dword [edi + 0x5c]
cmp eax, 4
je 0x44b4ea
cmp eax, 1
jne 0x44b4fa
test edx, edx
jne 0x44b61e
test ecx, ecx
jne 0x44b61e
mov eax, dword [edi + 0x1a6c]
cmp dword [eax + 0x20], 0
je 0x44b521
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.user32.dll_IsWindowVisible]
test eax, eax
je 0x44b521
mov ecx, dword [edi + 0x1a6c]
push 0
call fcn.005652e8
mov eax, dword [edi + 0x20]
push 0
push eax
call dword [sym.imp.user32.dll_ValidateRect]
cmp dword [esp + 0x34], 0
je 0x44b541
push 0
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.0044cad0
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov ebx, dword [sym.imp.gdi32.dll_SelectObject]
mov esi, eax
mov eax, dword [edi + 0x94]
test eax, eax
je 0x44b5f4
push eax
push esi
call ebx
mov dword [edi + 0x94], eax
mov eax, dword [edi + 0x98]
test eax, eax
je 0x44b58b
push 0
push eax
push esi
call dword [sym.imp.gdi32.dll_SelectPalette]
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.gdi32.dll_RealizePalette]
mov ecx, dword [edi + 0xb8]
mov edx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb0]
push 0xcc0020
push 0
push 0
push esi
push ecx
mov ecx, dword [edi + 0xac]
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
call dword [sym.imp.gdi32.dll_BitBlt]
mov eax, dword [edi + 0x94]
push eax
push esi
call ebx
push eax
mov dword [edi + 0x94], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
cmp dword [edi + 0x98], 0
je 0x44b5ea
mov ecx, dword [esp + 0x20]
push 0
push ecx
push esi
call dword [sym.imp.gdi32.dll_SelectPalette]
mov dword [edi + 0x94], 0
cmp dword [esp + 0xe4], 0
jne 0x44b64c
cmp dword [esp + 0x34], 0
je 0x44b612
push 0
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.0044cad0
push esi
call dword [sym.imp.gdi32.dll_DeleteDC]
jmp 0x44b753
mov ecx, dword [edi + 0x1a6c]
push 5
call fcn.005652e8
mov eax, dword [edi + 0x1a6c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.user32.dll_UpdateWindow]
mov edx, dword [edi + 0x20]
push 0
push edx
call dword [sym.imp.user32.dll_ValidateRect]
jmp 0x44b753
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov dword [edi + 0xb0], eax
mov eax, dword [esp + 0x24]
push eax
push ebp
push ecx
mov dword [edi + 0xac], edx
mov dword [edi + 0xb4], ebp
mov dword [edi + 0xb8], eax
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [edi + 0x94], eax
call ebx
mov dword [edi + 0x94], eax
mov eax, dword [edi + 0x98]
test eax, eax
je 0x44b6ac
push 0
push eax
push esi
call dword [sym.imp.gdi32.dll_SelectPalette]
push esi
mov ebp, eax
call dword [sym.imp.gdi32.dll_RealizePalette]
jmp 0x44b6b0
mov ebp, dword [esp + 0x20]
mov edx, dword [edi + 0xb0]
mov eax, dword [edi + 0xac]
mov ecx, dword [esp + 0x30]
push 0xcc0020
push edx
mov edx, dword [edi + 0xb8]
push eax
mov eax, dword [edi + 0xb4]
push ecx
push edx
push eax
push 0
push 0
push esi
call dword [sym.imp.gdi32.dll_BitBlt]
mov ecx, dword [edi + 0x94]
push ecx
push esi
call ebx
cmp dword [edi + 0x98], 0
mov dword [edi + 0x94], eax
je 0x44b704
push 0
push ebp
push esi
call dword [sym.imp.gdi32.dll_SelectPalette]
mov edx, dword [edi + 0xb0]
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0x1a6c]
push 0x41
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
push eax
push 0x6a7e78
call fcn.005654f3
mov eax, dword [edi + 0x1a6c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.user32.dll_UpdateWindow]
push esi
call dword [sym.imp.gdi32.dll_DeleteDC]
cmp dword [esp + 0x34], 0
je 0x44b753
push 0
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.0044cad0
lea ecx, [esp + 0x4c]
mov dword [esp + 0xdc], 0xffffffff
call fcn.0056fb0a
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0059e0c2
add esp, 0xcc
ret 4