Function at 0x47b0c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x616c98
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push edi
mov eax, dword [0x6963f4]
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.0056f38b
mov eax, dword [esp + 0x9c]
test eax, eax
mov dword [esp + 0x94], 0
je 0x47b138
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call fcn.0056fa23
test eax, eax
je 0x47b4eb
lea edi, [esi + 0x8b0]
test edi, edi
je 0x47b165
cmp dword [edi + 4], 0
jne 0x47b3a2
cmp dword [0x6b41bc], 3
je 0x47b199
cmp dword [0x6b4b68], 8
jg 0x47b199
mov edx, dword [esp + 0x9c]
push ebp
push ebx
push edx
mov ecx, edi
call fcn.004502e0
push edi
lea ecx, [esp + 0x34]
call fcn.004502b0
mov edi, eax
jmp 0x47b318
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 0x47b4eb
cmp dword [esi + 0x8c4], 0
je 0x47b4eb
lea ecx, [esi + 0x8a8]
push eax
call fcn.0056fcea
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 0x47b4eb
cmp dword [esi + 0x8c8], 0
je 0x47b4eb
push eax
lea ecx, [esi + 0x8b0]
call fcn.0056fcea
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 0x47b4eb
cmp dword [esi + 0x8cc], 0
je 0x47b4eb
push eax
lea ecx, [esi + 0x8b8]
call fcn.0056fcea
lea eax, [esi + 0x8a8]
push eax
lea ecx, [esp + 0x34]
call fcn.004502b0
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.00450240
mov ecx, dword [esi + 0x8c4]
mov edx, dword [esi + 0x8c8]
lea eax, [edi*4]
push eax
push ecx
push edx
call fcn.005a34c0
add esp, 0xc
lea eax, [esi + 0x8b0]
push eax
lea ecx, [esp + 0x34]
call fcn.004502b0
mov edi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x34]
call fcn.0047ae60
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.0056f769
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.004502b0
mov eax, dword [0x6b41bc]
test eax, eax
mov ecx, dword [esi + 0x8c8]
mov ebp, dword [esi + 0x8c4]
mov edi, dword [esi + 0x8cc]
mov dword [esp + 0x10], ecx
jle 0x47b4d9
cmp eax, 2
jle 0x47b461
cmp eax, 3
jne 0x47b4d9
lea edx, [esi + 0x8b8]
push edx
lea ecx, [esp + 0x34]
call fcn.004502b0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
imul eax, ebx
test eax, eax
jle 0x47b430
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.0047ccf0
add dword [esp + 0x18], 4
mov dword [edi], eax
add esp, 8
add edi, 4
add ebp, 4
sub dword [esp + 0x14], 1
jne 0x47b3fa
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 0x47b4d1
lea eax, [esi + 0x8b0]
push eax
lea ecx, [esp + 0x34]
call fcn.004502b0
cmp dword [esi + 0x874], 0
mov dword [esp + 0x1c], eax
je 0x47b484
mov ecx, dword [esp + 0x44]
jmp 0x47b48e
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esi + 0x86c]
cmp dword [esi + 0x870], 0
je 0x47b49d
mov eax, dword [esp + 0x40]
jmp 0x47b4a7
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.00450240
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x47b4dd
xor eax, eax
jmp 0x47b4e0
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.0056fd6f
lea ecx, [esp + 0x30]
mov dword [esp + 0x94], 0xffffffff
call fcn.0056fa9d
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x88
ret 4