Function at 0x1800b78e0
Capabilities:
Access peb ldr_data
Encode data using xor
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbp
push rbx
lea rbp, [rax - 0x5f]
sub rsp, 0xb8
cmp byte [0x18030ce4c], 0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
je 0x1800b7adf
lea rcx, [rbp + 0x67]
call fcn.1800b5120
lea rcx, [rbp + 0x67]
movss xmm9, dword [rax]
call fcn.1800b5120
movss xmm8, dword [rax + 4]
call fcn.180023130
movss xmm6, dword [0x18030adb4]
lea rcx, [0x18030ae08]
mov rbx, rax
call fcn.180020120
movss xmm7, dword [0x18012b630]
lea r8, [rbp + 0x67]
movaps xmm1, xmm9
movss dword [rbp + 0x6b], xmm8
subss xmm1, dword [0x18030adb0]
movaps xmm0, xmm9
movss dword [rbp + 0x73], xmm8
subss xmm0, xmm7
movss dword [rsp + 0x20], xmm6
mov r9d, eax
lea rdx, [rbp + 0x6f]
mov rcx, rbx
subss xmm1, xmm7
movss dword [rbp + 0x67], xmm0
movss dword [rbp + 0x6f], xmm1
call fcn.180035e20
movss xmm6, dword [0x18030adb4]
lea rcx, [0x18030ae08]
call fcn.180020120
movaps xmm0, xmm9
movss dword [rbp + 0x6b], xmm8
addss xmm0, dword [0x18030adb0]
mov r9d, eax
movss dword [rbp + 0x73], xmm8
lea r8, [rbp + 0x67]
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp + 0x6f]
mov rcx, rbx
addss xmm0, xmm7
movss dword [rbp + 0x67], xmm0
movaps xmm0, xmm9
addss xmm0, xmm7
movss dword [rbp + 0x6f], xmm0
call fcn.180035e20
movss xmm6, dword [0x18030adb4]
lea rcx, [0x18030ae08]
call fcn.180020120
movaps xmm1, xmm8
movss dword [rbp + 0x67], xmm9
subss xmm1, dword [0x18030adb0]
movaps xmm0, xmm8
movss dword [rbp + 0x6f], xmm9
subss xmm0, xmm7
movss dword [rsp + 0x20], xmm6
mov r9d, eax
lea r8, [rbp + 0x67]
lea rdx, [rbp + 0x6f]
mov rcx, rbx
subss xmm1, xmm7
movss dword [rbp + 0x6b], xmm0
movss dword [rbp + 0x73], xmm1
call fcn.180035e20
movss xmm6, dword [0x18030adb4]
lea rcx, [0x18030ae08]
call fcn.180020120
movaps xmm0, xmm8
movss dword [rbp + 0x67], xmm9
addss xmm0, dword [0x18030adb0]
mov r9d, eax
movss dword [rbp + 0x6f], xmm9
lea r8, [rbp + 0x67]
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp + 0x6f]
mov rcx, rbx
addss xmm0, xmm7
movss dword [rbp + 0x6b], xmm0
movaps xmm0, xmm8
addss xmm0, xmm7
movss dword [rbp + 0x73], xmm0
call fcn.180035e20
lea rcx, [0x18030ae08]
call fcn.180020120
movss xmm2, dword [0x18012b620]
lea rdx, [rbp + 0x67]
mov r9d, eax
movss dword [rbp + 0x67], xmm9
mov rcx, rbx
movss dword [rbp + 0x6b], xmm8
mov dword [rsp + 0x20], recv
call fcn.180034450
cmp byte [0x18030ce4b], 0
mov qword [rsp + 0xb0], rdi
je 0x1800b7b50
call fcn.180023130
lea rcx, [0x18030adf8]
mov rdi, rax
call fcn.180020120
movd xmm7, dword [reloc.WLDAP32.dll_Ordinal_30]
lea rcx, [rbp + 0x6f]
cvtdq2ps xmm7, xmm7
mov ebx, eax
call fcn.1800b5120
lea rcx, [rbp + 0x77]
movss xmm6, dword [rax + 4]
call fcn.1800b5120
mov r9d, ebx
mov dword [rsp + 0x20], Ordinal_41
movaps xmm2, xmm7
lea rdx, [rbp + 0x67]
mov rcx, rdi
movss xmm0, dword [rax]
movss dword [rbp + 0x67], xmm0
movss dword [rbp + 0x6b], xmm6
call fcn.180034450
cmp byte [0x18030ce4a], 0
je 0x1800b7e47
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1800b7be7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1800b7be7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x11d599cd
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1800b7be2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1800b7bc0
cmp r8d, 0xddf8c60d
je 0x1800b7bec
test r9d, r9d
jne 0x1800b7ba0
mov rax, qword [rax]
jmp 0x1800b7b70
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, dword [reloc.XINPUT1_3.dll_Ordinal_2]
add rax, r10
call rax
test ax, ax
jns 0x1800b7e47
mov rax, qword [0x18030d9c8]
movss xmm7, dword [0x18012b66c]
mov qword [rsp + 0xa8], r12
xor r12d, r12d
mov qword [rsp + 0x90], r15
mov r15, qword [rax]
test r15, r15
je 0x1800b7e37
mov r15, qword [r15 + 8]
test r15, r15
je 0x1800b7e37
mov rax, qword [0x18030d9d0]
mov qword [rsp + 0xa0], r13
mov r13, qword [rax]
test r13, r13
je 0x1800b7e2f
mov r13, qword [r13 + 0x18]
test r13, r13
je 0x1800b7e2f
movss xmm8, dword [0x18012b5e8]
mov edi, r12d
movsd xmm9, qword [0x1801593f0]
mov qword [rsp + 0xe8], rsi
mov esi, r12d
movaps xmmword [rsp + 0x40], xmm10
xorps xmm10, xmm10
mov qword [rsp + 0x98], r14
nop dword [rax]
movsxd rax, edi
cmp rax, qword [r13 + 0x108]
jae 0x1800b7e0c
mov rbx, qword [r13 + 0x100]
test rbx, rbx
je 0x1800b7e01
mov rbx, qword [rbx + rsi]
test rbx, rbx
je 0x1800b7e01
cmp rbx, r15
je 0x1800b7e01
comiss xmm10, dword [rbx + 0x280]
jae 0x1800b7e01
movsd xmm0, qword [r15 + 0x90]
movsd xmm1, qword [rbx + 0x90]
movaps xmm2, xmm0
movaps xmm3, xmm0
subss xmm2, xmm1
movaps xmm0, xmm1
shufps xmm3, xmm3, 0x55
movss xmm1, dword [r15 + 0x98]
subss xmm1, dword [rbx + 0x98]
shufps xmm0, xmm0, 0x55
subss xmm3, xmm0
mulss xmm2, xmm2
xorps xmm0, xmm0
mulss xmm1, xmm1
mulss xmm3, xmm3
addss xmm3, xmm2
addss xmm3, xmm1
ucomiss xmm0, xmm3
ja 0x1800b7d54
xorps xmm0, xmm0
sqrtss xmm0, xmm3
jmp 0x1800b7d5c
movaps xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movd xmm0, dword [0x1802e4f48]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm1
jb 0x1800b7e01
call fcn.180023b60
xor r8d, r8d
lea rcx, [rbp + 0x67]
mov rdx, rbx
mov r14, rax
call fcn.1800b4fc0
mov rcx, qword [rbp + 0x67]
call fcn.1800b64a0
test al, al
je 0x1800b7e01
movss xmm0, dword [r14 + 0xc]
movaps xmm1, xmm9
mulss xmm0, xmm8
subss xmm0, dword [rbp + 0x6b]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm1, dword [r14 + 8]
movaps xmm6, xmm0
mulss xmm1, xmm8
subss xmm1, dword [rbp + 0x67]
cvtps2pd xmm0, xmm1
movaps xmm1, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
ucomiss xmm1, xmm0
ja 0x1800b7df1
sqrtss xmm0, xmm0
jmp 0x1800b7df6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm7, xmm0
jbe 0x1800b7e01
movaps xmm7, xmm0
mov r12, rbx
inc edi
add rsi, 0x10
jmp 0x1800b7cb0
movaps xmm10, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xe8]
test r12, r12
je 0x1800b7e2f
mov rcx, r12
call fcn.1800be360
mov r13, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0xb8
pop rbx
pop rbp
ret