Function at 0x180004990
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 [0x180015918]
movsd xmm2, qword [0x180019300]
movaps xmm10, xmm2
addsd xmm10, qword [0x180012a58]
movss xmm0, dword [0x18001591c]
cvtps2pd xmm0, xmm0
addsd xmm10, xmm0
movsd xmm11, qword [0x1800192f8]
movsd xmm1, qword [0x180012a20]
addsd xmm11, xmm1
movss xmm0, dword [0x180015914]
cvtps2pd xmm0, xmm0
addsd xmm11, xmm0
movsd xmm8, qword [0x1800129f0]
cmp byte [0x1800157ed], 0
je 0x180004a73
movsd xmm11, qword [0x1800192c0]
addsd xmm11, qword [0x180019718]
addsd xmm11, xmm1
movsd xmm10, qword [0x1800192c8]
mulsd xmm10, xmm8
addsd xmm10, qword [0x180019720]
movsd xmm0, qword [rdx + 8]
mulsd xmm0, xmm8
subsd xmm10, xmm0
cmp byte [0x1800157eb], 0
je 0x180004aae
movss xmm10, dword [0x180015910]
cvtps2pd xmm10, xmm10
mov byte [0x1800157eb], 0
mov dword [0x180015910], 0
movaps xmm1, xmm10
subsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [0x18001591c], 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 0x180004b2b
movsd xmm1, qword [rbp - 0x41]
comisd xmm1, xmm10
jbe 0x180004b2b
movaps xmm0, xmm7
addsd xmm0, xmm11
comisd xmm0, xmm2
jbe 0x180004b2b
movaps xmm0, xmm6
addsd xmm0, xmm10
comisd xmm0, xmm1
jbe 0x180004b2b
mov bl, 1
movups xmm0, xmmword [0x1800150c8]
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.1800030e0
mov byte [0x1800157ec], bl
jmp 0x180004b5a
xor bl, bl
movups xmm0, xmmword [0x180015098]
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.1800030e0
cmp byte [0x1800157ed], 0
jne 0x180004b89
movaps xmm1, xmm6
addsd xmm1, qword [0x180012a58]
movss xmm0, dword [0x18001591c]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [0x18001591c], xmm0
mulsd xmm6, xmm8
addsd xmm6, xmm10
mulsd xmm7, xmm8
addsd xmm7, xmm11
mov eax, dword [0x180015918]
movaps xmm0, xmmword [0x180012c40]
movaps xmm1, xmm7
movaps xmmword [rbp - 0x39], xmm0
unpcklpd xmm1, xmm6
movdqa xmmword [rbp - 0x49], xmm1
cmp dword [0x18001508c], eax
jne 0x180004cfe
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
lea rcx, str._Press_Key_
call fcn.180002e90
cmp byte [0x180015800], 0
jne 0x180004c10
cmp byte [0x180015801], 0
jne 0x180004c10
cmp byte [0x180015802], 0
jne 0x180004c10
cmp byte [0x180015803], 0
jne 0x180004c10
cmp byte [0x180015804], 0
jne 0x180004c10
mov byte [0x1800157ea], 0
jmp 0x180004c1d
cmp byte [0x1800157ea], 0
jne 0x180004ed5
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 0x180004cb4
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180004cb4
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, 0xa2473543
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x180004caf
nop
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8]
lea r8, [r8 + 1]
test cl, cl
jne 0x180004c90
cmp edx, 0xd31774c3
je 0x180004cb9
test r9d, r9d
jne 0x180004c70
mov rax, qword [rax]
jmp 0x180004c40
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 0x180004ceb
mov dword [0x18001507c], edi
mov dword [0x18001508c], 0xffffffff
inc edi
cmp edi, 0xff
jl 0x180004c20
jmp 0x180004ed5
movzx edx, byte [0x18001507c]
lea rcx, [rbp - 0x29]
call fcn.180004530
nop
cmp qword [rax + 0x18], 0xf
jbe 0x180004d19
mov rax, qword [rax]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
mov rcx, rax
call fcn.180002e90
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x180004d68
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004d63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004d63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000fae8
test bl, bl
je 0x180004e90
movsxd rdx, dword [0x180015918]
cmp byte [0x180015800], 0
je 0x180004e76
lea rax, [0x180015810]
cmp byte [rdx + rax], 0
jne 0x180004ed5
mov byte [rdx + rax], 1
mov byte [0x1800157ea], 1
mov dword [0x18001508c], 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 0x180004e44
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180004e44
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, 0x3c731340
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x180004e3f
nop
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8]
lea r8, [r8 + 1]
test cl, cl
jne 0x180004e20
cmp edx, 0x4916b690
je 0x180004e49
test r9d, r9d
jne 0x180004e00
mov rax, qword [rax]
jmp 0x180004dd0
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 0x180004db0
jmp 0x180004ed5
cmp rdx, 0x100
jae 0x180004f5b
lea rax, [0x180015810]
mov byte [rdx + rax], 0
jmp 0x180004ed5
movsxd rcx, dword [0x180015918]
cmp byte [0x180015800], 0
je 0x180004ebd
lea rax, [0x180015810]
cmp byte [rcx + rax], 0
jne 0x180004ed5
mov byte [rcx + rax], 1
mov dword [0x18001508c], 0xffffffff
jmp 0x180004ed5
cmp rcx, 0x100
jae 0x180004f5b
lea rax, [0x180015810]
mov byte [rcx + rax], 0
mov byte [0x1800157ed], 0
movsd qword [0x180019718], xmm11
movsd qword [0x180019720], xmm10
movups xmm0, xmmword [rsi]
movups xmmword [0x1800192c0], xmm0
xorps xmm2, xmm2
movsd xmm0, qword [0x180019288]
ucomisd xmm0, xmm2
jp 0x180004f1d
jne 0x180004f1d
movsd qword [0x180019288], xmm11
movsd qword [0x180019290], xmm10
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.18000f7f0
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.18000f918
int3