Function at 0x1400bd880
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 [0x140304440]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp byte [0x1402e0061], 0
movups xmm0, xmmword [0x1402e0050]
movzx eax, word [0x1402e0060]
mov word [rsp + 0x50], ax
movups xmmword [rsp + 0x40], xmm0
je 0x1400bda41
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400bda01
movdqa xmm0, xmmword [str.2222222222222222]
lea rcx, [rsp + 0x44]
movdqa xmm4, xmmword [0x1402e0750]
movdqa xmm3, xmmword [0x1402e0e10]
movdqa xmm5, xmmword [0x1402e0780]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x1402e07e0]
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
psrad xmm1, 4
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
psrad xmm1, 4
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 0x1400bd910
movaps xmm6, xmmword [rsp + 0x80]
cmp r8d, 0x12
jge 0x1400bda41
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x1400bda10
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400bda50
lea rdx, [rsp + 0x40]
lea rcx, [0x140304c08]
call fcn.1400641f0
lea rdx, str.MedalOverlay
lea rcx, str.MedalOverlayClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140309b08], rax
test rax, rax
jne 0x1400bdb66
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 0x1400bdb27
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400bdb27
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x2e8702ba
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400bdb22
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400bdb00
cmp r8d, 0x1a5bf7d
je 0x1400bdb2c
test r9d, r9d
jne 0x1400bdae0
mov rax, qword [rax]
jmp 0x1400bdab0
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 [0x140309b08]
mov rdi, qword [rsp + 0xa0]
movdqa xmm0, xmmword [0x1402e0660]
lea rdx, [rsp + 0x60]
mov rcx, rax
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rax, qword [0x140309c00]
mov ecx, 1
call rax
mov rdx, qword [0x140309c00]
xor ecx, ecx
mov ebx, eax
call rdx
mov rcx, qword [0x140309b08]
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 [0x140309c98]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140242520
add rsp, 0x90
pop rbx
ret