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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x180153498]
xor rax, rsp
mov qword [rbp + 0x50], rax
cmp dword [0x1801570d4], 0
mov ebx, ecx
jne 0x180088942
xor r12d, r12d
lea edi, [r12 + 6]
lea r14d, [r12 + 2]
test ebx, ebx
je 0x180088dff
cmp ebx, 1
jl 0x18008889b
cmp ebx, 4
jle 0x18008894c
cmp ebx, 7
jne 0x180088dff
lea rcx, str.d3d9.dll
mov ebx, r12d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800888c0
mov ebx, 1
jmp 0x180088935
lea rcx, str.d3d10.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800888d7
mov ebx, r14d
jmp 0x180088935
lea rcx, str.d3d11.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800888f0
mov ebx, 3
jmp 0x180088935
lea rcx, str.d3d12.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180088909
mov ebx, 4
jmp 0x180088935
lea rcx, str.opengl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180088922
mov ebx, 5
jmp 0x180088935
lea rcx, str.vulcan_1.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
cmovne ebx, edi
cmp dword [0x1801570d4], r12d
je 0x180088885
mov eax, 0xfffffffc
jmp 0x180088a50
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
xor ecx, ecx
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x180], rsi
mov dword [rbp - 0x60], 0x50
mov dword [rbp - 0x5c], 3
mov qword [rbp - 0x50], r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x60]
lea rax, str.Kiero
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
mov qword [rbp - 0x20], rax
movdqa xmmword [rbp - 0x30], xmm1
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rax, qword [rbp - 0x48]
lea r8, str.Kiero_DirectX_Window
mov rdx, qword [rbp - 0x20]
mov r9d, 0xcf0000
mov qword [rsp + 0x58], r12
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea edx, [rbx - 1]
mov rsi, rax
cmp edx, 1
jbe 0x180088dde
cmp ebx, 3
jne 0x180088dde
lea rcx, str.d3d11.dll
mov qword [rsp + 0x188], r15
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r15, rax
test rax, rax
jne 0x180088a75
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea eax, [rbx - 6]
mov r15, qword [rsp + 0x188]
mov rsi, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1800f2170
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180088b07
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180088b07
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xd86c9e12
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180088b02
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180088ae0
cmp r8d, 0x7910f85a
je 0x180088b0c
test r9d, r9d
jne 0x180088ac0
mov rax, qword [rax]
jmp 0x180088a90
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, str.D3D11CreateDeviceAndSwapChain
add rax, r10
mov rcx, r15
call rax
test rax, rax
je 0x180088c05
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x60], 0x64
mov qword [rsp + 0x58], rcx
xor r9d, r9d
lea rcx, [rbp + 0x40]
mov dword [rsp + 0x64], 0x64
mov qword [rsp + 0x50], rcx
xor r8d, r8d
lea rcx, [rbp - 0x78]
mov dword [rsp + 0x68], 0x3c
mov qword [rsp + 0x48], rcx
lea edx, [r9 + 1]
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x6c], 1
movups xmm0, xmmword [rsp + 0x60]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x48]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov qword [rsp + 0x70], 0x1c
movsd xmm1, qword [rsp + 0x70]
mov dword [rbp + 0x48], 0xa100
mov dword [rbp + 0x4c], 0xb000
movaps xmmword [rbp - 0x10], xmm0
movsd qword [rbp], xmm1
mov dword [rbp + 8], r12d
mov qword [rbp + 0xc], 1
mov dword [rbp + 0x14], 0x20
mov dword [rbp + 0x18], 1
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], 1
mov dword [rbp + 0x30], r14d
call rax
test eax, eax
jns 0x180088c26
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, 0xffffffff
jmp 0x180088a40
mov edx, 8
mov ecx, 0xcd
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rcx, qword [rbp - 0x80]
mov r8, rax
mov qword [0x180157188], rax
mov rdx, qword [rcx]
lea rcx, [r8 + 0x90]
movups xmm0, xmmword [rdx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rax + 0x60], xmm0
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rax + 0x70], xmm1
movups xmm0, xmmword [rdx + 0x80]
movups xmmword [rax + 0x80], xmm0
mov rax, qword [rbp - 0x78]
mov rax, qword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub r14, 1
jne 0x180088ca1
movups xmm0, xmmword [rax]
lea edx, [r14 + 9]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov rax, qword [rax + 0x50]
mov qword [rcx + 0x50], rax
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
lea rax, [r8 + 0x1e8]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x180088d34
call fcn.180092160
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x80], r12
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], r12
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, rsi
mov qword [rbp - 0x70], r12
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
mov dword [0x1801570d4], 3
jmp 0x180088a40
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, 0xfffffffe
jmp 0x180088a48
xor eax, eax
jmp 0x180088a50