Function at 0x180004940
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 [0x180011918]
movsd xmm2, qword [0x180015300]
movaps xmm10, xmm2
addsd xmm10, qword [0x18000e910]
movss xmm0, dword [0x18001191c]
cvtps2pd xmm0, xmm0
addsd xmm10, xmm0
movsd xmm11, qword [0x1800152f8]
movsd xmm1, qword [0x18000e8e0]
addsd xmm11, xmm1
movss xmm0, dword [0x180011914]
cvtps2pd xmm0, xmm0
addsd xmm11, xmm0
movsd xmm8, qword [0x18000e8b8]
cmp byte [0x1800117fe], 0
je 0x180004a23
movsd xmm11, qword [0x1800152c0]
addsd xmm11, qword [0x1800156e8]
addsd xmm11, xmm1
movsd xmm10, qword [0x1800152c8]
mulsd xmm10, xmm8
addsd xmm10, qword [0x1800156f0]
movsd xmm0, qword [rdx + 8]
mulsd xmm0, xmm8
subsd xmm10, xmm0
cmp byte [0x1800117fc], 0
je 0x180004a5e
movss xmm10, dword [0x180011910]
cvtps2pd xmm10, xmm10
mov byte [0x1800117fc], 0
mov dword [0x180011910], 0
movaps xmm1, xmm10
subsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [0x18001191c], xmm0
movsd xmm7, qword [rdx]
movsd xmm6, qword [rdx + 8]
lea rcx, [rbp - 0x49]
call fcn.180002760
movsd xmm2, qword [rbp - 0x49]
comisd xmm2, xmm11
jbe 0x180004add
movsd xmm1, qword [rbp - 0x41]
comisd xmm1, xmm10
jbe 0x180004add
movaps xmm0, xmm7
addsd xmm0, xmm11
comisd xmm0, xmm2
jbe 0x180004add
movaps xmm0, xmm6
addsd xmm0, xmm10
comisd xmm0, xmm1
jbe 0x180004add
mov bl, 1
movups xmm0, xmmword [0x1800110e0]
movdqa xmmword [rbp - 0x49], xmm0
movaps xmm0, xmm11
unpcklpd xmm0, xmm10
movdqa xmmword [rbp - 0x39], xmm0
cvtpd2ps xmm2, xmm6
cvtpd2ps xmm1, xmm7
lea r9, [rbp - 0x49]
lea rcx, [rbp - 0x39]
call fcn.1800030a0
mov byte [0x1800117fd], bl
jmp 0x180004b0e
xor bl, bl
movups xmm0, xmmword [0x1800110b0]
movdqa xmmword [rbp - 0x39], xmm0
movaps xmm0, xmm11
unpcklpd xmm0, xmm10
movdqa xmmword [rbp - 0x49], xmm0
cvtpd2ps xmm2, xmm6
cvtpd2ps xmm1, xmm7
lea r9, [rbp - 0x39]
lea rcx, [rbp - 0x49]
call fcn.1800030a0
cmp byte [0x1800117fe], 0
jne 0x180004b3d
movaps xmm1, xmm6
addsd xmm1, qword [0x18000e910]
movss xmm0, dword [0x18001191c]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [0x18001191c], xmm0
mulsd xmm6, xmm8
addsd xmm6, xmm10
mulsd xmm7, xmm8
addsd xmm7, xmm11
mov eax, dword [0x180011918]
movdqa xmm0, xmmword [0x18000ead0]
movsd qword [rbp - 0x49], xmm7
movsd qword [rbp - 0x41], xmm6
movdqa xmmword [rbp - 0x39], xmm0
cmp dword [0x1800110a8], eax
jne 0x180004cae
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
lea rcx, str._Press_Key_
call fcn.180002e50
cmp byte [0x180011808], 0
jne 0x180004bc4
cmp byte [0x180011809], 0
jne 0x180004bc4
cmp byte [0x18001180a], 0
jne 0x180004bc4
cmp byte [0x18001180b], 0
jne 0x180004bc4
cmp byte [0x18001180c], 0
jne 0x180004bc4
mov byte [0x1800117fb], 0
jmp 0x180004bd1
cmp byte [0x1800117fb], 0
jne 0x180004e85
xor edi, edi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [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 0x180004c64
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180004c64
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, 0xdbfa7f5e
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x180004c5f
nop
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8]
lea r8, [r8 + 1]
test cl, cl
jne 0x180004c40
cmp edx, 0xb880f126
je 0x180004c69
test r9d, r9d
jne 0x180004c20
mov rax, qword [rax]
jmp 0x180004bf0
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 0x180004c9b
mov dword [0x18001107c], edi
mov dword [0x1800110a8], 0xffffffff
inc edi
cmp edi, 0xff
jl 0x180004bd3
jmp 0x180004e85
movzx edx, byte [0x18001107c]
lea rcx, [rbp - 0x29]
call fcn.1800044e0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x180004cc9
mov rax, qword [rax]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
mov rcx, rax
call fcn.180002e50
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x180004d18
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004d13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004d13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000b11c
test bl, bl
je 0x180004e40
movsxd rdx, dword [0x180011918]
cmp byte [0x180011808], 0
je 0x180004e26
lea rax, [0x180011810]
cmp byte [rdx + rax], 0
jne 0x180004e85
mov byte [rdx + rax], 1
mov byte [0x1800117fb], 1
mov dword [0x1800110a8], 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 0x180004df4
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180004df4
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, 0x2e13029e
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x180004def
nop
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8]
lea r8, [r8 + 1]
test cl, cl
jne 0x180004dd0
cmp edx, 0xd9b5fc66
je 0x180004df9
test r9d, r9d
jne 0x180004db0
mov rax, qword [rax]
jmp 0x180004d80
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 0x180004d60
jmp 0x180004e85
cmp rdx, 0x100
jae 0x180004f0b
lea rax, [0x180011810]
mov byte [rdx + rax], 0
jmp 0x180004e85
movsxd rcx, dword [0x180011918]
cmp byte [0x180011808], 0
je 0x180004e6d
lea rax, [0x180011810]
cmp byte [rcx + rax], 0
jne 0x180004e85
mov byte [rcx + rax], 1
mov dword [0x1800110a8], 0xffffffff
jmp 0x180004e85
cmp rcx, 0x100
jae 0x180004f0b
lea rax, [0x180011810]
mov byte [rcx + rax], 0
mov byte [0x1800117fe], 0
movsd qword [0x1800156e8], xmm11
movsd qword [0x1800156f0], xmm10
movups xmm0, xmmword [rsi]
movups xmmword [0x1800152c0], xmm0
xorps xmm2, xmm2
movsd xmm0, qword [0x180015288]
ucomisd xmm0, xmm2
jp 0x180004ecd
jne 0x180004ecd
movsd qword [0x180015288], xmm11
movsd qword [0x180015290], xmm10
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.18000ae20
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.18000af48
int3