Function at 0x47f850
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x61eaa8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [esi + 0x8d0]
mov ebx, dword [esi + 0x83c]
mov ebp, dword [esi + 0x840]
add ebx, eax
add ebp, eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebp
call fcn.00576f1a
mov eax, dword [esp + 0x9c]
test eax, eax
mov dword [esp + 0x94], 0
je 0x47f8c8
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call fcn.005775b2
test eax, eax
je 0x47fc7b
lea edi, [esi + 0x8b0]
test edi, edi
je 0x47f8f5
cmp dword [edi + 4], 0
jne 0x47fb32
cmp dword [0x6bce84], 3
je 0x47f929
cmp dword [0x6bd948], 8
jg 0x47f929
mov edx, dword [esp + 0x9c]
push ebp
push ebx
push edx
mov ecx, edi
call fcn.00452090
push edi
lea ecx, [esp + 0x34]
call fcn.00452060
mov edi, eax
jmp 0x47faa8
xor ecx, ecx
push ecx
push ecx
mov edi, ebp
imul edi, ebx
lea eax, [esi + 0x8c4]
push eax
push ecx
lea eax, [esp + 0x70]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x44]
push eax
push ecx
mov dword [esp + 0x78], 0x28
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
mov word [esp + 0x84], 1
mov word [esp + 0x86], 0x20
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], edi
call dword [sym.imp.gdi32.dll_CreateDIBSection]
test eax, eax
je 0x47fc7b
cmp dword [esi + 0x8c4], 0
je 0x47fc7b
lea ecx, [esi + 0x8a8]
push eax
call fcn.00577879
push 0
push 0
lea eax, [esi + 0x8c8]
push eax
mov eax, dword [esp + 0x40]
push 0
lea edx, [esp + 0x70]
push edx
push eax
call dword [sym.imp.gdi32.dll_CreateDIBSection]
test eax, eax
je 0x47fc7b
cmp dword [esi + 0x8c8], 0
je 0x47fc7b
push eax
lea ecx, [esi + 0x8b0]
call fcn.00577879
mov edx, dword [esp + 0x34]
push 0
push 0
lea eax, [esi + 0x8cc]
push eax
push 0
lea ecx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.gdi32.dll_CreateDIBSection]
test eax, eax
je 0x47fc7b
cmp dword [esi + 0x8cc], 0
je 0x47fc7b
push eax
lea ecx, [esi + 0x8b8]
call fcn.00577879
lea eax, [esi + 0x8a8]
push eax
lea ecx, [esp + 0x34]
call fcn.00452060
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x9c]
push 0xcc0020
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
push eax
push ecx
push edx
push ebp
push ebx
push 0
push 0
lea ecx, [esp + 0x50]
call fcn.00451ff0
mov ecx, dword [esi + 0x8c4]
mov edx, dword [esi + 0x8c8]
lea eax, [edi*4]
push eax
push ecx
push edx
call fcn.005aad50
add esp, 0xc
lea eax, [esi + 0x8b0]
push eax
lea ecx, [esp + 0x34]
call fcn.00452060
mov edi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x34]
call fcn.0047f5f0
mov eax, dword [esi]
mov edx, dword [eax + 0x17c]
mov ecx, esi
call edx
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.user32.dll_GetWindowRect]
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.005772f8
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
push edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x24]
push eax
mov eax, dword [edx + 0x38]
lea ecx, [esp + 0x3c]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x17c]
mov ecx, esi
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x144]
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call edx
mov edx, dword [esp + 0x30]
push 0
push 0
lea eax, [esp + 0x30]
push eax
mov eax, dword [edx + 0x38]
lea ecx, [esp + 0x3c]
call eax
push edi
lea ecx, [esp + 0x34]
call fcn.00452060
mov eax, dword [0x6bce84]
test eax, eax
mov ecx, dword [esi + 0x8c8]
mov ebp, dword [esi + 0x8c4]
mov edi, dword [esi + 0x8cc]
mov dword [esp + 0x10], ecx
jle 0x47fc69
cmp eax, 2
jle 0x47fbf1
cmp eax, 3
jne 0x47fc69
lea edx, [esi + 0x8b8]
push edx
lea ecx, [esp + 0x34]
call fcn.00452060
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
imul eax, ebx
test eax, eax
jle 0x47fbc0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [eax]
mov eax, dword [ebp]
mov ecx, 0x64
sub ecx, dword [esi + 0x8c0]
push ecx
push eax
call fcn.00481480
add dword [esp + 0x18], 4
mov dword [edi], eax
add esp, 8
add edi, 4
add ebp, 4
sub dword [esp + 0x14], 1
jne 0x47fb8a
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0xb0]
push ebx
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.gdi32.dll_BitBlt]
jmp 0x47fc61
lea eax, [esi + 0x8b0]
push eax
lea ecx, [esp + 0x34]
call fcn.00452060
cmp dword [esi + 0x874], 0
mov dword [esp + 0x1c], eax
je 0x47fc14
mov ecx, dword [esp + 0x44]
jmp 0x47fc1e
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esi + 0x86c]
cmp dword [esi + 0x870], 0
je 0x47fc2d
mov eax, dword [esp + 0x40]
jmp 0x47fc37
mov eax, dword [esp + 0x48]
sub eax, dword [esi + 0x868]
push 0xcc0020
push 0
push 0
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esi + 0x86c]
push edx
mov edx, dword [esi + 0x868]
push edx
push ecx
mov ecx, dword [esp + 0xb8]
push eax
call fcn.00451ff0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x47fc6d
xor eax, eax
jmp 0x47fc70
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.005778fe
lea ecx, [esp + 0x30]
mov dword [esp + 0x94], 0xffffffff
call fcn.0057762c
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x88
ret 4