Function at 0x1800464e0
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, 0xc8
test rcx, rcx
je 0x180046c62
cmp byte [0x1802ea6a1], 0
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x18], r13
jne 0x180046c4b
mov rax, qword [0x1802ea778]
xor r13d, r13d
mov qword [rax + 0x38], rcx
mov rdx, qword [0x1802ea718]
test rdx, rdx
jne 0x1800467bc
mov qword [r11 + 0x18], rbp
mov ebp, 0xa623a735
mov qword [r11 + 0x20], rsi
mov qword [r11 - 8], rdi
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x20], r14
mov r14d, r13d
mov qword [r11 - 0x28], r15
nop word [rax + rax]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov r15, qword [rax + 0x10]
nop word [rax + rax]
movups xmm0, xmmword [r15 + 0x58]
movd eax, xmm0
movups xmmword [rsp + 0x30], xmm0
sub ax, 8
test r14d, r14d
je 0x1800465cf
mov r8, qword [rsp + 0x38]
mov r9d, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r10, [r8 + rax*2]
cmp r8, r10
je 0x1800465c6
movsx eax, byte [r8]
mov ecx, eax
sub al, 0x41
mov edx, ecx
or edx, 0x20
cmp al, 0x19
cmova edx, ecx
add r8, 2
xor edx, r9d
imul r9d, edx, 0x1000193
cmp r8, r10
jne 0x1800465a1
cmp r9d, r14d
jne 0x180046668
mov rbx, qword [r15 + 0x30]
movsxd rax, dword [rbx + 0x3c]
mov rcx, qword [rax + rbx + 0x88]
mov r12, rcx
mov esi, ecx
shr r12, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x180046668
mov edi, dword [rsi + 0x18]
mov r11d, r13d
test edi, edi
je 0x180046668
mov r10d, dword [rsi + 0x20]
add r10, rbx
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [r10]
mov r9d, 0x811c9dc5
add r8, rbx
movzx edx, byte [r8]
test dl, dl
je 0x180046657
nop dword [rax]
nop dword [rax + rax]
movsx eax, dl
lea r8, [r8 + 1]
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r8]
cmova ecx, eax
xor ecx, r9d
imul r9d, ecx, 0x1000193
test dl, dl
jne 0x180046630
cmp r9d, ebp
je 0x180046670
inc r11d
add r10, 4
cmp r11d, edi
jb 0x180046610
mov r15, qword [r15]
jmp 0x180046570
mov eax, dword [rsi + 0x24]
add rax, rbx
mov ecx, r11d
movzx edx, word [rax + rcx*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov edx, dword [rcx + rdx*4]
add rdx, rbx
cmp rdx, rsi
jbe 0x180046754
lea rax, [rsi + r12]
cmp rdx, rax
jae 0x180046754
movzx r8d, byte [rdx]
mov r14d, 0x811c9dc5
mov dword [rsp + 0xd0], r14d
mov r9d, r14d
mov dword [rsp + 0xd4], r14d
cmp r8b, 0x2e
je 0x1800466f6
movsx eax, r8b
sub r8b, 0x41
mov ecx, eax
or ecx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rdx + 1]
cmova ecx, eax
inc rdx
xor ecx, r14d
imul r14d, ecx, 0x1000193
cmp r8b, 0x2e
jne 0x1800466c2
mov dword [rsp + 0xd0], r14d
movzx r8d, byte [rdx + 1]
inc rdx
test r8b, r8b
je 0x180046743
nop dword [rax]
nop word [rax + rax]
movsx eax, r8b
lea rdx, [rdx + 1]
sub r8b, 0x41
mov ecx, eax
or ecx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rdx]
cmova ecx, eax
xor ecx, r9d
imul r9d, ecx, 0x1000193
test r8b, r8b
jne 0x180046710
mov dword [rsp + 0xd4], r9d
mov rbp, qword [rsp + 0xd0]
shr rbp, 0x20
jmp 0x180046550
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xe0]
mov qword [0x1802ea718], rdx
test rdx, rdx
jne 0x1800467bc
mov r8d, 0xa623a735
lea rdx, str.tried_to_resolve_invalid_import_0x_X_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
mov rdx, qword [0x1802ea718]
call rdx
mov rcx, qword [0x1802ea778]
mov dword [rcx + 0xa0], eax
mov r9, qword [0x1802ea778]
cmp qword [r9 + 0x28], r13
lea r8, [r9 + 0x28]
jne 0x180046806
mov rcx, qword [r9 + 0x38]
lea rdx, [0x18029cd30]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov r9, qword [0x1802ea778]
cmp qword [r9 + 0x28], r13
jne 0x180046806
lea rdx, str._g_globals__device_n
jmp 0x180046910
cmp qword [r9 + 0x30], r13
lea rdx, [r9 + 0x30]
jne 0x180046836
mov rcx, qword [r9 + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov r9, qword [0x1802ea778]
cmp qword [r9 + 0x30], r13
jne 0x180046836
lea rdx, str._g_globals__device_ctx_n
jmp 0x180046910
cmp byte [0x1802ea6a5], r13b
jne 0x180046880
lea rcx, [0x1802eab00]
call fcn.180055920
mov byte [0x1802ea6a5], al
test al, al
jne 0x180046879
lea rdx, str.sdk_not_initialized
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081b50
jmp 0x180046c52
mov r9, qword [0x1802ea778]
mov rcx, qword [0x1802eab78]
test rcx, rcx
je 0x180046c52
mov rax, qword [0x1802ec1c8]
lea r8, [r9 + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov rdx, qword [rax + 0x190]
xor eax, eax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rdx
lea rdx, [r9 + 0x14]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call fcn.180082560
mov rax, qword [0x1802ea778]
cmp dword [rax + 0x14], r13d
je 0x180046c52
cmp dword [rax + 0x18], r13d
je 0x180046c52
cmp qword [0x1802ea6a8], r13
jne 0x18004692d
call fcn.180046090
test al, al
jne 0x180046c52
mov qword [0x1802ea6a8], r13
lea rdx, str.failed_to_create_render_target_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
jmp 0x180046c52
call fcn.1800726f0
cmp byte [0x1802ea6a4], r13b
jne 0x180046a57
lea rcx, [rsp + 0x58]
call fcn.18000ec20
cmp byte [0x1802a7098], r13b
jne 0x18004695c
call fcn.180046f30
call fcn.180046fe0
movups xmm3, xmmword [rsp + 0x58]
lea rdx, [0x180047200]
movups xmm0, xmmword [rsp + 0x68]
lea rcx, [rsp + 0x80]
movaps xmmword [rsp + 0x80], xmm3
movaps xmmword [rsp + 0x90], xmm0
call fcn.18000afc0
test al, al
je 0x180046a4e
call fcn.180046f30
movss xmm1, dword [0x18029ddc8]
lea rcx, [0x180084190]
mov qword [rsp + 0x20], rcx
mov r9d, 0xb92c
movabs rcx, 0x2717a00e212a75ab
mov r8, rax
call fcn.18000b5f0
mov rcx, qword [0x1802ea778]
mov qword [rcx + 0xe0], rax
call fcn.180046fe0
movss xmm1, dword [0x18029ddc8]
mov r8, rax
movabs rcx, 0x7a064a9184a57bb4
mov qword [rsp + 0x20], r13
mov r9d, 0x21960
call fcn.18000b5f0
mov rcx, qword [0x1802ea778]
mov qword [rcx + 0xe8], rax
mov rcx, qword [0x1802ea778]
mov rdx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x28]
call fcn.18000eda0
test al, al
je 0x180046a47
lea rdx, str.gfx_backend_init_ok_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
mov byte [0x1802ea6a4], 1
mov byte [0x1802a7098], r13b
cmp byte [0x1802ea6a4], r13b
je 0x180046a98
mov rax, qword [0x1802ea778]
mov edx, dword [rax + 0x18]
mov ecx, dword [rax + 0x14]
call fcn.18000bb20
mov rax, qword [0x1802ea778]
lea r8, [0x1802ea6a8]
xor r9d, r9d
mov rcx, qword [rax + 0x30]
lea edx, [r9 + 1]
mov rax, qword [rcx]
call qword [rax + 0x108]
call fcn.180009190
mov rcx, rax
call fcn.18000db20
call fcn.180072e30
mov rax, qword [0x1802ea778]
mov rcx, qword [rax + 0xf0]
test rcx, rcx
je 0x180046c4b
cmp qword [rax + 0xf8], r13
je 0x180046c4b
cmp byte [rcx], r13b
je 0x180046c4b
cmp byte [rax + 0x100], r13b
jne 0x180046adf
mov byte [rax + 0x100], 1
jmp 0x180046c4b
lea rdx, str.process_unload_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
lea rdx, str.assets::reset_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
call fcn.18001f8f0
lea rdx, str.gfx::shutdown_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
call fcn.18000bb40
mov rcx, qword [0x1802ea6a8]
test rcx, rcx
je 0x180046b5f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1802ea6a8], r13
mov rax, qword [0x1802ea778]
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x180046b87
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1802ea778]
mov qword [rax + 0x28], r13
mov rax, qword [0x1802ea778]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x180046ba1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1802ea778]
mov qword [rax + 0x28], r13
lea rdx, str.hooks::shutdown_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
call fcn.1800725f0
lea rdx, str.dx11::unhook_n
lea rcx, [0x1802ecc10]
call fcn.180044770
lea rcx, [0x1802ecc10]
call fcn.180081550
call fcn.1800508b0
mov rcx, qword [0x1802e9fb0]
test rcx, rcx
je 0x180046c35
mov edx, 0xffffffff
nop word [rax + rax]
mov eax, dword [rcx]
test eax, eax
jne 0x180046c00
lock cmpxchg dword [rcx], edx
jne 0x180046c00
nop
mov rbx, qword [0x1802e9fb0]
test rbx, rbx
je 0x180046c2e
mov rcx, rbx
call fcn.1800459c0
mov edx, 0xe8
mov rcx, rbx
call fcn.180042b90
mov qword [0x1802e9fb0], r13
call fcn.180081bc0
mov rax, qword [0x1802ea778]
mov rcx, qword [rax + 0xf8]
mov byte [rcx], 1
mov byte [0x1802ea6a1], 0
mov rbx, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xb0]
add rsp, 0xc8
ret