Function at 0x4dc950
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5e1219
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.00495350
xor ebx, ebx
push ebx
push 0x2000
mov dword [esp + 0x50], ebx
call fcn.004976f0
mov ebp, eax
mov eax, dword [0x677e28]
add esp, 8
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 1
call fcn.004018c0
mov dword [esp + 0x24], 0x5ecdf8
mov edi, dword [esp + 0x64]
mov byte [esp + 0x48], 2
mov dword [esp + 0x18], 0x12
push ebx
cmp dword [edi], ebx
je 0x4dca24
push 0x64
call fcn.004976f0
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
cmp esi, ebx
mov byte [esp + 0x48], 3
je 0x4dca1b
mov ebp, dword [edi + 4]
mov ecx, esi
call fcn.00495350
lea edi, [esi + 0x10]
mov byte [esp + 0x48], 4
mov ecx, edi
call fcn.004ab2e0
push ebp
mov ecx, edi
mov byte [esp + 0x4c], 5
mov dword [esi], 0x5fb808
call fcn.004ab310
mov ebp, dword [esp + 0x10]
mov dword [esi + 0x60], ebx
mov byte [esp + 0x48], 2
jmp 0x4dca4d
xor esi, esi
mov byte [esp + 0x48], 2
jmp 0x4dca4d
push 0x10
call fcn.004976f0
add esp, 8
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x48], 6
je 0x4dca44
mov ecx, eax
call fcn.00495350
jmp 0x4dca46
xor eax, eax
mov byte [esp + 0x48], 2
mov esi, eax
mov ecx, dword [esp + 0x54]
push ecx
lea ecx, [esp + 0x38]
call fcn.0059d986
lea ecx, [esp + 0x34]
call fcn.0059ddc8
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x38]
push edx
push 0x20
push eax
call fcn.004954d0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4dcaa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], eax
call fcn.0059dddc
mov ecx, dword [esp + 0x34]
push ebx
push ebx
push ecx
push edi
lea ecx, [esp + 0x44]
call fcn.00494b30
jmp 0x4dce54
lea ecx, [esp + 0x34]
call fcn.0059dddc
cmp dword [esp + 0x58], ebx
je 0x4dcabe
mov dword [esp + 0x18], 0x1012
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
mov edx, dword [esi]
push eax
push ecx
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x4dce54
mov edx, dword [esi]
push 2
push ebx
mov ecx, esi
call dword [edx + 0x10]
mov ecx, dword [esp + 0x60]
cmp eax, 0xffffffff
mov dword [ecx], eax
je 0x4dce54
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x54]
push edx
push 4
push ebp
push eax
mov dword [esp + 0x64], ebx
call fcn.00495570
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x4dcb2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x34]
push ebx
push ebx
push ecx
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], eax
call fcn.00494b30
jmp 0x4dcb36
cmp dword [esp + 0x54], ebx
je 0x4dce54
mov edx, dword [esi]
push 4
push ebp
mov ecx, esi
call dword [edx + 0x20]
cmp eax, ebx
je 0x4dce54
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edx
mov dword [esp + 0x64], ebx
call fcn.00495570
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x4dcb88
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
push ebx
push ebx
push eax
push edi
lea ecx, [esp + 0x44]
call fcn.00494b30
jmp 0x4dcb92
cmp dword [esp + 0x54], ebx
je 0x4dce54
cmp dword [esp + 0x5c], ebx
jne 0x4dcbe0
push 1
push ebx
lea ecx, [esp + 0x38]
call fcn.004456f0
push 2
push ebx
lea ecx, [esp + 0x38]
mov ebp, eax
call fcn.004456f0
push ebx
push ebp
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.004456f0
mov eax, edi
mov dword [esp + 0x14], edi
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x4dcbd1
dec eax
or eax, 0xfffffff8
inc eax
je 0x4dcbdc
sub edi, eax
add edi, 8
mov dword [esp + 0x14], edi
mov ebp, dword [esp + 0x10]
mov edx, dword [esi]
lea eax, [esp + 0x14]
push 4
push eax
mov ecx, esi
call dword [edx + 0x20]
cmp eax, ebx
je 0x4dce54
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x54]
push ecx
push 0x2000
push ebp
push edx
mov dword [esp + 0x64], ebx
call fcn.00495570
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x4dcc38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
push ebx
push ebx
push eax
push edi
lea ecx, [esp + 0x44]
call fcn.00494b30
or eax, 0xffffffff
jmp 0x4dcc41
mov eax, dword [esp + 0x54]
cmp ax, bx
je 0x4dcc58
mov edx, dword [esi]
and eax, 0xffff
push eax
push ebp
mov ecx, esi
call dword [edx + 0x20]
cmp eax, ebx
jne 0x4dcbf6
jmp 0x4dce54
mov eax, dword [esp + 0x64]
cmp dword [eax], ebx
jne 0x4dccdc
push 1
push ebx
lea ecx, [esp + 0x38]
call fcn.004456f0
push 2
push ebx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.004456f0
push 0
push edi
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.004456f0
test bl, 7
je 0x4dccd6
push 1
push 0
lea ecx, [esp + 0x38]
call fcn.004456f0
push 2
push 0
lea ecx, [esp + 0x38]
mov ebp, eax
call fcn.004456f0
push 0
push ebp
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.004456f0
mov edx, dword [esi]
and edi, 7
mov eax, 8
mov ecx, esi
sub eax, edi
push eax
push str.blahbla
call dword [edx + 0x20]
test eax, eax
je 0x4dce4e
mov ebp, dword [esp + 0x10]
xor ebx, ebx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
mov eax, dword [esp + 0x38]
xor edi, edi
cmp eax, 0xffffffff
je 0x4dccf9
push eax
call fcn.00495550
add esp, 4
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x38], 0xffffffff
je 0x4dcd20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
push ebx
push ebx
push eax
push edi
lea ecx, [esp + 0x44]
call fcn.00494b30
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x34]
push eax
call fcn.0059d986
lea ecx, [esp + 0x34]
call fcn.0059ddc8
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
push 0x20
push edx
call fcn.004954d0
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4dcd81
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], eax
call fcn.0059dddc
mov eax, dword [esp + 0x34]
push ebx
push ebx
push eax
push edi
lea ecx, [esp + 0x44]
call fcn.00494b30
jmp 0x4dce54
lea ecx, [esp + 0x34]
call fcn.0059dddc
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x38]
push ebx
push ebx
mov eax, dword [ecx]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4dcddb
call fcn.0055b201
mov dword [eax], 0x16
call fcn.0055b201
mov ecx, dword [eax]
push ebx
cmp ecx, 9
push ebx
jne 0x4dcdc8
mov eax, dword [esp + 0x3c]
push eax
push 0x659938
jmp 0x4dcdd2
mov ecx, dword [esp + 0x3c]
push ecx
push 0x659924
lea ecx, [esp + 0x44]
call fcn.00497790
lea edx, [esp + 0x64]
mov dword [esp + 0x64], ebx
push edx
call fcn.004ac890
add esp, 4
lea ecx, [esp + 0x30]
push 0x2000
push ebp
call fcn.004458f0
cmp ax, bx
je 0x4dce28
and eax, 0xffff
push ebp
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004ac8a0
add esp, 0xc
lea ecx, [esp + 0x30]
push 0x2000
push ebp
call fcn.004458f0
cmp ax, bx
jne 0x4dce00
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004ac8e0
mov edx, dword [esp + 0x6c]
add esp, 4
lea ecx, [esp + 0x30]
mov dword [edx], eax
call fcn.00445a40
mov dword [esp + 0x1c], 1
jmp 0x4dce54
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push ebp
call fcn.0059def7
add esp, 4
cmp esi, ebx
je 0x4dce6a
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x34]
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 0
call fcn.00401af0
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xffffffff
call fcn.004953f0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x1c