Function at 0x421070
Capabilities:
Get number of processors

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rdi, r8
mov r8d, dword [rcx]
mov rbx, rcx
mov esi, edx
cmp r8d, 0xffffffff
je 0x421180
mov r10, qword [rcx + 8]
test r10, r10
je 0x4210d0
mov rbp, qword [0x004471b0]
mov rax, qword [rbp]
mov rcx, qword [rax + 0x10]
cmp edx, 1
je 0x421200
cmp edx, 3
je 0x421190
mov qword [rsp + 0x20], rdi
mov r9d, esi
mov rdx, r10
call sym.SymGetTypeInfo
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea eax, [r8 + 0x10000000]
cmp eax, 0xffffeff
jbe 0x421140
cmp r8d, 0xfffffeff
jbe 0x4212b0
lea eax, [r8 + 0x100]
cmp eax, 0x17
ja 0x4211e0
cmp esi, 2
je 0x4214f0
ja 0x4211c0
test esi, esi
je 0x421480
lea rdx, [0x0043fb00]
mov r9, rdi
xor ecx, ecx
movzx r10d, byte [rdx + rax*2]
movzx r8d, byte [rdx + rax*2 + 1]
mov edx, r10d
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.lookup_base_type_in_data_model
mov rdx, qword [0x004471b0]
mov rdx, qword [rdx]
cmp eax, dword [rdx + 0x1478]
jae 0x421180
cmp esi, 2
je 0x4214a8
cmp esi, 3
je 0x4214c0
test esi, esi
je 0x421470
test byte [0x0042e320], 1
jne 0x421420
nop dword [rax]
xor eax, eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov qword [rsp + 0x20], rdi
mov r9d, 3
mov rdx, r10
call sym.SymGetTypeInfo
test eax, eax
je 0x421180
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
mov eax, 1
jmp 0x4210c7
cmp esi, 5
jne 0x421510
lea rdx, [0x0043fb00]
movzx eax, byte [rdx + rax*2]
mov dword [rdi], eax
mov eax, 1
jmp 0x4210c7
lea eax, [r8 + 0xe7]
cmp eax, 5
ja case.0x4211fe.228
lea rdx, [0x0043efac]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
lea rax, [rsp + 0x38]
xor r9d, r9d
mov rdx, r10
mov qword [rsp + 0x20], rax
call sym.SymGetTypeInfo
mov r8d, dword [rbx]
mov r10, qword [rbx + 8]
test eax, eax
mov rax, qword [rbp]
mov rcx, qword [rax + 0x10]
je 0x4210b7
cmp dword [rsp + 0x38], 0x10
jne 0x4210b7
lea rax, [rsp + 0x3c]
mov r9d, 5
mov rdx, r10
mov qword [rsp + 0x20], rax
call sym.SymGetTypeInfo
test eax, eax
je 0x421538
mov rax, qword [rbp]
mov rdx, qword [rbx + 8]
mov r9d, 2
mov r8d, dword [rbx]
mov rcx, qword [rax + 0x10]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call sym.SymGetTypeInfo
test eax, eax
je 0x421538
mov r8, qword [rsp + 0x40]
mov r10, qword [rbx + 8]
mov eax, r8d
cmp r8, rax
je 0x4215ad
mov rax, qword [rbp]
mov r8d, dword [rbx]
mov rcx, qword [rax + 0x10]
jmp 0x4210b7
mov r8d, 0x473
lea rdx, str..._programs_winedbg_types.c
lea rcx, str.type__id___dbg_itype_first
call qword [sym.imp.ucrtbase.dll__assert]
mov r8d, dword [rbx]
jmp 0x4210eb
cmp esi, 2
je 0x421580
cmp esi, 5
je 0x421570
test esi, esi
je 0x421480
test byte [0x0042e320], 1
je 0x421180
mov dword [rsp + 0x20], esi
lea r9, str.unsupported__u_for_XMM_register_n
nop word [rax + rax]
lea r8, str.types_get_info
lea rdx, [0x0042e320]
xor ecx, ecx
call sym.wine_dbg_log.constprop.0_10
xor eax, eax
jmp 0x421182
cmp esi, 2
je 0x421591
cmp esi, 5
je 0x421560
test esi, esi
je 0x421480
test byte [0x0042e320], 1
je 0x421180
mov dword [rsp + 0x20], esi
lea r9, str.unsupported__u_for_seg_ptr_n
jmp 0x421310
cmp esi, 2
je 0x421490
cmp esi, 3
je 0x4215a2
test esi, esi
je 0x421470
test byte [0x0042e320], 1
je 0x421180
mov dword [rsp + 0x20], esi
lea r9, str.unsupported__u_for_a_string_n
jmp 0x421310
cmp esi, 2
je 0x42154c
cmp esi, 5
je 0x421570
test esi, esi
je 0x421480
test byte [0x0042e320], 1
je 0x421180
mov dword [rsp + 0x20], esi
lea r9, str.unsupported__u_for_lguint_t_n
jmp 0x421310
cmp esi, 2
je 0x42154c
cmp esi, 5
je 0x421560
test esi, esi
je 0x421480
test byte [0x0042e320], 1
je 0x421180
mov dword [rsp + 0x20], esi
lea r9, str.unsupported__u_for_lgint_t_n
jmp 0x421310
mov dword [rsp + 0x28], eax
lea r9, str.unsupported__u_for_pointer_type__d_n
mov dword [rsp + 0x20], esi
lea r8, str.types_get_info
lea rdx, [0x0042e320]
xor ecx, ecx
call sym.wine_dbg_log.constprop.0_10
xor eax, eax
jmp 0x4210c7
test byte [0x0042e320], 1
je 0x421180
mov dword [rsp + 0x20], r8d
lea r9, str.unsupported_type_id_0x_lx_n
jmp 0x421310
mov dword [rdi], 0xe
mov eax, 1
jmp 0x4210c7
mov dword [rdi], 0x10
mov eax, 1
jmp 0x4210c7
mov rax, qword [0x004471b0]
mov rdx, qword [rax]
mov eax, 8
test rdx, rdx
je 0x4214b0
nop dword [rax]
mov rax, qword [rdx + 0x58]
movsxd rax, dword [rax + 4]
mov qword [rdi], rax
mov eax, 1
jmp 0x4210c7
shl rax, 4
add rax, qword [rdx + 0x1470]
cmp qword [rax + 8], 0
jne 0x4214db
cmp dword [rax], 0xffffffff
je 0x421180
movdqu xmm0, xmmword [rax]
mov eax, 1
movups xmmword [rdi], xmm0
jmp 0x4210c7
lea rdx, [0x0043fb00]
movzx eax, byte [rdx + rax*2 + 1]
mov qword [rdi], rax
mov eax, 1
jmp 0x4210c7
test byte [0x0042e320], 1
je 0x421180
mov dword [rsp + 0x28], r8d
lea r9, str.unsupported__u_for_itype__lx_n
mov dword [rsp + 0x20], esi
jmp 0x42142f
mov rax, qword [rbp]
mov r8d, dword [rbx]
mov r10, qword [rbx + 8]
mov rcx, qword [rax + 0x10]
jmp 0x4210b7
mov qword [rdi], 8
mov eax, 1
jmp 0x4210c7
mov dword [rdi], 6
mov eax, 1
jmp 0x4210c7
mov dword [rdi], 7
mov eax, 1
jmp 0x4210c7
mov qword [rdi], 0x10
mov eax, 1
jmp 0x4210c7
mov qword [rdi], 4
mov eax, 1
jmp 0x4210c7
mov dword [rdi], 0xffffff02
jmp 0x4211a7
mov edx, dword [rsp + 0x3c]
lea r9, [rsp + 0x48]
mov rcx, r10
call sym.lookup_base_type_in_data_model
test eax, eax
je 0x4210c7
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov eax, 1
jmp 0x4210c7