Function at 0x180002070
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
push r12
push r13
push r15
lea rbp, [rsp - 0x118]
sub rsp, 0x218
mov rax, qword [0x18003c040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor r13d, r13d
xorps xmm0, xmm0
cmp dword [0x18003dd70], r13d
mov r15d, ecx
mov r12d, r13d
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
mov qword [rbp + 0x80], r13
movups xmmword [rbp + 0x90], xmm0
je 0x1800020d4
lea eax, [r13 + 1]
jmp 0x180002853
mov rax, qword [0x18003ddf0]
mov qword [rsp + 0x240], rbx
mov qword [rsp + 0x248], rsi
mov qword [rsp + 0x250], rdi
mov qword [rsp + 0x210], r14
test rax, rax
jne 0x180002119
lea edx, [rax + 1]
mov ecx, 0x84c05e40
call fcn.18000a860
mov qword [0x18003ddf0], rax
test rax, rax
je 0x180002168
mov rdi, qword [0x18003dde8]
mov dword [rbp + 0x20], 0xc3050f
test rdi, rdi
jne 0x18000217d
lea rdi, [rax + 0x1000]
lea rbx, [rdi + 0x100000]
cmp rdi, rbx
jae 0x180002161
nop
mov r8d, 3
lea rdx, [rbp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, 3
je 0x180002171
inc rdi
cmp rdi, rbx
jb 0x180002140
mov qword [0x18003dde8], r13
mov qword [0x18003dd88], r13
jmp 0x1800021c4
mov qword [0x18003dde8], rdi
test rdi, rdi
je 0x180002168
add rdi, 0xcf8
lea rbx, [rdi + 0x1000]
cmp rdi, rbx
jae 0x1800021b1
mov r8d, 3
lea rdx, [rbp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, 3
je 0x1800021b4
inc rdi
cmp rdi, rbx
jb 0x180002190
mov rdi, r13
mov qword [0x18003dd88], rdi
test rdi, rdi
jne 0x1800022b3
xor eax, eax
lea rdi, [rbp + 0xb0]
mov ecx, 0x48
rep stosb byte [rdi], al
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x30]
cmp qword [rcx + 0x60], r12
je 0x1800022a9
mov dword [rsp + 0x68], 0x84c05e40
movzx edi, r13w
mov dword [rsp + 0x6c], 0x6ae69f02
mov dword [rsp + 0x70], 0xa7dc6e73
cmp di, 1
jae 0x180002240
movzx ebx, di
xor edx, edx
mov ecx, dword [rsp + rbx*4 + 0x68]
call fcn.18000a860
mov rcx, rax
test rax, rax
je 0x180002237
lea rax, [rbx + rbx*2]
lea rdx, [rbp + 0xb0]
lea rdx, [rdx + rax*8]
call fcn.18000b2f0
inc di
cmp di, 3
jb 0x180002207
mov r14d, r13d
lea rsi, [rbp + 0xc0]
nop word [rax + rax]
mov rdi, qword [rsi - 8]
test rdi, rdi
je 0x18000229c
mov eax, dword [rsi]
test eax, eax
je 0x18000229c
add eax, 0xfffffffc
mov ebx, eax
add rbx, rdi
cmp rdi, rbx
jae 0x180002294
nop dword [rax]
mov r8d, 3
lea rdx, [0x1800358c0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, 3
je 0x180002297
inc rdi
cmp rdi, rbx
jb 0x180002270
mov rdi, r13
test rdi, rdi
jne 0x1800022ac
inc r14d
add rsi, 0x18
cmp r14d, 1
jb 0x180002250
mov rdi, r13
mov qword [0x18003dd88], rdi
test r15d, r15d
je 0x1800022f6
xor edx, edx
mov ecx, 0x84c05e40
call fcn.18000a860
mov rbx, rax
test rax, rax
je 0x1800023cd
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x1800023cd
movsxd rdi, dword [rbx + 0x3c]
add rdi, rbx
cmp dword [rdi], 0x4550
jne 0x1800023cd
jmp 0x1800025c9
movzx eax, byte [rsp + 0x60]
lea rdx, [rbp + 0x30]
mov r9d, 0x4d
mov byte [rsp + 0x28], al
lea rcx, [rbp - 0x80]
mov dword [rbp + 0x30], 0x7ce212f8
mov dword [rbp + 0x34], 0x295714b1
mov dword [rbp + 0x38], 0xe8aa6b62
lea r8d, [r9 - 0x3d]
mov dword [rbp + 0x3c], 0x20b5ddde
mov dword [rbp + 0x40], 0xf348c846
mov dword [rbp + 0x44], 0x71d477ff
mov dword [rbp + 0x48], 0xee5778b5
mov dword [rbp + 0x4c], 0xd76cbed4
mov dword [rbp + 0x50], 0x3d449e5c
mov dword [rbp + 0x54], 0xd26b1f41
mov dword [rbp + 0x58], 0x1a7ddda7
mov dword [rbp + 0x5c], 0x1444596e
mov dword [rbp + 0x60], 0xf95ac1b3
mov dword [rbp + 0x64], 0xaf51b69b
mov dword [rbp + 0x68], 0x4fd14751
mov dword [rbp + 0x6c], 0xcbb12e4a
mov dword [rbp + 0x70], 0xa35cdc74
mov word [rsp + 0x20], 0x2e
call fcn.180002bc0
lea rax, [rbp - 0x80]
mov qword [rbp + 0x20], rax
mov rax, qword [0x18003dde0]
test rax, rax
jne 0x1800023d4
xor edx, edx
mov ecx, 0x84c05e40
call fcn.18000a860
mov edx, 0xfa2a9aa9
mov rcx, rax
call fcn.18000aba0
mov qword [0x18003dde0], rax
test rax, rax
jne 0x1800023d4
xor eax, eax
jmp 0x180002833
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x90]
call rax
mov dword [rsp + 0x50], r13d
lea rax, [rbp + 0x90]
mov qword [rsp + 0x48], r13
lea r9, [rbp + 0xa0]
mov dword [rsp + 0x40], 0x60
lea r8, [rbp - 0x10]
mov dword [rsp + 0x38], 1
lea rcx, [rbp - 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r13d
mov edx, 0x80100000
mov qword [rsp + 0x20], r13
mov dword [rbp - 0x10], 0x30
mov qword [rbp - 8], r13
mov dword [rbp + 8], 0x40
mov qword [rbp], rax
movdqu xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0xa0], xmm0
call fcn.18000f853
test eax, eax
je 0x180002467
mov rax, qword [rbp - 0x20]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1800027d5
mov rax, qword [rbp - 0x20]
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x8000000
xor r8d, r8d
mov edx, 0xf0005
mov dword [rsp + 0x20], 2
call fcn.18000f805
test eax, eax
jne 0x1800027d5
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x88]
mov dword [rsp + 0x48], 2
lea r8, [rbp - 0x30]
mov dword [rsp + 0x40], r13d
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
lea rdx, [r9 - 1]
mov qword [rbp + 0x88], r13
mov qword [rsp + 0x20], r13
call fcn.18000f812
test eax, eax
jne 0x1800027d5
mov rdi, qword [rbp - 0x30]
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x1800027d5
movsxd rsi, dword [rdi + 0x3c]
add rsi, rdi
cmp dword [rsi], 0x4550
jne 0x1800027d5
mov eax, dword [rsi + 0x50]
lea r9, [rbp + 0x80]
xor r8d, r8d
mov dword [rsp + 0x28], 4
lea rdx, [rbp - 0x28]
mov qword [rbp + 0x80], rax
mov dword [rsp + 0x20], 0x1000
lea rcx, [r8 - 1]
call fcn.18000f7b7
test eax, eax
jne 0x1800027d5
mov r8d, dword [rsi + 0x54]
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
call fcn.1800256b0
movsxd rdi, dword [rdi + 0x3c]
mov ebx, r13d
mov rcx, qword [rbp - 0x30]
add rdi, 0x11c
cmp r13w, word [rsi + 6]
jae 0x1800025a2
add rdi, rcx
mov eax, dword [rdi - 4]
test eax, eax
je 0x180002594
mov edx, dword [rdi]
mov r8d, eax
add rdx, rcx
mov ecx, dword [rdi - 8]
add rcx, qword [rbp - 0x28]
call fcn.1800256b0
mov rcx, qword [rbp - 0x30]
movzx eax, word [rsi + 6]
inc ebx
add rdi, 0x28
cmp ebx, eax
jb 0x180002575
mov rbx, qword [rbp - 0x28]
movsxd rdi, dword [rbx + 0x3c]
add rdi, rbx
test rcx, rcx
je 0x1800025c9
mov rdx, rcx
mov rcx, 0xffffffffffffffff
call fcn.18000f81f
mov rbx, qword [rbp - 0x28]
mov qword [rbp - 0x30], r13
mov rdx, rdi
mov rcx, rbx
call fcn.180001890
test eax, eax
jne 0x1800027c8
mov eax, dword [rdi + 0x88]
test eax, eax
je 0x1800027d5
mov esi, eax
add rsi, rbx
je 0x1800027d5
mov r15d, dword [rsi + 0x20]
mov r14d, r13d
add r15, rbx
cmp dword [rsi + 0x18], r12d
jbe 0x1800027c8
nop dword [rax]
mov ecx, dword [rsi + 0x24]
add rcx, rbx
mov edx, r14d
mov r8d, dword [r15 + rdx*4]
movzx edx, word [rcx + rdx*2]
add r8, rbx
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov edi, dword [rcx + rdx*4]
mov rcx, 0xffffffffffffffff
add rdi, rbx
inc rcx
cmp byte [r8 + rcx], r12b
jne 0x180002637
dec rcx
mov rdx, r8
call fcn.180003410
not eax
cmp eax, 0x55f33ee9
ja 0x18000273d
je 0x180002727
cmp eax, 0x44ac5182
ja 0x1800026e3
je 0x1800026cb
cmp eax, 0x1c7650a6
je 0x1800026b2
cmp eax, 0x1feeb616
je 0x180002699
cmp eax, 0x2df8c40f
jne 0x1800027bb
cmp byte [rdi + 3], 0xb8
jne 0x1800027d5
movzx eax, word [rdi + 4]
mov dword [0x18003dd84], eax
jmp 0x1800027b7
cmp byte [rdi + 3], 0xb8
jne 0x1800027d5
movzx eax, word [rdi + 4]
mov dword [0x18003dd9c], eax
jmp 0x1800027b7
cmp byte [rdi + 3], 0xb8
jne 0x1800027d5
movzx eax, word [rdi + 4]
mov dword [0x18003dd98], eax
jmp 0x1800027b7
cmp byte [rdi + 3], 0xb8
jne 0x1800027d5
mov eax, dword [rdi + 4]
mov dword [0x18003dda4], eax
jmp 0x1800027b7
cmp eax, 0x4f21bd4e
je 0x18000270e
cmp eax, 0x50b60c2e
jne 0x1800027bb
cmp byte [rdi + 3], 0xb8
jne 0x1800027d5
movzx eax, word [rdi + 4]
mov dword [0x18003dda8], eax
jmp 0x1800027b7
cmp byte [rdi + 3], 0xb8
jne 0x1800027d5
movzx eax, word [rdi + 4]
mov dword [0x18003ddac], eax
jmp 0x1800027b7
cmp byte [rdi + 3], 0xb8
jne 0x1800027d5
movzx eax, word [rdi + 4]
mov dword [0x18003dd80], eax
jmp 0x1800027b7
cmp eax, 0x6aab1661
je 0x1800027a7
cmp eax, 0x96da030b
je 0x180002796
cmp eax, 0xc599a33a
je 0x180002784
cmp eax, 0xc66c52a5
je 0x180002772
cmp eax, 0xe762b067
jne 0x1800027bb
cmp byte [rdi + 3], 0xb8
jne 0x1800027d5
movzx eax, word [rdi + 4]
mov dword [0x18003dd7c], eax
jmp 0x1800027b7
cmp byte [rdi + 3], 0xb8
jne 0x1800027d5
movzx eax, word [rdi + 4]
mov dword [0x18003dda0], eax
jmp 0x1800027b7
cmp byte [rdi + 3], 0xb8
jne 0x1800027d5
movzx eax, word [rdi + 4]
mov dword [0x18003dd78], eax
jmp 0x1800027b7
cmp byte [rdi + 3], 0xb8
jne 0x1800027d5
mov eax, dword [rdi + 4]
mov dword [0x18003dd90], eax
jmp 0x1800027b7
cmp byte [rdi + 3], 0xb8
jne 0x1800027d5
movzx eax, word [rdi + 4]
mov dword [0x18003dd94], eax
test eax, eax
je 0x1800027d5
inc r14d
cmp r14d, dword [rsi + 0x18]
jb 0x180002610
mov r12d, 1
mov dword [0x18003dd70], r12d
cmp qword [rbp - 0x28], r13
je 0x1800027f8
mov r9d, 0x8000
lea r8, [rbp + 0x80]
lea rdx, [rbp - 0x28]
mov rcx, 0xffffffffffffffff
call fcn.18000f7c4
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x180002814
mov rdx, rdi
mov rcx, 0xffffffffffffffff
call fcn.18000f81f
mov qword [rbp - 0x30], r13
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x180002822
call fcn.18000f7aa
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x180002830
call fcn.18000f7aa
mov eax, r12d
mov rdi, qword [rsp + 0x250]
mov rsi, qword [rsp + 0x248]
mov rbx, qword [rsp + 0x240]
mov r14, qword [rsp + 0x210]
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.18000f9f0
add rsp, 0x218
pop r15
pop r13
pop r12
pop rbp
ret