Function at 0x4b4dd0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x61f497
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push ebp
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
and ebp, 0xe0dfffff
push esi
mov esi, ecx
mov ecx, dword [esp + 0x38]
mov edx, ebp
push edi
push eax
mov eax, dword [esp + 0x38]
or edx, 0x280000
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00465450
test al, al
je 0x4b506e
push 0x64
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x1c], 0
je 0x4b4e57
push 4
mov ecx, eax
call fcn.00493ab0
jmp 0x4b4e59
xor eax, eax
mov ecx, dword [esi + 0xcc]
mov dword [esp + 0x1c], 0xffffffff
shr ecx, 1
test cl, 1
mov dword [esi + 0x158], eax
je 0x4b506c
push 0x1b4
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
test edi, edi
mov dword [esp + 0x1c], 1
je 0x4b4f3c
mov edx, dword [0x65329c]
lea ecx, [esp + 0x40]
push edx
push 0
push 0x646b4c
call fcn.004e9b90
mov dword [esp + 0x10], 1
mov eax, dword [0x6e0ea0]
mov byte [esp + 0x1c], 2
test eax, eax
jne 0x4b4ecd
mov eax, 0x6fdb50
mov ecx, dword [0x65329c]
push ecx
push 0
push eax
lea ecx, [esp + 0x44]
call fcn.004e9b90
mov ebx, 3
mov dword [esp + 0x10], ebx
mov edx, dword [esi]
push ebp
mov ecx, esi
mov dword [esp + 0x20], ebx
call dword [edx + 0x2cc]
mov ecx, edi
mov ebp, eax
call fcn.0044b450
mov ecx, edi
mov dword [esp + 0x1c], 4
mov dword [edi], vtable.wxTextCtrl.0
call fcn.00497a70
lea eax, [esp + 0x40]
lea ecx, [esp + 0x38]
push eax
push 0x701030
push ebp
push 0x7011f4
push 0x7011ec
push ecx
push 0xffffffffffffffff
push esi
mov ecx, edi
call fcn.00497b60
jmp 0x4b4f3e
xor edi, edi
mov dword [esi + 0x150], edi
mov edi, dword [sym.imp.MSVCRT.dll_free]
test bl, 2
je 0x4b4f6e
mov edx, dword [esp + 0x38]
and ebx, 0xfffffffd
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4b4f6e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4b4f6e
push eax
call edi
add esp, 4
or ebp, 0xffffffff
test bl, 1
mov dword [esp + 0x1c], ebp
je 0x4b4f94
mov eax, dword [esp + 0x40]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, ebp
je 0x4b4f94
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4b4f94
push eax
call edi
add esp, 4
mov ecx, dword [esi + 0x150]
test ecx, ecx
jne 0x4b4fa5
xor al, al
jmp 0x4b506e
mov edx, dword [ecx]
push 0x20
call dword [edx + 0x310]
mov ecx, dword [esi + 0x150]
mov edx, dword [esp + 0x2c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2cc]
mov ecx, dword [esi + 0x150]
mov edx, dword [0x701c5c]
push esi
push 0
mov eax, dword [ecx + 0x28]
push 0x4b5200
push edx
push ebp
push eax
call fcn.004e9970
mov ecx, dword [esi + 0x150]
mov edx, dword [0x70044c]
push esi
push 0
mov eax, dword [ecx + 0x28]
push 0x4b5190
push edx
push ebp
push eax
call fcn.004e9970
mov ecx, dword [esi + 0x150]
mov edx, dword [0x700380]
push esi
push 0
mov eax, dword [ecx + 0x28]
push 0x4b51f0
push edx
push ebp
push eax
call fcn.004e9970
mov edi, dword [esi + 0x150]
mov esi, dword [esi + 0x158]
push 0x44
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0x1c], 7
je 0x4b505a
push 0
push 5
push 0x820
push 2
push edi
mov ecx, eax
call fcn.00491b60
jmp 0x4b505c
xor eax, eax
mov edx, dword [esi]
push eax
mov eax, dword [esi + 0x34]
mov ecx, esi
push eax
mov dword [esp + 0x24], ebp
call dword [edx + 0x10]
mov al, 1
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20