Function at 0x47baf0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4dc7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x504f68]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
push edi
call fcn.00477ee0
add esp, 4
test al, al
jne 0x47bb3d
xor al, al
jmp 0x47c06d
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x18], eax
cmp edi, ebx
je 0x47bb5e
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0x4f49bc
push edi
call edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x80], ebx
cmp eax, ebx
je 0x47bb36
mov ecx, dword [esi]
cmp ecx, dword [esi + 8]
jge 0x47bb7c
mov edx, dword [esi + 4]
cmp edx, dword [esi + 0xc]
jl 0x47bd8b
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x20]
mov byte [esp + 0x80], 1
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x170]
call eax
test eax, eax
jge 0x47bbac
mov byte [esp + 0x80], bl
mov eax, dword [esp + 0x20]
jmp 0x47c044
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x24], eax
cmp ecx, ebx
je 0x47bbd3
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x4f4cb8
push ecx
call eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x80], 2
cmp eax, ebx
jne 0x47bbfb
mov byte [esp + 0x80], bl
cmp ecx, ebx
je 0x47c050
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
jmp 0x47c050
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jge 0x47bc38
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x47bc28
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x80], bl
mov eax, dword [esp + 0x20]
jmp 0x47c044
xor ecx, ecx
cmp dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
jle 0x47bd5c
mov dword [esp + 0x88], ebx
mov eax, 3
mov word [esp + 0x44], ax
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x80], 4
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov ebp, dword [edx]
lea eax, [esp + 0x88]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov dword [eax + 0xc], ebx
call ecx
xor ebx, ebx
test eax, eax
jl 0x47bd23
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x47bd23
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x58]
push edx
push eax
call fcn.0047baf0
test al, al
je 0x47bd23
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x58]
jle 0x47bf4e
mov ecx, dword [esp + 0x64]
cmp ecx, dword [esp + 0x5c]
jle 0x47bf4e
mov edx, dword [esp + 0x8c]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.USER32.dll_UnionRect]
test eax, eax
je 0x47bd23
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [eax], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x47bd49
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x2c]
inc ecx
cmp ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
jl 0x47bc48
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x47bd74
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x80], bl
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x47bd8b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x8c]
push esi
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
test ecx, ecx
jle 0x47be71
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x38]
test edx, edx
jle 0x47be71
mov dword [esp + 0x24], ebx
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
mov eax, dword [esp + 0x24]
jne 0x47bf58
cmp eax, ebx
je 0x47bf58
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xdc]
call eax
test eax, eax
jne 0x47be23
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jle 0x47be23
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
cmp ecx, eax
jle 0x47be23
mov edx, dword [esi + 4]
add edx, eax
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xd8]
call eax
test eax, eax
jne 0x47be5a
mov eax, dword [esp + 0x28]
cmp eax, ebx
jle 0x47be5a
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
cmp ecx, eax
jle 0x47be5a
mov edx, dword [esi]
add edx, eax
mov dword [esi + 8], edx
mov byte [esp + 0x80], bl
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x47be71
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x9c]
call eax
test eax, eax
jne 0x47c039
cmp dword [esp + 0x1c], ebx
je 0x47c039
xor ebp, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x88], ebx
mov byte [esp + 0x80], 7
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x88]
call fcn.004780a0
test al, al
je 0x47c008
mov dword [esp + 0x28], ebx
mov byte [esp + 0x80], 8
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
push edx
call fcn.00478200
add esp, 8
test al, al
je 0x47bff0
mov edi, dword [esp + 0x28]
push edi
lea esi, [esp + 0x6c]
call fcn.00477ee0
add esp, 4
test al, al
jne 0x47bf64
mov byte [esp + 0x80], 7
cmp edi, ebx
je 0x47bf2a
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x47bfdc
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x47bfdc
lea edx, [esp + 0x44]
push edx
jmp 0x47bd28
mov byte [esp + 0x80], bl
jmp 0x47c044
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x88]
add ebp, dword [esp + 0x68]
add dword [esp + 0x24], ecx
cmp dword [esp + 0x1c], eax
je 0x47bfad
mov esi, eax
cmp eax, ebx
je 0x47bf92
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x47bfa9
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x80], 7
cmp edi, ebx
je 0x47bfc8
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 6
cmp eax, ebx
je 0x47bfdc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 0x14
mov dword [esp + 0x2c], eax
jl 0x47bead
jmp 0x47c023
mov byte [esp + 0x80], 7
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x47c008
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x47c023
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x24]
add dword [eax], ebp
add dword [eax + 8], ebp
add dword [eax + 4], ecx
add dword [eax + 0xc], ecx
mov byte [esp + 0x80], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x47c050
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x47c06b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8