Function at 0x44d490
Capabilities:
Check for time delay via gettickcount
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5573c6
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14c], edi
mov esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
test al, al
je 0x44d4f7
cmp dword [edi + 0x588], 0
jne 0x44d4f7
cmp dword [edi + 0x384], 0
jne 0x44d4f7
cmp dword [edi + 0x590], 0
jne 0x44d4f7
xor eax, eax
jmp 0x44e13b
xorps xmm0, xmm0
mov dword [ebp - 0x168], 0
movups xmmword [ebp - 0x188], xmm0
mov dword [ebp - 0x164], 0
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x160], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x188]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
cmp dword [edi + 0x384], 0
je 0x44da0f
mov esi, dword [edi + 0x3a0]
cmp dword [esi + 8], 0xffffffff
je 0x44d5a1
cmp dword [esi + 0x239c], 0
je 0x44d590
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ecx
push dword [esi + 0x239c]
mov ecx, dword [esi + 8]
lea edx, [esi + 0x74]
mov dword [esi + 0xc], eax
call fcn.0048f300
add esp, 8
test al, al
je 0x44d5a1
mov dword [esi + 0x239c], 0
mov eax, dword [0x5d1914]
mov eax, dword [eax + 0xd14]
mov dword [esi + 0x23a0], eax
mov ecx, dword [edi + 0x450]
lea eax, [ebp - 0x198]
push eax
call fcn.0043d040
cmp dword [edi + 0x570], 0
movups xmm0, xmmword [eax]
mov eax, dword [edi + 0x450]
movups xmmword [edi + 0x748], xmm0
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x150], ecx
mov dword [edi + 0x758], ecx
je 0x44d804
cmp byte [edi + 0x475], 0
je 0x44d804
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push 0x100
mov esi, eax
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00526a30
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
push 0x100
lea eax, [ebp - 0x110]
push eax
push 2
push esi
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
test eax, eax
je 0x44d9fb
mov ecx, str.Default
lea eax, [ebp - 0x110]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44d660
test dl, dl
je 0x44d65c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44d660
add eax, 2
add ecx, 2
test dl, dl
jne 0x44d640
xor eax, eax
jmp 0x44d665
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44d9fb
call fcn.00425fc0
cmp eax, 2
je 0x44d9fb
mov ecx, dword [edi + 0x758]
xor edx, edx
mov eax, dword [edi + 0x450]
mov esi, dword [edi + 0x75c]
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x124], 0xccfeffff
mov eax, dword [eax + 0x68]
push 4
movzx eax, word [eax + 0xe3cc]
imul eax, esi
div ecx
xor edx, edx
mov ch, al
mov cl, ah
mov eax, dword [edi + 0x450]
mov word [ebp - 0x128], cx
mov eax, dword [eax + 0x68]
movzx eax, word [eax + 0xe3ce]
imul eax, esi
div dword [ebp - 0x14c]
xor edx, edx
mov ch, al
mov cl, ah
mov eax, dword [edi + 0x47c]
mov word [ebp - 0x126], cx
movzx eax, word [eax + 0x8c]
mov ch, al
mov dword [ebp - 0x154], 1
mov cl, ah
mov dword [ebp - 0x120], 0x1000000
movzx eax, word [edi + 0x578]
mov word [ebp - 0x12c], cx
mov ch, al
mov cl, ah
xor eax, eax
mov dword [ebp - 0x11c], eax
mov eax, dword [edi + 0x450]
mov word [ebp - 0x12a], cx
mov eax, dword [eax + 0x68]
movzx eax, word [eax + 0xe3cc]
imul eax, esi
div dword [ebp - 0x14c]
xor edx, edx
mov ch, al
mov cl, ah
mov eax, dword [edi + 0x450]
mov word [ebp - 0x118], cx
mov eax, dword [eax + 0x68]
movzx eax, word [eax + 0xe3ce]
imul eax, esi
mov dword [ebp - 0x114], 0
div dword [ebp - 0x14c]
mov dword [ebp - 0x14c], 0
mov ch, al
mov cl, ah
mov eax, 0x100
mov word [ebp - 0x14a], ax
lea eax, [ebp - 0x14c]
push eax
mov word [ebp - 0x116], cx
mov ecx, edi
push 0
call fcn.0044d410
mov ecx, dword [edi + 0x3a0]
lea eax, [ebp - 0x12c]
push 0xc
push eax
call fcn.0048edf0
mov ecx, dword [edi + 0x3a0]
lea eax, [ebp - 0x154]
push 4
push eax
call fcn.0048edf0
mov ecx, dword [edi + 0x3a0]
lea eax, [ebp - 0x120]
push 0x10
push eax
call fcn.0048edf0
mov dword [edi + 0x570], 0
mov byte [edi + 0x475], 0
mov dword [edi + 0x384], 0
mov esi, 1
jmp 0x44e118
cmp dword [edi + 0x56c], 0
je 0x44d9fb
mov esi, dword [edi + 0x75c]
xor eax, eax
mov dword [ebp - 0x12c], eax
xor edx, edx
mov eax, dword [edi + 0x580]
imul eax, esi
push 4
mov dword [ebp - 0x124], 0x21ffffff
div ecx
xor edx, edx
mov ch, al
mov cl, ah
mov eax, dword [edi + 0x584]
imul eax, esi
mov word [ebp - 0x128], cx
div dword [ebp - 0x150]
mov dword [ebp - 0x150], 0
mov ch, al
mov cl, ah
mov eax, 0x100
mov word [ebp - 0x14e], ax
lea eax, [ebp - 0x150]
push eax
mov word [ebp - 0x126], cx
mov ecx, edi
push 0
call fcn.0044d410
mov ecx, dword [edi + 0x3a0]
lea eax, [ebp - 0x12c]
push 0xc
push eax
call fcn.0048edf0
cmp byte [edi + 0x474], 0
je 0x44d9fb
mov ecx, dword [edi + 0x450]
mov ecx, dword [ecx + 0x68]
call fcn.004832b0
mov eax, dword [edi + 0x450]
lea ecx, [ebp - 0x148]
mov eax, dword [eax + 0x68]
mov dword [eax + 4], 0x63
mov eax, dword [edi + 0x450]
mov dword [eax + 0xc], 1
lea eax, [edi + 8]
push eax
call fcn.0041e2b0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 1
push eax
mov eax, dword [edi + 0x450]
mov ecx, dword [eax + 0x68]
add ecx, 0x7d8
call fcn.00451280
lea ecx, [ebp - 0x148]
movups xmm0, xmmword [eax]
mov esi, dword [eax + 0x10]
mov byte [ebp - 4], 0
movups xmmword [ebp - 0x198], xmm0
call fcn.0041ca00
movups xmm1, xmmword [ebp - 0x198]
mov eax, dword [edi + 0x758]
xor edx, edx
mov dword [ebp - 0x14c], eax
mov eax, dword [edi + 0x75c]
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd ecx, xmm0
push 4
mov dword [ebp - 0x124], 0xcdfeffff
imul eax, ecx
div dword [ebp - 0x14c]
xor edx, edx
mov ch, al
mov cl, ah
mov eax, dword [edi + 0x75c]
imul eax, esi
mov esi, dword [edi + 0x75c]
mov word [ebp - 0x12c], cx
div dword [ebp - 0x14c]
xor edx, edx
mov ch, al
mov cl, ah
mov eax, esi
mov word [ebp - 0x12a], cx
movd ecx, xmm1
psrldq xmm1, 4
imul eax, ecx
div dword [ebp - 0x14c]
xor edx, edx
mov ch, al
mov cl, ah
mov word [ebp - 0x128], cx
movd ecx, xmm1
imul esi, ecx
mov eax, esi
div dword [ebp - 0x14c]
mov dword [ebp - 0x14c], 0
mov ch, al
mov cl, ah
mov eax, 0x100
mov word [ebp - 0x14a], ax
lea eax, [ebp - 0x14c]
push eax
mov word [ebp - 0x126], cx
mov ecx, edi
push 0
call fcn.0044d410
mov ecx, dword [edi + 0x3a0]
lea eax, [ebp - 0x12c]
push 0xc
push eax
call fcn.0048edf0
mov dword [edi + 0x384], 0
mov esi, 1
jmp 0x44e118
mov eax, dword [ebp - 0x178]
sub eax, dword [ebp - 0x17c]
mov esi, dword [ebp - 0x188]
sar eax, 4
cmp dword [edi + 0x444], 0
mov dword [ebp - 0x154], eax
je 0x44da4e
mov ecx, dword [ebp - 0x184]
sub ecx, esi
sar ecx, 4
cmp ecx, 5
jbe 0x44da46
inc eax
jmp 0x44da48
add eax, ecx
mov dword [ebp - 0x154], eax
cmp eax, 0xffff
je 0x44db1f
mov edi, dword [ebp - 0x168]
cmp edi, dword [ebp - 0x164]
je 0x44db19
mov esi, dword [ebp - 0x14c]
lea ecx, [esi + 0x3e0]
nop word [eax + eax]
cmp byte [esi + 0x40c], 0
mov dword [ebp - 0x150], ecx
jne 0x44daaa
cmp byte [esi + 0x404], 0
jne 0x44daaa
mov ecx, dword [ecx]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
lea ecx, [esi + 0x3e0]
jmp 0x44dae3
mov eax, dword [edi + 8]
lea edx, [ebp - 0x130]
mov ecx, dword [ecx]
mov dword [ebp - 0x128], eax
mov eax, dword [edi]
mov dword [ebp - 0x130], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x12c], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x124], eax
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x150]
mov edx, eax
test edx, edx
je 0x44db08
mov eax, dword [ebp - 0x154]
add edi, 0x10
add eax, edx
mov dword [ebp - 0x154], eax
cmp edi, dword [ebp - 0x164]
jne 0x44da80
jmp 0x44db13
mov eax, 0xffff
mov dword [ebp - 0x154], eax
mov esi, dword [ebp - 0x188]
mov edi, dword [ebp - 0x14c]
cmp dword [edi + 0x444], 0
jne 0x44dbbd
cmp eax, 0xffff
je 0x44dbbd
cmp esi, dword [ebp - 0x184]
je 0x44dbbd
nop
cmp byte [edi + 0x40c], 0
jne 0x44db60
cmp byte [edi + 0x404], 0
jne 0x44db60
mov ecx, dword [edi + 0x3e0]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
jmp 0x44db95
mov eax, dword [esi + 8]
lea edx, [ebp - 0x130]
mov ecx, dword [edi + 0x3e0]
mov dword [ebp - 0x128], eax
mov eax, dword [esi]
mov dword [ebp - 0x130], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x12c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x124], eax
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
test ecx, ecx
jne 0x44dba4
mov eax, 0xffff
jmp 0x44dbac
mov eax, dword [ebp - 0x154]
add eax, ecx
add esi, 0x10
mov dword [ebp - 0x154], eax
cmp esi, dword [ebp - 0x184]
jne 0x44db40
mov ecx, dword [edi + 0x3e0]
cmp dword [ecx + 0x78], 0
jne 0x44dbd9
cmp dword [ecx + 0x7c], 0
jne 0x44dbd9
mov dword [edi + 0x588], 0
cmp eax, 0xffff
je 0x44dc08
cmp dword [edi + 0x588], 0
je 0x44dbea
inc eax
cmp dword [edi + 0x590], 0
lea ecx, [eax + 1]
cmove ecx, eax
mov dword [ebp - 0x154], ecx
test ecx, ecx
jne 0x44dc08
xor esi, esi
jmp 0x44e118
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
push eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 0x64
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
mov cx, word [ebp - 0x154]
mov esi, dword [edi + 0x3a0]
mov dh, cl
mov dword [ebp - 0x15c], 0
mov dl, ch
mov word [ebp - 0x15a], dx
mov byte [ebp - 0x15c], 0
cmp dword [esi + 8], 0xffffffff
je 0x44e0ed
cmp byte [esi + 0x1a], 0
jne 0x44dc8b
cmp byte [esi + 0x18], 0
je 0x44dc8b
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x44dc8b
push 1
lea eax, [ebp - 0x155]
mov byte [ebp - 0x155], 0
push eax
mov ecx, esi
call fcn.0048ee80
push 4
lea eax, [ebp - 0x15c]
mov ecx, esi
push eax
call fcn.0048ee80
cmp dword [edi + 0x588], 0
je 0x44ddbd
mov dword [edi + 0x588], 0
mov eax, dword [edi + 0x450]
mov ecx, dword [edi + 0x3e0]
push dword [eax + 0x68]
push dword [edi + 0x3a0]
call fcn.0045fa10
test eax, eax
jne 0x44ddb3
mov esi, dword [edi + 0x3a0]
mov ecx, 0x11ffffff
mov dword [edi + 0x58c], eax
mov edx, 0x10ffffff
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 0x3e0]
cmp dword [eax + 0x78], 0
cmovne ecx, edx
cmp dword [esi + 8], 0xffffffff
mov dword [ebp - 0x114], ecx
jne 0x44dd16
xor ecx, ecx
jmp 0x44ddaa
cmp byte [esi + 0x18], 0
mov eax, 0xc
mov dword [ebp - 0x14c], eax
je 0x44dd90
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x44dd8b
cmp byte [esi + 0x68], 0
je 0x44dd5a
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x6c]
movq xmm0, qword [ebp - 0x11c]
movq qword [ecx], xmm0
mov eax, dword [ebp - 0x114]
mov dword [ecx + 8], eax
add dword [esi + 0x6c], 0xc
or ecx, 0xffffffff
jmp 0x44ddaa
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0
push eax
push 0xc
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.0048f190
mov ecx, eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x14c], eax
jmp 0x44dd96
mov eax, 0xc
lea ecx, [ebp - 0x11c]
push eax
push ecx
mov ecx, esi
call fcn.0048ec60
xor ecx, ecx
cmp eax, dword [ebp - 0x14c]
sete cl
test ecx, ecx
jne 0x44ddbd
jmp 0x44e10a
mov dword [edi + 0x58c], 1
cmp dword [edi + 0x590], 0
je 0x44deac
movzx eax, word [edi + 0x598]
mov esi, dword [edi + 0x3a0]
mov ch, al
mov cl, ah
mov dword [edi + 0x590], 0
movzx eax, word [edi + 0x59c]
mov word [ebp - 0x11c], cx
mov ch, al
mov cl, ah
mov dword [ebp - 0x114], 0x18ffffff
xor eax, eax
mov word [ebp - 0x11a], cx
mov dword [ebp - 0x118], eax
cmp dword [esi + 8], 0xffffffff
je 0x44e10a
cmp byte [esi + 0x18], 0
mov eax, 0xc
mov dword [ebp - 0x14c], eax
je 0x44de91
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x44de8c
cmp byte [esi + 0x68], 0
je 0x44de5b
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x6c]
movq xmm0, qword [ebp - 0x11c]
movq qword [ecx], xmm0
mov eax, dword [ebp - 0x114]
mov dword [ecx + 8], eax
add dword [esi + 0x6c], 0xc
jmp 0x44deac
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0
push eax
push 0xc
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.0048f190
mov ecx, eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x14c], eax
jmp 0x44de97
mov eax, 0xc
lea ecx, [ebp - 0x11c]
push eax
push ecx
mov ecx, esi
call fcn.0048ec60
cmp eax, dword [ebp - 0x14c]
jne 0x44e10a
mov esi, dword [ebp - 0x17c]
cmp esi, dword [ebp - 0x178]
je 0x44df19
mov ecx, dword [ebp - 0x170]
mov edx, dword [ebp - 0x16c]
neg ecx
neg edx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], edx
mov eax, dword [esi]
add eax, ecx
mov ecx, edi
mov dword [ebp - 0x118], eax
mov eax, dword [esi + 4]
add eax, edx
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x118]
push eax
push esi
call fcn.0044e620
test eax, eax
je 0x44e10a
mov ecx, dword [ebp - 0x150]
add esi, 0x10
mov edx, dword [ebp - 0x14c]
cmp esi, dword [ebp - 0x178]
jne 0x44ded6
cmp dword [edi + 0x444], 0
je 0x44df91
mov eax, dword [ebp - 0x184]
sub eax, dword [ebp - 0x188]
sar eax, 4
cmp eax, 5
jbe 0x44df4d
lea eax, [ebp - 0x188]
mov ecx, edi
push eax
call fcn.0044ec50
test eax, eax
jne 0x44dfa7
jmp 0x44e10a
test eax, eax
je 0x44dfa7
push eax
push str.vncClient::SendCacheRectangles_:__Sending__d_Cache_Rects__r_n
push 9
push 0x5c3db0
call fcn.0041dde0
mov esi, dword [ebp - 0x188]
add esp, 0x10
cmp esi, dword [ebp - 0x184]
je 0x44dfa7
push esi
mov ecx, edi
call fcn.0044ea80
test eax, eax
je 0x44e10a
add esi, 0x10
cmp esi, dword [ebp - 0x184]
jne 0x44df74
jmp 0x44dfa7
lea eax, [ebp - 0x188]
mov ecx, edi
push eax
call fcn.0044e180
test eax, eax
je 0x44e10a
lea eax, [ebp - 0x168]
mov ecx, edi
push eax
call fcn.0044e180
test eax, eax
je 0x44e10a
cmp dword [ebp - 0x154], 0xffff
jne 0x44e094
mov ecx, dword [edi + 0x3e0]
push dword [edi + 0x3a0]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov esi, dword [edi + 0x3a0]
xor eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], 0x20ffffff
cmp dword [esi + 8], 0xffffffff
je 0x44e10a
cmp byte [esi + 0x18], 0
mov eax, 0xc
mov dword [ebp - 0x14c], eax
je 0x44e07d
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x44e078
cmp byte [esi + 0x68], 0
je 0x44e047
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x6c]
movq xmm0, qword [ebp - 0x11c]
movq qword [ecx], xmm0
mov eax, dword [ebp - 0x114]
mov dword [ecx + 8], eax
add dword [esi + 0x6c], 0xc
jmp 0x44e094
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0
push eax
push 0xc
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.0048f190
mov ecx, eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x14c], eax
jmp 0x44e083
mov eax, 0xc
lea ecx, [ebp - 0x11c]
push eax
push ecx
mov ecx, esi
call fcn.0048ec60
cmp eax, dword [ebp - 0x14c]
jne 0x44e10a
mov esi, dword [edi + 0x3a0]
cmp dword [esi + 8], 0xffffffff
je 0x44e0e6
cmp dword [esi + 0x239c], 0
je 0x44e0d5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ecx
push dword [esi + 0x239c]
mov ecx, dword [esi + 8]
lea edx, [esi + 0x74]
mov dword [esi + 0xc], eax
call fcn.0048f300
add esp, 8
test al, al
je 0x44e0e6
mov dword [esi + 0x239c], 0
mov eax, dword [0x5d1914]
mov eax, dword [eax + 0xd14]
mov dword [esi + 0x23a0], eax
mov esi, 1
jmp 0x44e10c
push str.vncClient::SendRFBMsgQueue_:_failed_to_send_RFB_message_to_client_n
push 0
push 0x5c3db0
call fcn.0041dde0
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
push 0
call dword [eax + 8]
xor esi, esi
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x168]
call fcn.0043ef90
lea ecx, [ebp - 0x17c]
call fcn.0043ef90
lea ecx, [ebp - 0x188]
call fcn.0043ef90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret 4