Function at 0x4689fc
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov esi, ecx
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x469053
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x30], 1
jne 0x468a35
mov byte [ebx + 0x30], 0
jmp 0x46903d
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
neg eax
push eax
mov eax, dword [ebp - 0x2c]
neg eax
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_OffsetRect
mov edx, dword [ebp - 0x24]
mov eax, dword [0x47ec9c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x20]
mov eax, dword [0x47ec9c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x124]
test eax, eax
jne 0x468ab2
mov eax, dword [0x47ec9c]
call fcn.004222c8
mov eax, dword [eax + 0x14]
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0xc4]
call fcn.0041d770
mov eax, dword [0x47ec9c]
call fcn.004222c8
lea edx, [ebp - 0x2c]
call fcn.0041db68
mov edi, 6
jmp 0x468b6b
mov edx, dword [ebx + 0x50]
cmp byte [edx + 0x160], 0
je 0x468ac7
mov dword [ebp - 8], 1
jmp 0x468ace
mov dword [ebp - 8], 2
cmp dword [eax + 0x1c], 1
jne 0x468b09
mov eax, dword [ebx + 0x4c]
mov esi, dword [eax + 0x124]
lea eax, [esi + 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 2
push 0
push 0
push 1
mov eax, dword [0x47ec9c]
call fcn.004222c8
call fcn.0041df20
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0x2c]
call fcn.00472ed8
jmp 0x468b35
mov eax, dword [ebx + 0x4c]
mov esi, dword [eax + 0x124]
lea eax, [esi + 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 2
push 0
push 1
mov eax, dword [0x47ec9c]
call fcn.004222c8
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0x2c]
call fcn.00472f80
mov eax, dword [ebx + 0x38]
call fcn.004487f8
test al, al
je 0x468b52
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x124]
mov edi, dword [eax + 0xc]
add edi, 8
jmp 0x468b61
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x124]
mov edi, dword [eax + 4]
add edi, 4
cmp edi, dword [ebp - 0x24]
jle 0x468b6b
mov edi, 0xc
push edi
lea esi, [ebp - 0x4c]
lea edi, [ebx + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov edx, dword [0x47ec9c]
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x47ec9c]
call fcn.004222c8
mov edx, dword [0x47d408]
mov edx, dword [edx]
mov edx, dword [edx + 0x88]
call fcn.0041de40
mov eax, dword [0x47ec9c]
call fcn.004222c8
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0xc8]
call fcn.0041cfa4
mov eax, dword [0x47ec9c]
call fcn.004222c8
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0041d8ac
push 1
mov eax, dword [0x47ec9c]
call fcn.004222c8
call fcn.0041df20
push eax
call sub.gdi32.dll_SetBkMode
mov byte [ebx + 0x5c], 1
push edi
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
push 0xf
call sub.user32.dll_GetSystemMetrics
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x38]
call fcn.004487f8
test al, al
je 0x468d52
mov eax, dword [ebp - 0x24]
sub eax, edi
mov edi, eax
mov eax, dword [ebx + 0x34]
call fcn.00404de0
test eax, eax
jl 0x468ec2
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov eax, dword [ebx + 0x34]
mov edx, dword [ebp - 8]
mov esi, dword [eax + edx*4]
cmp byte [esi + 0x1c], 0
jne 0x468c65
push 0
lea eax, [ebp - 0x6c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00412d90
push edi
lea edi, [esi + 0xc]
lea esi, [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
jmp 0x468d41
push esi
push edi
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
push 0x500
mov eax, dword [0x47ec9c]
call fcn.004222c8
call fcn.0041df20
lea ecx, [ebp - 0x3c]
mov edx, dword [esi + 0x30]
call fcn.00478eb8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x468ca2
add dword [ebp - 0xc], 0xa
mov eax, dword [ebp - 0x20]
dec eax
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, edi
sub eax, dword [ebp - 0xc]
mov ecx, edi
xor edx, edx
call fcn.00412d90
cmp byte [esi + 0x34], 0
je 0x468cdc
mov eax, dword [0x47ec9c]
call fcn.004222c8
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0xc8]
call fcn.0041cfa4
jmp 0x468cf7
mov eax, dword [0x47ec9c]
call fcn.004222c8
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0xac]
call fcn.0041cfa4
mov al, byte [esi + 0x34]
push eax
push 0
push 2
mov eax, dword [0x47ec9c]
call fcn.004222c8
mov ecx, dword [esi + 0x30]
lea edx, [ebp - 0x3c]
call fcn.0046126c
mov eax, dword [ebp - 0x40]
dec eax
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, edi
mov eax, dword [ebp - 0x4c]
add eax, edi
sub eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x48]
call fcn.00412d90
push edi
lea edi, [esi + 0xc]
lea esi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
sub edi, dword [ebp - 0xc]
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x468c34
jmp 0x468ec2
mov dword [ebp - 0x18], edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x34]
call fcn.00404de0
test eax, eax
jl 0x468ec2
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov eax, dword [ebx + 0x34]
mov edx, dword [ebp - 8]
mov esi, dword [eax + edx*4]
cmp byte [esi + 0x1c], 0
jne 0x468da6
push 0
lea eax, [ebp - 0x6c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00412d90
push edi
lea edi, [esi + 0xc]
lea esi, [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
jmp 0x468eb6
push esi
push edi
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [0x47ec9c]
call fcn.004222c8
push eax
lea eax, [ebp - 0x70]
mov edx, dword [esi + 0x30]
call fcn.00404104
mov edx, dword [ebp - 0x70]
pop eax
call fcn.0041dd80
add eax, edi
cmp eax, dword [ebp - 0x34]
jle 0x468de9
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
imul dword [ebp - 0x14]
add dword [ebp - 0x38], eax
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
push 0x500
mov eax, dword [0x47ec9c]
call fcn.004222c8
call fcn.0041df20
lea ecx, [ebp - 0x3c]
mov edx, dword [esi + 0x30]
call fcn.00478eb8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x468e21
add dword [ebp - 0xc], 0xa
mov eax, dword [ebp - 0x20]
dec eax
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, edi
mov edx, dword [ebp - 0x14]
imul edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00412d90
cmp byte [esi + 0x34], 0
je 0x468e60
mov eax, dword [0x47ec9c]
call fcn.004222c8
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0xc8]
call fcn.0041cfa4
jmp 0x468e7b
mov eax, dword [0x47ec9c]
call fcn.004222c8
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0xac]
call fcn.0041cfa4
mov eax, dword [ebp - 0x14]
inc eax
imul dword [ebp - 0x10]
add eax, dword [ebp - 0x48]
dec eax
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, edi
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
imul edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
add eax, edi
call fcn.00412d90
push edi
lea edi, [esi + 0xc]
lea esi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
add edi, dword [ebp - 0xc]
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x468d75
mov byte [ebx + 0x5c], 0
mov esi, dword [ebx + 0x50]
cmp byte [esi + 0x161], 1
jne 0x468fbc
mov eax, esi
call fcn.00470a74
test al, al
je 0x468fbc
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x140]
call fcn.00404de0
test eax, eax
jl 0x468fa1
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x140]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov esi, dword [eax + 0x24]
cmp dword [esi + 0x58], 0x64
jne 0x468f95
mov eax, dword [esi + 0x14]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x468f95
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x140]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
lea esi, [eax + 0xc]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x50]
mov edx, dword [eax + 0xa0]
neg edx
push edx
mov eax, dword [eax + 0x9c]
neg eax
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.user32.dll_OffsetRect
push 1
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x140]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov esi, dword [eax + 0x24]
mov eax, dword [esi + 0x24]
push eax
push 1
mov eax, dword [0x47ec9c]
call fcn.004222c8
call fcn.0041df20
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0x3c]
call fcn.00473c2c
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x468f06
mov eax, dword [0x47d388]
mov eax, dword [eax]
cmp byte [eax + 0x49], 0
jne 0x468fbc
mov eax, dword [0x47d388]
mov eax, dword [eax]
mov dl, 1
call fcn.0045ab50
push 0xf
call sub.user32.dll_GetSystemMetrics
mov edx, dword [ebp - 0x14]
inc edx
imul edx
mov edx, dword [ebx + 0x50]
mov dword [edx + 0xdc], eax
push 0xcc0020
push 0
push 0
mov eax, dword [0x47ec9c]
call fcn.004222c8
call fcn.0041df20
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
mov byte [ebx + 0x30], 1
mov eax, dword [ebx + 0x50]
call fcn.0046d710
mov eax, dword [ebx + 0x34]
call fcn.00404de0
test eax, eax
jl 0x46903d
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov eax, dword [ebx + 0x34]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov edx, dword [eax]
call dword [edx + 0x10]
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x469027
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46905a
lea eax, [ebp - 0x70]
call fcn.00403e7c
ret