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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm10
movaps xmmword [rax - 0x58], xmm11
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 9], rax
mov rsi, rdx
inc dword [0x180015928]
movsd xmm2, qword [0x180019310]
movaps xmm10, xmm2
addsd xmm10, qword [0x180012ba8]
movss xmm0, dword [0x18001592c]
cvtps2pd xmm0, xmm0
addsd xmm10, xmm0
movsd xmm11, qword [0x180019308]
movsd xmm1, qword [0x180012b70]
addsd xmm11, xmm1
movss xmm0, dword [0x180015924]
cvtps2pd xmm0, xmm0
addsd xmm11, xmm0
movsd xmm8, qword [0x180012b40]
cmp byte [0x1800157fd], 0
je 0x180004a63
movsd xmm11, qword [0x1800192d0]
addsd xmm11, qword [0x180019728]
addsd xmm11, xmm1
movsd xmm10, qword [0x1800192d8]
mulsd xmm10, xmm8
addsd xmm10, qword [0x180019730]
movsd xmm0, qword [rdx + 8]
mulsd xmm0, xmm8
subsd xmm10, xmm0
cmp byte [0x1800157fb], 0
je 0x180004a9e
movss xmm10, dword [0x180015920]
cvtps2pd xmm10, xmm10
mov byte [0x1800157fb], 0
mov dword [0x180015920], 0
movaps xmm1, xmm10
subsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [0x18001592c], xmm0
movsd xmm7, qword [rdx]
movsd xmm6, qword [rdx + 8]
lea rcx, [rbp - 0x49]
call fcn.180002790
movsd xmm2, qword [rbp - 0x49]
comisd xmm2, xmm11
jbe 0x180004b1b
movsd xmm1, qword [rbp - 0x41]
comisd xmm1, xmm10
jbe 0x180004b1b
movaps xmm0, xmm7
addsd xmm0, xmm11
comisd xmm0, xmm2
jbe 0x180004b1b
movaps xmm0, xmm6
addsd xmm0, xmm10
comisd xmm0, xmm1
jbe 0x180004b1b
mov bl, 1
movups xmm0, xmmword [0x1800150e0]
movdqa xmmword [rbp - 0x39], xmm0
movsd qword [rbp - 0x49], xmm11
movsd qword [rbp - 0x41], xmm10
cvtpd2ps xmm2, xmm6
cvtpd2ps xmm1, xmm7
lea r9, [rbp - 0x39]
lea rcx, [rbp - 0x49]
call fcn.1800030d0
mov byte [0x1800157fc], bl
jmp 0x180004b4a
xor bl, bl
movups xmm0, xmmword [0x1800150b0]
movdqa xmmword [rbp - 0x39], xmm0
movsd qword [rbp - 0x49], xmm11
movsd qword [rbp - 0x41], xmm10
cvtpd2ps xmm2, xmm6
cvtpd2ps xmm1, xmm7
lea r9, [rbp - 0x39]
lea rcx, [rbp - 0x49]
call fcn.1800030d0
cmp byte [0x1800157fd], 0
jne 0x180004b79
movaps xmm1, xmm6
addsd xmm1, qword [0x180012ba8]
movss xmm0, dword [0x18001592c]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [0x18001592c], xmm0
mulsd xmm6, xmm8
addsd xmm6, xmm10
mulsd xmm7, xmm8
addsd xmm7, xmm11
mov eax, dword [0x180015928]
movaps xmm0, xmmword [0x180012d90]
movaps xmm1, xmm7
movaps xmmword [rbp - 0x39], xmm0
unpcklpd xmm1, xmm6
movdqa xmmword [rbp - 0x49], xmm1
cmp dword [0x1800150a8], eax
jne 0x180004cee
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
lea rcx, str._Press_Key_
call fcn.180002e80
cmp byte [0x180015810], 0
jne 0x180004c00
cmp byte [0x180015811], 0
jne 0x180004c00
cmp byte [0x180015812], 0
jne 0x180004c00
cmp byte [0x180015813], 0
jne 0x180004c00
cmp byte [0x180015814], 0
jne 0x180004c00
mov byte [0x1800157fa], 0
jmp 0x180004c0d
cmp byte [0x1800157fa], 0
jne 0x180004ec5
xor edi, edi
nop
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 r11d, dword [rcx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x180004ca4
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180004ca4
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
add r8, r10
mov edx, 0xbac2fac8
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x180004c9f
nop
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8]
lea r8, [r8 + 1]
test cl, cl
jne 0x180004c80
cmp edx, 0x14dbb5d8
je 0x180004ca9
test r9d, r9d
jne 0x180004c60
mov rax, qword [rax]
jmp 0x180004c30
mov eax, dword [r11 + 0x24]
add rax, r10
movzx edx, word [rax + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov ecx, edi
call rax
test ax, ax
je 0x180004cdb
mov dword [0x18001507c], edi
mov dword [0x1800150a8], 0xffffffff
inc edi
cmp edi, 0xff
jl 0x180004c10
jmp 0x180004ec5
movzx edx, byte [0x18001507c]
lea rcx, [rbp - 0x29]
call fcn.180004520
nop
cmp qword [rax + 0x18], 0xf
jbe 0x180004d09
mov rax, qword [rax]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
mov rcx, rax
call fcn.180002e80
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x180004d58
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004d53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004d53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000fdb8
test bl, bl
je 0x180004e80
movsxd rdx, dword [0x180015928]
cmp byte [0x180015810], 0
je 0x180004e66
lea rax, [0x180015820]
cmp byte [rdx + rax], 0
jne 0x180004ec5
mov byte [rdx + rax], 1
mov byte [0x1800157fa], 1
mov dword [0x1800150a8], edx
xor edi, edi
nop dword [rax + 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 r11d, dword [rcx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x180004e34
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180004e34
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
add r8, r10
mov edx, 0xc993a30
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x180004e2f
nop
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8]
lea r8, [r8 + 1]
test cl, cl
jne 0x180004e10
cmp edx, 0x28ab3220
je 0x180004e39
test r9d, r9d
jne 0x180004df0
mov rax, qword [rax]
jmp 0x180004dc0
mov eax, dword [r11 + 0x24]
add rax, r10
movzx edx, word [rax + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov ecx, edi
call rax
inc edi
cmp edi, 0xff
jl 0x180004da0
jmp 0x180004ec5
cmp rdx, 0x100
jae 0x180004f4b
lea rax, [0x180015820]
mov byte [rdx + rax], 0
jmp 0x180004ec5
movsxd rcx, dword [0x180015928]
cmp byte [0x180015810], 0
je 0x180004ead
lea rax, [0x180015820]
cmp byte [rcx + rax], 0
jne 0x180004ec5
mov byte [rcx + rax], 1
mov dword [0x1800150a8], 0xffffffff
jmp 0x180004ec5
cmp rcx, 0x100
jae 0x180004f4b
lea rax, [0x180015820]
mov byte [rcx + rax], 0
mov byte [0x1800157fd], 0
movsd qword [0x180019728], xmm11
movsd qword [0x180019730], xmm10
movups xmm0, xmmword [rsi]
movups xmmword [0x1800192d0], xmm0
xorps xmm2, xmm2
movsd xmm0, qword [0x180019298]
ucomisd xmm0, xmm2
jp 0x180004f0d
jne 0x180004f0d
movsd qword [0x180019298], xmm11
movsd qword [0x1800192a0], xmm10
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.18000fac0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm10, xmmword [r11 - 0x40]
movaps xmm11, xmmword [r11 - 0x50]
mov rsp, r11
pop rbp
ret
call fcn.18000fbe8
int3