Function at 0x44c7d0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x61960b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
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.00577645
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 0x44c84a
cmp dword [edi + 0x1a40], 0
je 0x44cea3
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.user32.dll_GetCursorPos]
lea esi, [esp + 0x44]
call fcn.0044c740
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 0x44c8a1
mov edx, dword [edi + 0xb4]
add edx, eax
cmp ecx, edx
jg 0x44c8a1
mov edx, 1
jmp 0x44c8a3
xor edx, edx
mov eax, dword [edi + 0xb0]
mov ecx, dword [esp + 0x48]
cmp ecx, eax
mov dword [esp + 0x38], edx
jl 0x44c8c8
mov esi, dword [edi + 0xb8]
add esi, eax
cmp ecx, esi
jg 0x44c8c8
mov ecx, 1
jmp 0x44c8ca
xor ecx, ecx
cmp ebx, 2
mov dword [esp + 0x20], ecx
jne 0x44c914
cmp dword [edi + 0x94], 0
je 0x44cea3
mov eax, dword [edi + 0x5c]
cmp eax, 5
je 0x44c8ed
cmp eax, 6
jne 0x44c8fd
test edx, edx
je 0x44cea3
test ecx, ecx
je 0x44cea3
cmp eax, 4
je 0x44c907
cmp eax, 1
jne 0x44c964
test edx, edx
jne 0x44c964
test ecx, ecx
jne 0x44c964
jmp 0x44cea3
mov eax, dword [edi + 0x1a6c]
cmp dword [eax + 0x20], 0
je 0x44c93b
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.user32.dll_IsWindowVisible]
test eax, eax
je 0x44c93b
mov ecx, dword [edi + 0x1a6c]
push 0
call fcn.0056cc4d
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.00451980
mov edx, dword [edi + 0x1a6c]
mov eax, dword [edx + 0x20]
lea ecx, [esp + 0x64]
push ecx
call fcn.004ed150
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 0x44c9dc
cmp dword [esp + 0x20], ebx
je 0x44c9dc
mov edx, eax
xor edx, 0xff
test al, 1
mov dword [edi + 0xbc], edx
jne 0x44c9d0
mov ebx, dword [esp + 0x3c]
sub ebx, ebp
mov dword [esp + 0x18], ebx
test al, 2
jne 0x44ca0d
mov eax, dword [esp + 0x40]
sub eax, ecx
jmp 0x44ca09
cmp dword [esp + 0x44], ebp
jg 0x44c9f6
mov ebx, dword [esp + 0x3c]
sub ebx, ebp
mov dword [esp + 0x18], ebx
mov dword [edi + 0xbc], 1
cmp dword [esp + 0x48], ecx
jg 0x44ca0d
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.0044c6d0
cmp dword [edi + 0x8c], 0
je 0x44ca54
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0
push eax
push ecx
call fcn.00565775
test eax, eax
jne 0x44cb76
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 2
push edx
push eax
call fcn.00565775
push 0x48
lea ecx, [esp + 0x88]
push 0
push ecx
mov esi, eax
call fcn.005ab440
add esp, 0xc
test esi, esi
mov dword [esp + 0x84], 0x48
je 0x44cb5a
lea edx, [esp + 0x84]
push edx
push esi
call fcn.00565882
test eax, eax
je 0x44cb5a
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 0x44cadb
sub esi, ebp
or dword [edi + 0xbc], 1
mov dword [esp + 0x18], esi
jmp 0x44caed
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 0x44cb24
sub esi, dword [esp + 0x24]
or dword [edi + 0xbc], 2
jmp 0x44cb2d
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.0044c740
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 0x44cb76
test ebx, ebx
je 0x44cb6c
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jmp 0x44cb76
mov ebx, dword [esp + 0x3c]
sub ebx, ebp
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x44cbe0
cmp dword [edi + 0x94], 0
je 0x44cbe0
cmp dword [edi + 0xac], ebx
jne 0x44cbe0
mov ecx, dword [esp + 0x1c]
cmp dword [edi + 0xb0], ecx
jne 0x44cbe4
cmp dword [edi + 0xb4], ebp
jne 0x44cbe4
mov edx, dword [edi + 0xb8]
cmp edx, dword [esp + 0x24]
jne 0x44cbe4
mov ecx, dword [edi + 0x1a6c]
push 5
call fcn.0056cc4d
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 0x44cea3
mov ecx, dword [esp + 0x1c]
cmp eax, 2
jne 0x44cc7d
mov eax, dword [esp + 0x44]
cmp eax, ebx
jl 0x44cc02
add ebx, ebp
cmp eax, ebx
jg 0x44cc02
mov edx, 1
jmp 0x44cc04
xor edx, edx
mov eax, dword [esp + 0x48]
cmp eax, ecx
jl 0x44cc1d
mov esi, dword [esp + 0x24]
add ecx, esi
cmp eax, ecx
jg 0x44cc1d
mov ecx, 1
jmp 0x44cc1f
xor ecx, ecx
cmp dword [esp + 0x38], 0
je 0x44cc2d
cmp dword [esp + 0x20], 0
jne 0x44cc4a
mov eax, dword [edi + 0x5c]
cmp eax, 4
je 0x44cc3a
cmp eax, 1
jne 0x44cc4a
test edx, edx
jne 0x44cd6e
test ecx, ecx
jne 0x44cd6e
mov eax, dword [edi + 0x1a6c]
cmp dword [eax + 0x20], 0
je 0x44cc71
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.user32.dll_IsWindowVisible]
test eax, eax
je 0x44cc71
mov ecx, dword [edi + 0x1a6c]
push 0
call fcn.0056cc4d
mov eax, dword [edi + 0x20]
push 0
push eax
call dword [sym.imp.user32.dll_ValidateRect]
cmp dword [esp + 0x34], 0
je 0x44cc91
push 0
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.0044e500
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 0x44cd44
push eax
push esi
call ebx
mov dword [edi + 0x94], eax
mov eax, dword [edi + 0x98]
test eax, eax
je 0x44ccdb
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 0x44cd3a
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 0x44cd9c
cmp dword [esp + 0x34], 0
je 0x44cd62
push 0
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.0044e500
push esi
call dword [sym.imp.gdi32.dll_DeleteDC]
jmp 0x44cea3
mov ecx, dword [edi + 0x1a6c]
push 5
call fcn.0056cc4d
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 0x44cea3
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 0x44cdfc
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 0x44ce00
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 0x44ce54
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 0x6b0218
call fcn.0056ce58
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 0x44cea3
push 0
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.0044e500
lea ecx, [esp + 0x4c]
mov dword [esp + 0xdc], 0xffffffff
call fcn.00577699
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.005a58d9
add esp, 0xcc
ret 4