Function at 0x180012700
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data with crc32
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
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
movaps xmmword [rax - 0x38], xmm6
mov r12, rcx
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
add rbx, 0x20
mov r11, qword [rbx]
mov r15, 0xffffffffffffffff
lea r13, [0x1801f3830]
cmp r11, rbx
je 0x18001280a
nop dword [rax]
mov rdx, qword [r11 + 0x50]
xor eax, eax
movzx ecx, word [rdx + rax*2]
test cx, cx
je 0x180012786
cmp cx, 0x7f
ja 0x18001278b
mov byte [rbp + rax], cl
inc rax
cmp rax, 0x80
jb 0x180012766
jmp 0x18001278b
mov byte [rbp + rax], 0
movzx eax, byte [rbp]
test al, al
je 0x1800127ad
lea rdx, [rbp]
lea ecx, [rax - 0x41]
cmp cl, 0x19
ja 0x1800127a3
add al, 0x20
mov byte [rdx], al
inc rdx
movzx eax, byte [rdx]
test al, al
jne 0x180012797
lea r9, [rbp]
mov r8d, 0xffffffff
lea rcx, [rbp]
mov rax, r15
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1800127c0
test eax, eax
je 0x1800127fe
mov r10d, eax
movzx edx, r8b
movsx ecx, byte [r9]
xor rdx, rcx
shr r8d, 8
xor r8d, dword [r13 + rdx*4]
lea r9, [r9 + 1]
sub r10, 1
jne 0x1800127d0
not r8d
cmp r8d, 0x6ae69f02
je 0x180012aa1
mov r11, qword [r11]
cmp r11, rbx
jne 0x180012760
xor edi, edi
movsxd rax, dword [rdi + 0x3c]
add rax, rdi
lea rcx, [rbp + 0x80]
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x88]
movups xmmword [rcx - 0x10], xmm1
sub rax, 0xffffffffffffff68
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov r14d, dword [rbp + 0xf0]
add r14, rdi
xor ebx, ebx
mov esi, dword [r14 + 0x14]
test rsi, rsi
je 0x18001291b
mov r11d, dword [r14 + 0x20]
add r11, rdi
nop dword [rax + rax]
mov r9d, dword [r11]
add r9, rdi
mov r8d, 0xffffffff
mov rax, r15
nop
inc rax
cmp byte [r9 + rax], 0
jne 0x1800128d0
test eax, eax
je 0x18001290f
mov r10d, eax
movzx edx, r8b
movsx ecx, byte [r9]
xor rdx, rcx
shr r8d, 8
xor r8d, dword [r13 + rdx*4]
lea r9, [r9 + 1]
sub r10, 1
jne 0x1800128e1
not r8d
cmp r8d, 0xc97c1fff
je 0x180012aaa
inc rbx
add r11, 4
cmp rbx, rsi
jb 0x1800128c0
xor r14d, r14d
xor edi, edi
xor esi, esi
movabs r13, 0xe38e38e38e38e39
mov rbx, qword [0x180233308]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + rbx]
mov byte [rsp + 0x40], al
lea rdx, [rbx + 8]
add rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.180031c50
nop
lea rdx, [rbx + 0x28]
add rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.180031c50
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1800129b0
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov rcx, rax
call r14
test rax, rax
je 0x1800129b0
movzx eax, byte [rax]
cmp al, byte [rsp + 0x40]
jne 0x180012ac8
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1800129ec
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800129e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012d4a
call fcn.1800c17e8
mov qword [rsp + 0x78], 0
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x180012a3f
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012a3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012d4a
call fcn.1800c17e8
inc edi
add rsi, 0x48
mov rcx, qword [0x180233310]
mov rbx, qword [0x180233308]
sub rcx, rbx
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
dec rcx
add rcx, rdx
movsxd rax, edi
cmp rax, rcx
jbe 0x180012940
xor al, al
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rdi, qword [r11 + 0x20]
jmp 0x18001280c
mov eax, dword [r14 + 0x24]
add rax, rdi
mov ecx, dword [r14 + 0x1c]
add rcx, rdi
movzx eax, word [rax + rbx*2]
mov r14d, dword [rcx + rax*4]
add r14, rdi
jmp 0x18001291e
mov dword [rbp + 0x1b8], 0x3a3a10
lea rax, [rbp + 0x1b9]
mov rcx, r15
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x180012ae0
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rdx, qword [rsp + 0x78]
sub rax, rdx
cmp rax, rcx
jb 0x180012d50
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova r9, qword [rsp + 0x68]
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 0x1b9]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x40]
call fcn.18003d910
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rbp - 0x40]
call fcn.180031940
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm6
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], dil
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x180012bb1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012bac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012d56
call fcn.1800c17e8
movdqa xmm0, xmmword [0x1801fde90]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], dil
movdqa xmm0, xmmword [str.k_EPAA__Hooked]
movdqu xmmword [rbp - 0x50], xmm0
lea rax, [rbp - 0x4f]
inc r15
cmp byte [rax + r15], dil
jne 0x180012bd3
movq rcx, xmm6
sub rbx, rcx
cmp rbx, r15
jb 0x180012d5c
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rax, qword [rbp - 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x4f]
lea rcx, [rbp - 0x20]
call fcn.18003d910
mov rdx, qword [0x1802332f0]
cmp rdx, 0xf
jbe 0x180012c58
mov rcx, qword [0x1802332d8]
inc rdx
cmp rdx, 0x1000
jb 0x180012c53
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180012d44
mov rcx, r8
call fcn.1800c17e8
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [0x1802332d8], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [0x1802332e8], xmm1
lea rdx, [0x18022c240]
mov rcx, r12
call fcn.18000f360
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x180012cba
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012cb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012d62
call fcn.1800c17e8
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x180012cf2
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012ced
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012d4a
call fcn.1800c17e8
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x180012d3d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012d38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012d4a
call fcn.1800c17e8
mov al, 1
jmp 0x180012a7b
call fcn.1800e1ef4
nop
call fcn.1800e1ef4
nop
call fcn.180006e30
nop
call fcn.1800e1ef4
int3
call fcn.180006e30
nop
call fcn.1800e1ef4
int3