Function at 0x180047570
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
sub rsp, 0xa8
cmp byte [0x180195a0c], 0
je 0x18004781c
mov rax, qword [0x1801959b8]
mov qword [r11 + 0x10], rbx
test rax, rax
jne 0x180047667
mov rax, qword gs:[0x60]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 8], rdi
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x180047638
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x180047638
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x180047633
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x180047610
cmp edx, 0x95466b05
je 0x1800476fe
test r8d, r8d
jne 0x1800475f0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x18004764e
cmp qword [rax + 0x30], 0
jne 0x1800475c0
xor eax, eax
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xc0]
mov qword [0x1801959b8], rax
mov ecx, dword [reloc.XINPUT1_3.dll_Ordinal_2]
call rax
test ax, ax
jns 0x180047814
call fcn.180046e70
mov rbx, rax
test rax, rax
je 0x180047814
cmp dword [0x180194aa4], 1
jne 0x180047814
movaps xmmword [rsp + 0x90], xmm6
lea rcx, [rsp + 0x30]
movss xmm6, dword [0x180195b64]
xor r8d, r8d
mulss xmm6, dword [0x1800828ac]
mov rdx, rax
movaps xmmword [rsp + 0x80], xmm7
movaps xmmword [rsp + 0x70], xmm8
movaps xmmword [rsp + 0x60], xmm9
movss xmm9, dword [0x180195b60]
mulss xmm9, dword [0x1800828ac]
call fcn.180043900
mov ecx, dword [0x180195a18]
sub ecx, 1
je 0x18004772f
sub ecx, 1
je 0x180047727
cmp ecx, 1
jne 0x18004771a
mov r8d, ecx
jmp 0x180047735
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x180047650
mov ebx, dword [rsp + 0x38]
movsd xmm8, qword [rsp + 0x30]
jmp 0x18004774d
mov r8d, 8
jmp 0x180047735
mov r8d, 7
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180043900
movsd xmm8, qword [rsp + 0x20]
mov ebx, dword [rsp + 0x28]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x40], xmm8
lea rcx, [rsp + 0xb0]
mov dword [rsp + 0x48], ebx
call fcn.180043700
movss xmm0, dword [rsp + 0xb4]
cvtps2pd xmm1, xmm6
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x180082948]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x180082948]
movaps xmm7, xmm0
movss xmm0, dword [rsp + 0xb0]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm9
subsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm9, xmmword [rsp + 0x60]
addsd xmm7, xmm0
movaps xmm6, xmmword [rsp + 0x90]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsd2ss xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x80]
ucomiss xmm1, xmm0
ja 0x1800477dd
sqrtss xmm0, xmm0
jmp 0x1800477e2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov eax, dword [0x180194a78]
lea ecx, [rax + rax*4]
add ecx, ecx
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18004780e
lea rcx, [rsp + 0x50]
movsd qword [rsp + 0x50], xmm8
mov dword [rsp + 0x58], ebx
call fcn.180047160
movaps xmm8, xmmword [rsp + 0x70]
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa8
ret