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

Disassembly:
push rbp
push rsi
push r13
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xa8
mov r13, rcx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edx, dword [0x1800447b0]
xor esi, esi
cmp dword [0x180059018], 2
mov r14, rax
movups xmm0, xmmword [str.IX_M_y2._]
mov dword [rbp - 0x19], edx
mov r8d, esi
movzx edx, byte [0x1800447b4]
lea eax, [rsi + 4]
movups xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x15], dl
jl 0x180001edc
movdqa xmm0, xmmword [0x180052200]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x1800521b0]
movdqa xmm4, xmmword [0x180052210]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x1800521d0]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x60], xmm8
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
movd xmm8, eax
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1800521e0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800521e0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x180001dc0
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp r8d, 0x15
jge 0x180001f21
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x15
jl 0x180001ef0
lea rax, [rbp + 0x77]
mov dword [rbp + 0x77], esi
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x49]
lea rax, [rbp - 0x29]
mov qword [rbp - 0x41], rax
call fcn.180002780
test eax, eax
je 0x180001f4d
mov eax, dword [rbp + 0x77]
mov dword [rbp + 0x6f], eax
test eax, eax
jne 0x180001f81
jmp 0x180001f50
mov dword [rbp + 0x6f], esi
lea rdx, str.EscapeFromTarkov
lea rcx, str.UnityWndClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [rbp + 0x6f]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbp + 0x6f], esi
je 0x180001f50
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rbp + 0x6f]
lea rdx, [rbp - 0x29]
mov qword [rbp - 0x29], rax
lea rax, [rbp + 0x7f]
mov qword [rbp - 0x21], rax
lea rax, [rbp + 0x77]
mov qword [rbp - 0x19], rax
mov qword [rbp + 0x77], rsi
mov qword [rbp + 0x7f], rsi
call fcn.180002800
cmp qword [rbp + 0x77], rsi
je 0x180002385
mov eax, dword [rbp + 0x6f]
lea rdx, [rbp - 0x29]
mov qword [rbp - 0x29], rax
lea rax, [rbp + 0x77]
mov qword [rbp - 0x21], rax
mov eax, dword [r14 + 0x50]
mov dword [rbp - 0x19], eax
mov dword [rbp - 0x15], 0x40
call fcn.180002ab0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x77]
mov r8, r14
mov rdx, r13
call fcn.180001940
test eax, eax
jne 0x18000201c
lea rdx, str.Error_0x0002
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x180002143
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, r14
mov rcx, r13
call fcn.180001ad0
test eax, eax
jne 0x180002050
lea rdx, str.Error_0x0003
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x180002143
mov qword [rsp + 0xd0], rbx
mov ecx, 0x64
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x90], r15
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx ebx, word [r14 + 0x14]
movzx edi, si
mov r15d, dword [rbp + 0x6f]
add rbx, 0x28
mov r12, qword [rbp + 0x77]
cmp si, word [r14 + 6]
jae 0x1800020ef
add rbx, r14
nop dword [rax]
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rbx - 4]
lea rdx, [rbp - 0x49]
add rax, r12
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], rax
mov eax, dword [rbx]
movups xmm0, xmmword [rbp - 0x29]
mov dword [rbp - 0x19], eax
mov eax, dword [rbx + 4]
add rax, r13
movaps xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x11], rax
movups xmm1, xmmword [rbp - 0x19]
movaps xmmword [rbp - 0x39], xmm1
call fcn.180002a20
inc di
lea rbx, [rbx + 0x28]
cmp di, word [r14 + 6]
jb 0x1800020a0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, dword [r14 + 0x28]
mov r8, qword [rbp + 0x77]
mov ecx, dword [rbp + 0x6f]
call fcn.180001280
test eax, eax
jne 0x180002160
xor r9d, r9d
lea rdx, str.Error_0x0004
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov r12, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xd0]
mov r15, qword [rsp + 0x90]
mov rax, qword [0x18006a938]
mov ecx, 3
mov word [rax], cx
add rsp, 0xa8
pop r14
pop r13
pop rsi
pop rbp
ret
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx edi, word [r14 + 0x14]
mov r15d, dword [rbp + 0x6f]
add rdi, 0x28
mov r12, qword [rbp + 0x77]
cmp si, word [r14 + 6]
jae 0x1800021fb
add rdi, r14
mov eax, dword [rdi]
test eax, eax
je 0x1800021ed
test dword [rdi + 0x14], 0x2000000
je 0x1800021ed
xor ecx, ecx
mov edx, eax
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [rdi - 4]
lea rdx, [rbp - 0x49]
add rcx, r12
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x21], rcx
mov rbx, rax
mov ecx, dword [rdi]
mov dword [rbp - 0x19], ecx
movups xmm1, xmmword [rbp - 0x19]
mov qword [rbp - 0x29], r15
movups xmm0, xmmword [rbp - 0x29]
movaps xmmword [rbp - 0x39], xmm1
movaps xmmword [rbp - 0x49], xmm0
call fcn.180002a20
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
inc si
add rdi, 0x28
cmp si, word [r14 + 6]
jb 0x180002186
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
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 edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180002297
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002297
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xbcae239b
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002292
nop dword [rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002270
cmp r8d, 0xbabb311c
je 0x18000229c
test r9d, r9d
jne 0x180002250
mov rax, qword [rax]
jmp 0x180002220
mov ecx, dword [rdi + 0x24]
mov r8d, 0x8000
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor edx, edx
add rax, r10
mov rcx, r13
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [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 0x180002357
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002357
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x2fb59469
lea rcx, [r10 + r9*4]
mov ecx, dword [rcx + rbx]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180002352
nop dword [rax]
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180002330
cmp r8d, 0xf9bc4af1
je 0x18000235c
test r9d, r9d
jne 0x180002310
mov rax, qword [rax]
jmp 0x1800022e0
mov ecx, dword [rdi + 0x24]
mov edx, 0x64
add rcx, r10
movzx r8d, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + r8*4]
mov ecx, 0x2bc
add rax, r10
call rax
jmp 0x180002123
lea rdx, str.Error_0x0001
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x180002143