Function at 0x140178840
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1403a1f58]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rcx, qword [rcx]
mov rdx, qword [0x14039fd90]
mov r12d, 4
mov r8d, 4
call fcn.1400eeaf0
mov rbx, rax
mov rcx, qword [rdi]
mov rdx, qword [0x14039fd90]
mov r8d, 4
call fcn.1400eeaf0
mov r14, rax
mov rcx, qword [rdi]
call fcn.14010bfa0
mov qword [rsp + 0x48], rax
mov rcx, qword [rdi]
call fcn.1400f4f90
mov qword [rsp + 0x30], rax
mov rcx, qword [rdi]
call fcn.14012e6b0
mov qword [rsp + 0x68], rax
mov rcx, qword [rdi]
call fcn.1400f4f40
mov qword [rsp + 0x60], rax
mov rcx, qword [rdi]
call fcn.140178eb0
mov qword [rsp + 0x58], rax
mov rcx, qword [rdi]
call fcn.1400fcab0
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi]
call fcn.1400f52e0
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x18]
mov r15, qword [rax + 8]
mov eax, dword [0x1403a95e8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
lea rax, [0x14029afb0]
mov qword [rsp + 0x20], rax
xor ebp, ebp
jmp 0x140178954
mov r13, rbp
mov rax, qword [rdi + 0x10]
mov rbp, r13
cmp r15, qword [rax + 8]
je 0x140178cd5
mov qword [rbx + 8], r15
mov eax, 0x3b
test r15b, 1
je 0x140178986
mov rcx, qword [r15 - 1]
shr ecx, 0xc
cmp ecx, 0xb0
mov rax, rcx
mov edx, 0x2c
cmovae rax, rdx
cmp ecx, 0xac
cmove rax, r12
lea rcx, [0x1403a4ae0]
mov rax, qword [rcx + rax*8]
mov qword [rbx], rax
mov r8, qword [rsi]
mov rax, qword [rsi + 0x10]
dec r8
nop
mov rcx, r8
mov qword [rsi], r8
mov r15, qword [rax + r8*8]
mov rdx, qword [0x14039fd90]
cmp r15, rdx
je 0x1401789cd
mov r9, qword [rdi + 0x10]
lea r8, [rcx - 1]
cmp r15, qword [r9 + 8]
jne 0x1401789a0
cmp r15, rdx
jne 0x140178940
lea rdx, [rcx - 1]
mov qword [rsi], rdx
mov r15, qword [rax + rcx*8 - 8]
mov qword [r14 + 8], r15
test r15b, 1
jne 0x140178a10
mov rax, qword [0x1403a4cb8]
mov qword [r14], rax
lea rcx, [rsp + 0xa8]
call fcn.140167a40
mov rax, qword [rsp + 0xa8]
jmp 0x140178a6b
mov rax, qword [r15 - 1]
shr eax, 0xc
cmp eax, 0xb0
mov ecx, eax
mov edx, 0x2c
cmovae ecx, edx
cmp eax, 0xac
mov eax, 4
cmove ecx, eax
lea rax, [0x1403a4ae0]
mov rax, qword [rax + rcx*8]
mov qword [r14], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax + 0x698]
mov rax, qword [rax + 0x10]
mov rcx, qword [r15 - 1]
mov rax, qword [rax + 0x30]
shr ecx, 0xc
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 8], rax
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x2b0]
mov r13, rax
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xc0]
test al, al
je 0x140178af0
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], r15
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x140178c00
movsxd rax, dword [r15 + 7]
mov qword [rsp + 0x28], 0xffffffffffffffff
test rax, rax
jle 0x140178c00
mov rdx, qword [rbx + 8]
xor ecx, ecx
nop word cs:[rax + rax]
mov r8, qword [r15 + rcx*8 + 0x17]
cmp r8, rdx
je 0x140178bf5
inc rcx
cmp rax, rcx
jne 0x140178ad0
jmp 0x140178c00
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x140]
mov qword [rsp + 0x28], 0xffffffffffffffff
test al, al
je 0x140178c00
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x1a0]
test al, al
je 0x140178b5e
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], r15
mov rax, qword [r15 + 0x1f]
mov r13, qword [rsp + 0x38]
mov qword [r13 + 8], rax
mov rcx, r13
lea rdx, [rsp + 0x78]
call fcn.140146400
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 8], rax
mov rcx, r13
call fcn.140153cf0
mov r13, rax
jmp 0x140178c00
mov r12, qword [rbx + 8]
mov rax, qword [rdi + 8]
mov rdx, qword [rax + 0x50]
lea rcx, [rsp + 0x78]
call fcn.1401c0520
lea rax, method..virtual_0
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], 0
lea rcx, [r15 - 1]
lea rdx, [rsp + 0x78]
call fcn.1400fcbe0
mov r8, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
call fcn.14014a360
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 8], rax
cmp rax, qword [0x14039fd90]
je 0x140178bed
call fcn.140154a10
mov rcx, qword [rdi]
lea rdx, str._s_in__s
mov r8, rax
mov r9, r13
call fcn.140186870
mov r13, rax
mov r12d, 4
jmp 0x140178c00
mov qword [rsp + 0x28], rcx
nop word [rax + rax]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x3f]
mov rcx, qword [rsp + 0x68]
mov qword [rcx + 8], rax
cmp rax, qword [0x14039fd90]
je 0x140178c4d
mov rax, qword [rax + 0xf]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 8], rax
mov rax, qword [rcx]
call qword [rax + 0x2b0]
mov rcx, qword [rdi]
lea rdx, str._s__from__s_
mov r8, r13
mov r9, rax
call fcn.140186870
mov r13, rax
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xc0]
test al, al
je 0x140178c90
test rbp, rbp
je 0x140178943
mov rcx, qword [rdi]
lea rdx, str._s_____s_n
mov r8, rbp
mov r9, r13
call fcn.140186870
mov r13, rax
jmp 0x140178943
test rbp, rbp
je 0x140178cb1
mov rcx, qword [rdi]
lea rdx, str._s_____s
mov r8, qword [rsp + 0x20]
mov r9, rbp
call fcn.140186870
mov r8, rax
jmp 0x140178cb6
mov r8, qword [rsp + 0x20]
mov rcx, qword [rdi]
lea rdx, str._s_____s_n
mov r9, r13
call fcn.140186870
mov qword [rsp + 0x20], rax
xor r13d, r13d
jmp 0x140178943
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14025cd50
mov rax, qword [rsp + 0x20]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret