Function at 0x140035a10
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x140077040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
movzx r14d, r8b
mov byte [rsp + 0x30], r8b
mov rbx, rdx
mov qword [rsp + 0x40], rdx
mov r12, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
call fcn.140002ed0
mov rcx, rax
test rax, rax
je 0x1400361dc
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
xor r15d, r15d
mov dword [rbp - 0x5c], r15d
mov byte [rbp - 0x58], r15b
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
lea ecx, [r15 + 0x40]
call fcn.140039944
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
lea ecx, [r15 + 0x28]
call fcn.140039944
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x40], rax
lea rcx, [rsp + 0x70]
call fcn.140038210
nop
mov edx, 0xc98
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x140035b46
mov eax, dword [rbx]
mov edx, 0xc98
mov rcx, r12
cmp eax, 0xffffffff
jne 0x140035b27
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r8d, r8d
jmp 0x140035b35
inc eax
movsxd rdi, eax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8, rdi
xor r9d, r9d
mov edx, 0x14e
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, r15d
nop dword [rax]
lea edx, [rdi + 0x466]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
inc edi
cmp edi, 0x40
jb 0x140035b50
mov r13d, r15d
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
mov ecx, dword [rbx]
cmp ecx, 0xffffffff
cmove cx, r15w
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
cmp r13d, eax
jae 0x140036124
lea edx, [r13 + 0x466]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov ecx, r13d
mov rax, qword [rbx + 8]
bt rax, rcx
jae 0x140035bcc
mov r8d, 1
jmp 0x140035bd4
test r14b, r14b
jne 0x140035be4
xor r8d, r8d
lea edx, [r13 + 0x466]
mov rcx, r12
call qword [sym.imp.USER32.dll_CheckDlgButton]
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x30]
call fcn.14005af20
mov r9d, 0x100
lea r8, [rbp - 0x30]
lea edx, [r13 + 0x466]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
test eax, eax
je 0x140036117
mov r14d, 4
mov rax, qword gs:[0x58]
mov r15, qword [rax]
mov eax, dword [r15 + r14]
cmp dword [0x140082030], eax
jle 0x140035d4c
lea rcx, [0x140082030]
call fcn.140039dec
cmp dword [0x140082030], 0xffffffff
jne 0x140035d4c
xorps xmm0, xmm0
movups xmmword [0x140082038], xmm0
movups xmmword [0x140082048], xmm0
xor ebx, ebx
mov qword [0x140082038], rbx
mov qword [0x140082040], rbx
lea ecx, [rbx + 0x48]
call fcn.140039944
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140082038], rax
mov qword [0x140082048], rbx
mov qword [0x140082050], rbx
lea ecx, [rbx + 0x28]
call fcn.140039944
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140082048], rax
cmp byte [0x140081aa0], bl
jne 0x140035d31
mov byte [0x140081aa0], 1
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
lea rdx, str.GetProcessDefaultCpuSets
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SetProcessDefaultCpuSets
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetSystemCpuSetInformation
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProcessDefaultCpuSetMasks
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SetProcessDefaultCpuSetMasks
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
lea rcx, [0x14005e1d0]
call fcn.140039ba8
nop
lea rcx, [0x140082030]
call fcn.140039d80
jmp 0x140035d4e
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea rax, [rbp - 0x30]
mov rdi, rsi
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140035d70
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
ja 0x1400361d6
mov qword [rsp + 0x68], 7
cmp rdi, 7
ja 0x140035dbf
mov qword [rsp + 0x60], rdi
add rdi, rdi
mov r8, rdi
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.14005a880
mov word [rsp + rdi + 0x50], bx
xor r11d, r11d
jmp 0x140035e2a
mov rsi, rdi
or rsi, 7
cmp rsi, rax
jbe 0x140035dd0
mov rsi, rax
jmp 0x140035ddd
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rax, [rsi + 1]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.14000a6a0
mov rbx, rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
add rdi, rdi
mov r8, rdi
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.14005a880
xor r11d, r11d
mov word [rdi + rbx], r11w
lea rsi, [r11 - 1]
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova r9, qword [rsp + 0x50]
mov eax, dword [0x14006e194]
mov r10, qword [rsp + 0x60]
cmp r10, 1
jb 0x140035eb2
lea rdx, [r10 - 1]
mov rcx, rsi
cmp rdx, 0xffffffffffffffff
cmovb rcx, rdx
lea rbx, [r9 + rcx*2]
mov r8, rbx
lea rcx, [0x14006e194]
sub r8, rcx
nop dword [rax]
cmp word [rbx], ax
jne 0x140035ea3
mov edi, 1
nop word [rax + rax]
movzx edx, word [rcx]
cmp word [r8 + rcx], dx
jne 0x140035e9c
add rcx, 2
sub rdi, 1
jne 0x140035e80
sub rbx, r9
sar rbx, 1
jmp 0x140035eb5
lea rcx, [0x14006e194]
cmp rbx, r9
je 0x140035eb2
sub rbx, 2
sub r8, 2
jmp 0x140035e70
mov rbx, rsi
mov rcx, qword [rsp + 0x40]
mov edi, r11d
cmp dword [rcx], 0xffffffff
cmovne edi, dword [rcx]
mov ecx, dword [r15 + r14]
cmp dword [0x140081a34], ecx
jle 0x140035f41
lea rcx, [0x140081a34]
call fcn.140039dec
cmp dword [0x140081a34], 0xffffffff
jne 0x140035f36
xorps xmm0, xmm0
movups xmmword [0x140081a40], xmm0
movups xmmword [0x140081a50], xmm0
movups xmmword [0x140081a60], xmm0
movups xmmword [0x140081a70], xmm0
movups xmmword [0x140081a80], xmm0
movups xmmword [0x140081a90], xmm0
lea rcx, [0x140081a40]
call fcn.140038070
lea rcx, [0x14005e1c0]
call fcn.140039ba8
nop
lea rcx, [0x140081a34]
call fcn.140039d80
mov eax, dword [0x14006e194]
mov r10, qword [rsp + 0x60]
xor r15d, r15d
mov r8d, r15d
cmp edi, 0xffffffff
cmovne r8d, edi
mov r9, qword [0x140081a90]
mov rcx, qword [r9 + 8]
mov rdi, r9
cmp byte [rcx + 0x19], r15b
jne 0x140035f82
cmp dword [rcx + 0x1c], r8d
jl 0x140035f78
jg 0x140035f70
cmp dword [rcx + 0x20], r13d
jl 0x140035f78
mov rdi, rcx
mov rcx, qword [rcx]
jmp 0x140035f7c
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], r15b
je 0x140035f62
cmp byte [rdi + 0x19], r15b
jne 0x140036011
cmp r8d, dword [rdi + 0x1c]
jl 0x140036011
jg 0x140035f9a
cmp r13d, dword [rdi + 0x20]
jl 0x140036011
cmp rdi, r9
je 0x140036011
mov ecx, dword [0x140081a74]
cmp dword [rdi + 0x24], ecx
jae 0x140036011
cmp rbx, 0xffffffffffffffff
jne 0x1400360a8
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
sub rcx, r10
cmp rcx, 1
jb 0x140035fed
lea rcx, [r10 + 1]
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x50]
cmp rdi, 7
cmova rcx, qword [rsp + 0x50]
mov word [rcx + r10*2], ax
mov word [rcx + r10*2 + 2], r15w
jmp 0x1400360a8
mov qword [rsp + 0x20], 1
lea r9, [0x14006e194]
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.140037050
jmp 0x1400360a8
cmp rbx, 0xffffffffffffffff
je 0x1400360a8
lea rax, [r10 - 1]
cmp rbx, rax
jne 0x1400360a8
cmp rbx, r10
ja 0x14003604a
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rax, qword [rsp + 0x50]
mov word [rax + rbx*2], r15w
jmp 0x1400360a8
mov rdx, rbx
sub rdx, r10
mov rdi, qword [rsp + 0x68]
mov rax, rdi
sub rax, r10
cmp rdx, rax
ja 0x140036092
mov qword [rsp + 0x60], rbx
lea r8, [rsp + 0x50]
cmp rdi, 7
cmova r8, qword [rsp + 0x50]
lea rdi, [r8 + r10*2]
test rdx, rdx
je 0x140036087
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r10]
mov word [r8 + rax*2], r15w
jmp 0x1400360a8
mov word [rsp + 0x20], r15w
mov r9, rdx
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.14000d8b0
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova r8, qword [rsp + 0x50]
lea edx, [r13 + 0x466]
mov rcx, r12
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14003610c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036107
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400361d0
call fcn.140039910
movzx r14d, byte [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
inc r13d
cmp r13d, 0x40
jb 0x140035b80
mov rcx, qword [rbp - 0x40]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x14003615d
mov r8, qword [rdi + 0x10]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140002360
mov rcx, rdi
mov rdi, qword [rdi]
mov edx, 0x28
call fcn.140039910
cmp byte [rdi + 0x19], 0
je 0x140036132
mov rcx, qword [rbp - 0x40]
mov edx, 0x28
call fcn.140039910
mov r8, qword [rbp - 0x50]
mov r8, qword [r8 + 8]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400389c0
mov edx, 0x40
mov rcx, qword [rbp - 0x50]
call fcn.140039910
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400361a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400398f0
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140040a70
nop
call fcn.14000d080
nop
mov ecx, 0x80004005
call fcn.140002c40
int3