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

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14031d480]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp byte [0x1402f60e9], 0
movups xmm0, xmmword [0x1402f60d8]
movzx eax, word [0x1402f60e8]
mov word [rsp + 0x50], ax
movups xmmword [rsp + 0x40], xmm0
je 0x1400bfae4
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400bfa99
movdqa xmm0, xmmword [str.2222222222222222]
lea rcx, [rsp + 0x44]
movdqa xmm4, xmmword [0x1402f66a0]
movdqa xmm3, xmmword [0x1402f6d70]
movdqa xmm5, xmmword [0x1402f66d0]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x1402f6730]
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400bf9a0
movaps xmm6, xmmword [rsp + 0x80]
cmp r8d, 0x12
jge 0x1400bfae4
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x1400bfab0
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400bfaf0
lea rdx, [rsp + 0x40]
lea rcx, [0x14031dc48]
call fcn.140064c20
lea rdx, str.MedalOverlay
lea rcx, str.MedalOverlayClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140323518], rax
test rax, rax
jne 0x1400bfc06
mov rax, qword gs:[0x60]
mov qword [rsp + 0xa0], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400bfbc7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400bfbc7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x4f68709c
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400bfbc2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400bfba0
cmp r8d, 0x55862f97
je 0x1400bfbcc
test r9d, r9d
jne 0x1400bfb80
mov rax, qword [rax]
jmp 0x1400bfb50
mov ecx, dword [rdi + 0x24]
xor r8d, r8d
add rcx, r10
movzx edx, word [rcx + r9*2]
mov r9d, 2
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, str.Overlay_not_found
add rax, r10
xor ecx, ecx
call rax
mov rax, qword [0x140323518]
mov rdi, qword [rsp + 0xa0]
movdqa xmm0, xmmword [0x1402f65b0]
lea rdx, [rsp + 0x60]
mov rcx, rax
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rax, qword [0x140323600]
mov ecx, 1
call rax
mov rdx, qword [0x140323600]
xor ecx, ecx
mov ebx, eax
call rdx
mov rcx, qword [0x140323518]
xor r9d, r9d
mov dword [rsp + 0x30], 0x40
xor r8d, r8d
mov dword [rsp + 0x28], ebx
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [0x140323690]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140256390
add rsp, 0x90
pop rbx
ret