Function at 0x424f60
Capabilities:
Check os version
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6d90
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4ea5e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
mov ebx, ecx
mov ecx, edi
call edx
test al, al
je 0x424fbb
cmp dword [ebx + 0x208], 0
jne 0x424fbb
cmp dword [ebx + 0x2c], 0
jne 0x424fbb
cmp dword [ebx + 0x210], 0
je 0x4252b8
xor esi, esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], esi
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
cmp dword [ebx + 0x2c], esi
je 0x42510e
mov eax, dword [ebx + 0x10c]
call fcn.00460ab0
cmp dword [ebx + 0x1f8], esi
je 0x42510e
mov esi, dword [ebx + 0xe4]
mov eax, dword [esi + 0x54]
lea edi, [ebp - 0x8c]
call fcn.0042f4a0
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov esi, dword [esi + 0x18]
mov dword [ebp - 0x70], eax
mov eax, edx
xor edx, edx
div esi
xor edx, edx
mov dword [ebx + 0x50c], ecx
mov dword [ebx + 0x510], edi
push 4
lea edi, [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x70]
div esi
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebx + 0xe4]
mov dword [ebx + 0x514], ecx
xor ecx, ecx
mov dword [ebx + 0x518], eax
mov eax, dword [edx + 0x18]
mov dword [ebx + 0x51c], eax
mov esi, eax
mov eax, dword [ebx + 0x200]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0x520]
imul eax, ecx
xor edx, edx
div esi
mov dword [ebp - 0x14], 0x21ffffff
mov edx, eax
shr edx, 8
shl eax, 8
and edx, 0xff
or edx, eax
mov eax, dword [ebx + 0x204]
imul eax, ecx
mov word [ebp - 0x18], dx
xor edx, edx
div esi
mov edx, pe_nt_image_headers32
mov word [ebp - 0x62], dx
mov ecx, eax
shr ecx, 8
shl eax, 8
and ecx, 0xff
or ecx, eax
xor al, al
mov word [ebp - 0x16], cx
call fcn.00424ee0
mov edx, dword [ebx + 0x10c]
mov ecx, 0xc
lea eax, [ebp - 0x1c]
call fcn.004609b0
lea esi, [ebp - 0x60]
mov dword [ebx + 0x2c], 0
call fcn.00425690
jmp 0x425666
mov edi, dword [ebp - 0x4c]
sub edi, dword [ebp - 0x50]
sar edi, 4
mov dword [ebp - 0x24], edi
cmp dword [ebx + 0xd8], esi
je 0x425138
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
sar eax, 4
cmp eax, 5
jbe 0x425133
inc edi
jmp 0x425135
add edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0xffff
je 0x4251b8
mov esi, dword [ebp - 0x38]
cmp esi, dword [ebp - 0x34]
je 0x4251b8
jmp 0x425150
cmp byte [ebx + 0xa8], 0
jne 0x425170
cmp byte [ebx + 0xa0], 0
jne 0x425170
mov ecx, dword [ebx + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push esi
jmp 0x425196
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 0x84]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x20]
push eax
call edx
test eax, eax
je 0x4251ab
add esi, 0x10
add edi, eax
cmp esi, dword [ebp - 0x34]
jne 0x425150
mov dword [ebp - 0x24], edi
jmp 0x4251b8
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x24], 0xffff
mov edi, dword [ebp - 0x24]
cmp dword [ebx + 0xd8], 0
jne 0x425236
cmp edi, 0xffff
je 0x425236
mov esi, dword [ebp - 0x60]
cmp esi, dword [ebp - 0x5c]
je 0x425236
cmp byte [ebx + 0xa8], 0
jne 0x4251f1
cmp byte [ebx + 0xa0], 0
jne 0x4251f1
mov ecx, dword [ebx + 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push esi
jmp 0x425217
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 0x84]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x20]
push eax
call edx
test eax, eax
jne 0x425229
mov dword [ebp - 0x24], 0xffff
mov edi, dword [ebp - 0x24]
jmp 0x42522e
add edi, eax
mov dword [ebp - 0x24], edi
add esi, 0x10
cmp esi, dword [ebp - 0x5c]
jne 0x4251d1
mov eax, dword [ebx + 0x84]
xor ecx, ecx
cmp dword [eax + 0x70], ecx
jne 0x42524e
cmp dword [eax + 0x74], ecx
jne 0x42524e
mov dword [ebx + 0x208], ecx
cmp edi, 0xffff
je 0x4252bf
cmp dword [ebx + 0x208], ecx
je 0x425262
inc edi
mov dword [ebp - 0x24], edi
cmp dword [ebx + 0x210], ecx
je 0x42526e
inc edi
mov dword [ebp - 0x24], edi
cmp edi, ecx
jne 0x4252bf
mov eax, dword [ebp - 0x38]
cmp eax, ecx
je 0x425284
push eax
call fcn.004a9046
add esp, 4
xor ecx, ecx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
cmp eax, ecx
je 0x42529f
push eax
call fcn.004a9046
add esp, 4
xor ecx, ecx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
cmp eax, ecx
je 0x4252b8
push eax
call fcn.004a9046
add esp, 4
xor eax, eax
jmp 0x42566b
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov ecx, ebx
call edx
push eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 0x64
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, edi
sar eax, 8
mov byte [ebp - 4], 1
mov esi, dword [ebx + 0x10c]
and eax, 0xff
shl edi, 8
or eax, edi
mov word [ebp - 0x6a], ax
mov byte [ebp - 0x6c], 0
cmp dword [esi + 8], 0xffffffff
je 0x42542f
cmp byte [esi + 0x1a], 0
jne 0x425419
cmp byte [esi + 0x18], 0
je 0x425419
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x425419
xor dl, dl
mov byte [ebp - 0x25], dl
mov ecx, 1
cmp byte [eax + 0x21], dl
je 0x425361
cmp byte [esi + 0x68], dl
je 0x425348
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x6c]
mov byte [eax], dl
add dword [esi + 0x6c], ecx
xor edi, edi
jmp 0x42536d
push 1
lea ecx, [ebp - 0x25]
push ecx
xor edi, edi
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], edi
call fcn.00460e80
mov ecx, dword [ebp - 0x64]
jmp 0x425366
lea eax, [ebp - 0x25]
xor edi, edi
push ecx
push eax
call fcn.00460810
mov ecx, 4
lea eax, [ebp - 0x6c]
mov edx, esi
call fcn.00460a30
cmp dword [ebx + 0x208], edi
je 0x42545b
mov eax, dword [ebx + 0x10c]
mov dword [ebx + 0x208], edi
mov edx, dword [ebx + 0xe4]
mov ecx, dword [edx + 0x54]
mov edx, dword [ebx + 0x84]
push ecx
push eax
push edx
call fcn.00435cd0
test eax, eax
jne 0x425451
mov eax, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x10c]
push eax
mov dword [ebx + 0x20c], edi
call fcn.00435bf0
cmp eax, edi
jne 0x42545b
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x38]
cmp eax, edi
je 0x4253ed
push eax
call fcn.004a9046
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
cmp eax, edi
je 0x425406
push eax
call fcn.004a9046
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
cmp eax, edi
jmp 0x4252ad
mov ecx, 4
lea eax, [ebp - 0x6c]
mov edx, esi
call fcn.00460a30
xor edi, edi
jmp 0x42537c
push str.vncclient.cpp_:_failed_to_send_RFB_message_to_client_n
xor eax, eax
mov ecx, 0x4ecb00
call fcn.00403230
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 4
mov ecx, ebx
call eax
jmp 0x425618
mov dword [ebx + 0x20c], 1
cmp dword [ebx + 0x210], edi
je 0x425486
push ebx
call fcn.004260d0
test eax, eax
jne 0x425486
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [ebp - 0x60]
call fcn.00425690
xor eax, eax
jmp 0x42566b
mov esi, dword [ebp - 0x50]
cmp esi, dword [ebp - 0x4c]
je 0x4254cd
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
neg edi
neg eax
mov dword [ebp - 0x14], eax
jmp 0x4254a3
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add edx, eax
add ecx, edi
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
push eax
mov edx, esi
mov ecx, ebx
call fcn.004259b0
test eax, eax
je 0x425512
add esi, 0x10
cmp esi, dword [ebp - 0x4c]
jne 0x4254a0
xor edi, edi
cmp dword [ebx + 0xd8], edi
je 0x42557f
mov edx, dword [ebp - 0x5c]
sub edx, dword [ebp - 0x60]
sar edx, 4
cmp edx, 5
jbe 0x42555a
lea ecx, [ebp - 0x60]
mov edi, ebx
call fcn.00426290
test eax, eax
jne 0x425593
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [ebp - 0x60]
call fcn.00425690
xor eax, eax
jmp 0x42566b
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x38]
xor esi, esi
cmp eax, esi
je 0x42552e
push eax
call fcn.004a9046
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
cmp eax, esi
je 0x425547
push eax
call fcn.004a9046
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
cmp eax, esi
jmp 0x4252ad
lea edi, [ebp - 0x60]
call fcn.00425eb0
test eax, eax
jne 0x425593
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [ebp - 0x60]
call fcn.00425690
xor eax, eax
jmp 0x42566b
lea edx, [ebp - 0x60]
push edx
push ebx
call fcn.004256e0
test eax, eax
jne 0x425593
mov eax, dword [ebp - 0x74]
push eax
jmp 0x425516
lea ecx, [ebp - 0x38]
push ecx
push ebx
call fcn.004256e0
test eax, eax
jne 0x4255aa
mov edx, dword [ebp - 0x74]
push edx
jmp 0x425516
cmp dword [ebp - 0x24], 0xffff
jne 0x4255d1
mov ecx, dword [ebx + 0x84]
mov eax, dword [ecx]
mov edx, dword [ebx + 0x10c]
mov eax, dword [eax + 0x28]
push edx
call eax
push ebx
call fcn.004261d0
test eax, eax
je 0x425566
mov esi, dword [ebx + 0x10c]
cmp dword [esi + 8], 0xffffffff
je 0x425618
cmp dword [esi + 0x239c], 0
je 0x425613
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x239c]
mov edi, dword [esi + 8]
mov dword [esi + 0xc], eax
push edx
lea eax, [esi + 0x74]
push eax
call fcn.004610a0
add esp, 8
test al, al
je 0x425618
mov dword [esi + 0x239c], 0
call fcn.004611b0
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x38]
xor esi, esi
cmp eax, esi
je 0x425634
push eax
call fcn.004a9046
add esp, 4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
cmp eax, esi
je 0x42564d
push eax
call fcn.004a9046
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
cmp eax, esi
je 0x425666
push eax
call fcn.004a9046
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a8a2f
mov esp, ebp
pop ebp
ret