Function at 0x18017cc00
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Encode data using xor
Execute shellcode via indirect call

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1148]
mov eax, 0x1210
call fcn.18026a280
sub rsp, rax
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rsp + 0x1268], rbx
mov bl, r9b
mov r14, rdx
mov rdi, rcx
xor esi, esi
mov dword [rbp + 0x1170], esi
mov qword [rcx + 0x10], rsi
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
mov qword [rcx + 0x28], rsi
lea r15d, [rsi + 0xf]
mov qword [rcx + 0x30], r15
mov byte [rcx + 0x18], sil
lea r13, [rcx + 0x38]
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], r15
xor r8d, r8d
lea rdx, [0x18027fdb8]
mov rcx, r13
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [r13], sil
lea r12, [rdi + 0x58]
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], rsi
mov qword [r12 + 0x18], r15
mov byte [r12], sil
mov byte [rdi + 0x78], bl
mov qword [rdi + 0x80], rsi
cmp qword [r14 + 0x18], 0x10
jb 0x18017ccc5
mov rsi, qword [r14]
mov rcx, rsi
jmp 0x18017cccb
mov rcx, r14
mov rsi, r14
mov r15, qword [r14 + 0x10]
add r15, rcx
mov rbx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x18017ccdf
mov rbx, qword [r14]
cmp rbx, r15
je 0x18017ccfb
sub rsi, rbx
movzx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + rsi], al
inc rbx
cmp rbx, r15
jne 0x18017cce7
mov rdx, r14
lea rcx, [rdi + 0x18]
call fcn.18008c748
mov rdx, qword [rbp + 0x1160]
mov rcx, r12
call fcn.18008c748
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov esi, 1
mov qword [rbp - 0x50], rsi
lea ebx, [rsi + 0xe]
mov qword [rbp - 0x48], rbx
mov r8d, esi
lea rdx, [0x18027fdf8]
lea rcx, [rbp - 0x60]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
xor r15d, r15d
mov byte [rbp - 0x5f], r15b
lea r8, [rbp - 0x60]
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.180095670
nop
mov rdx, qword [rax + 8]
sub rdx, 0x20
mov rcx, r13
call fcn.18008c748
nop
lea rcx, [rbp - 0x80]
call fcn.18008d1e8
mov r13, qword [rbp + 0x1160]
mov r8, r13
mov rdx, r14
call fcn.18008d0c4
test rax, rax
je 0x18017cd93
mov qword [rdi + 8], rax
jmp 0x18017d2f2
mov rdx, r14
call fcn.18008cdbc
mov qword [rdi + 0x10], rax
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
cmp dword [0x1802c0f1c], r15d
jne 0x18017cde5
test rax, rax
je 0x18017cddf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [0x1802c0df8]
call rbx
mov dword [0x1802c0f1c], esi
cmp dword [0x1802c0df8], r15d
setne al
test al, al
je 0x18017cdf7
mov byte [rdi + 0x78], r15b
mov rcx, rdi
call fcn.18018377c
mov byte [rsp + 0x3b], 0x4e
mov byte [rsp + 0x3c], 0x73
mov byte [rsp + 0x3d], 0x76
mov byte [rsp + 0x3e], 0x69
mov byte [rsp + 0x3f], 0x68
mov byte [rsp + 0x40], 0x73
mov byte [rsp + 0x41], 0x48
mov byte [rsp + 0x42], 0x6b
mov byte [rsp + 0x43], 0x6b
mov byte [rsp + 0x44], 0x48
mov byte [rsp + 0x45], 0x7b
mov byte [rsp + 0x46], 0x76
mov byte [rsp + 0x47], 0x74
mov byte [rsp + 0x48], r15b
mov al, byte [rsp + 0x3b]
mov r15d, esi
xor esi, esi
mov ecx, esi
mov al, byte [rsp + rcx + 0x3b]
sub al, 7
mov byte [rsp + rcx + 0x3b], al
inc rcx
cmp rcx, 0xd
jb 0x18017ce50
xor r8d, r8d
lea rdx, [rsp + 0x3b]
mov rcx, r13
call fcn.1800934b4
or rbx, 0xffffffffffffffff
test rax, rax
je 0x18017cf1f
mov dword [rsp + 0x4c], 0x11
mov byte [rsp + 0x50], 0x56
mov byte [rsp + 0x51], 0x7d
mov byte [rsp + 0x52], 0x7e
mov byte [rsp + 0x53], 0x73
mov byte [rsp + 0x54], 0x70
mov byte [rsp + 0x55], 0x7d
mov byte [rsp + 0x56], 0x56
mov byte [rsp + 0x57], 0x74
mov byte [rsp + 0x58], 0x65
mov byte [rsp + 0x59], 0x50
mov byte [rsp + 0x5a], 0x65
mov byte [rsp + 0x5b], 0x7e
mov byte [rsp + 0x5c], 0x7c
mov byte [rsp + 0x5d], 0x5f
mov byte [rsp + 0x5e], 0x70
mov byte [rsp + 0x5f], 0x7c
mov byte [rsp + 0x60], 0x74
xor eax, eax
mov byte [rsp + 0x61], al
mov al, byte [rsp + 0x50]
lea r15d, [rbx + 4]
mov rdx, rsi
mov al, byte [rsp + rdx + 0x50]
mov ecx, dword [rsp + 0x4c]
xor cl, al
mov byte [rsp + rdx + 0x50], cl
inc rdx
cmp rdx, 0x11
jb 0x18017ceee
mov byte [rsp + 0x61], sil
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.1800934b4
test rax, rax
jne 0x18017cf28
mov sil, 1
test r15b, 2
je 0x18017cf39
xor edx, edx
lea r8d, [rdx + 0x12]
lea rcx, [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rsp + 0x3b]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor r15d, r15d
test sil, sil
je 0x18017d046
mov byte [rsp + 0x30], 0x7d
mov byte [rsp + 0x31], 0x7b
mov byte [rsp + 0x32], 0x6d
mov byte [rsp + 0x33], 0x7a
mov byte [rsp + 0x34], 0x3b
mov byte [rsp + 0x35], 0x3a
mov byte [rsp + 0x36], 0x36
mov byte [rsp + 0x37], 0x6c
mov byte [rsp + 0x38], 0x74
mov byte [rsp + 0x39], 0x74
mov byte [rsp + 0x3a], r15b
mov al, byte [rsp + 0x30]
mov ecx, r15d
mov al, byte [rsp + rcx + 0x30]
sub al, 8
mov byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0xa
jb 0x18017cf94
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x18017cfbb
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.18007b70c
nop
xor edx, edx
lea r8d, [rdx + 0xb]
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r8, rax
lea rdx, [rbp - 0x60]
call fcn.18008c99c
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18017d046
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017d041
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017d041
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x18017d733
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x18017d061
mov rdx, qword [r13]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [rdi], rax
cmp byte [rdi + 0x78], r15b
je 0x18017d0a0
mov rcx, rdi
call fcn.18008f218
mov rsi, rax
mov rbx, qword [rdi + 0x10]
mov r15, qword [rdi]
sub r15, rbx
mov rcx, rdi
call fcn.18018377c
mov rax, qword [rdi + 0x10]
cmp rax, rbx
je 0x18017d09d
lea rsi, [r15 + rax]
xor r15d, r15d
test rsi, rsi
jne 0x18017d108
mov rsi, qword [rdi]
test rsi, rsi
jne 0x18017d104
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x18017d0ba
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18017d0e1
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x18017d0d2
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x18017d733
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x18017d0ef
mov rdx, qword [r13]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x18017d733
mov byte [rdi + 0x78], r15b
cmp byte [rdi + 0x78], r15b
je 0x18017d2db
mov rdx, rsi
call fcn.180183d50
test al, al
jne 0x18017d125
mov rsi, qword [rdi]
mov byte [rdi + 0x78], r15b
cmp byte [rdi + 0x78], r15b
je 0x18017d2db
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x38], xmm1
movups xmmword [rbp - 0x28], xmm1
mov r8d, 0x20
mov rdx, rsi
lea rcx, [rbp - 0x18]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
lea rcx, [rbp + 0x80]
call fcn.18007ddc4
nop
lea rdx, [rdi + 0x18]
lea rcx, [rbp + 0x80]
call fcn.18007df10
test al, al
je 0x18017d2cf
mov rdx, qword [rdi + 0x10]
lea rcx, [rbp + 0x80]
call fcn.180174f04
test al, al
je 0x18017d2cf
mov ebx, 0x41
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x518]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x18017d1bb
mov rdx, qword [r12]
lea r8, [rbp + 0x510]
lea rcx, [rbp + 0x80]
call fcn.180173504
test al, al
je 0x18017d2cf
mov dword [rsp + 0x64], r15d
mov r9d, dword [rbp + 0x670]
mov byte [rsp + 0x28], r15b
mov dword [rsp + 0x20], 1
mov r8d, 4
lea rdx, [rsp + 0x64]
lea rcx, [rbp + 0x80]
call fcn.1801755f8
test al, al
je 0x18017d2cf
mov edx, dword [rsp + 0x64]
lea rcx, [rbp + 0x80]
call fcn.18017390c
mov r9, rax
mov byte [rsp + 0x28], r15b
mov dword [rsp + 0x20], 1
mov r8d, 0x20
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x80]
call fcn.1801755f8
test al, al
je 0x18017d2cf
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
lea r9, [rbp - 0x80]
xor r8d, r8d
mov dl, 1
call fcn.18009463c
test al, al
jne 0x18017d39c
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x18017d2cf
mov rcx, qword [rbp - 0x70]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, r8
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
cmp rdx, 0x1000
mov rax, r8
jb 0x18017d2c6
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18017d4bd
mov rcx, r8
call fcn.180269534
nop
lea rcx, [rbp + 0x80]
call fcn.180172968
mov r9, rsi
mov r8, r13
mov rdx, r14
call fcn.18008cec0
mov qword [rdi + 8], rsi
mov ebx, 0xf
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x18017d32c
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x18017d327
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18017d725
mov rcx, r8
call fcn.180269534
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], rbx
mov byte [r14], r15b
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x18017d372
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x18017d36d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18017d72c
mov rcx, r8
call fcn.180269534
mov qword [r13 + 0x10], r15
mov qword [r13 + 0x18], rbx
mov byte [r13], r15b
mov rax, rdi
mov rbx, qword [rsp + 0x1268]
add rsp, 0x1210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp + 0xc80]
call fcn.18007ddc4
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xc80]
call fcn.18007e004
xor edx, edx
test al, al
jne 0x18017d3de
lea r9, [rbp - 0x80]
xor r8d, r8d
call fcn.18009463c
nop
lea rcx, [rbp + 0xc80]
call fcn.180172968
jmp 0x18017d26e
mov r8, rbx
lea rcx, [rbp + 0x18]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x18017d3fa
mov rdx, qword [r12]
lea r8, [rbp + 0x10]
lea rcx, [rbp + 0xc80]
call fcn.18017344c
test al, al
je 0x18017d442
mov ecx, dword [rbp + 0x668]
mov eax, esi
sub eax, dword [rdi + 0x10]
cmp ecx, eax
je 0x18017d442
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x18017d42c
mov byte [rax], 1
mov r8, rcx
add r8, qword [rdi + 0x10]
mov rdx, r12
lea rcx, [rbp + 0xc80]
call fcn.180179ea0
lea r9, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
call fcn.18009463c
nop
lea rcx, [rbp + 0xc80]
test al, al
je 0x18017d3d4
call fcn.180172968
nop
movabs rbx, 0x2aaaaaaaaaaaaaab
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x18017d4cc
mov rcx, qword [rbp - 0x70]
sub rcx, r8
mov rax, rbx
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
mov rax, r8
cmp rdx, 0x1000
jb 0x18017d4c4
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017d4c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.180269534
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
lea r9, [rsp + 0x68]
mov r8, qword [rdi + 0x10]
mov dl, 1
call fcn.18009463c
test al, al
jne 0x18017d550
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x18017d2cf
mov rcx, qword [rsp + 0x78]
mov rax, rbx
sub rcx, r8
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
cmp rdx, 0x1000
mov rax, r8
jb 0x18017d2c6
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017d2c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x7f0]
call fcn.18007ddc4
nop
mov byte [rsp + 0x20], 1
xor r9d, r9d
mov r8, qword [rdi + 0x10]
xor edx, edx
lea rcx, [rbp + 0x7f0]
call fcn.18017711c
xor edx, edx
test al, al
jne 0x18017d59d
mov r8, qword [rdi + 0x10]
lea r9, [rsp + 0x68]
call fcn.18009463c
nop
lea rcx, [rbp + 0x7f0]
call fcn.180172968
jmp 0x18017d4ee
mov r8d, 0x41
lea rcx, [rbp + 0x688]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x18017d5bf
mov rdx, qword [r12]
lea r8, [rbp + 0x680]
lea rcx, [rbp + 0x7f0]
call fcn.180173504
test al, al
je 0x18017d71e
mov r8d, dword [rbp + 0x668]
cmp r8d, dword [rbp + 0x7d8]
je 0x18017d611
cmp byte [rbp + 0x6cc], r15b
jne 0x18017d611
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x18017d602
mov byte [rax], 1
mov rdx, r12
lea rcx, [rbp + 0x7f0]
call fcn.18017a000
lea r9, [rsp + 0x68]
mov r8, qword [rdi + 0x10]
xor edx, edx
call fcn.18009463c
nop
lea rcx, [rbp + 0x7f0]
test al, al
je 0x18017d593
call fcn.180172968
nop
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x18017d692
mov rcx, qword [rsp + 0x78]
sub rcx, r8
mov rax, rbx
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
mov rax, r8
cmp rdx, 0x1000
jb 0x18017d68a
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18017d549
mov rcx, r8
call fcn.180269534
mov ebx, 0x20
mov r8d, ebx
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x18]
call qword [sym.imp.VCRUNTIME140.dll_memcmp]
test eax, eax
je 0x18017d706
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x18017d6bb
mov byte [rax], 1
lea r9, [rbp - 0x68]
mov r8d, 0x40
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18017d706
mov rax, r15
mov cl, byte [rbp + rax - 0x38]
cmp byte [rbp + rax - 0x18], cl
je 0x18017d6e5
mov byte [rax + rsi], cl
inc rax
cmp rax, rbx
jb 0x18017d6d8
lea r9, [rbp - 0x40]
mov r8d, dword [rbp - 0x68]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x18017d2cf
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x18017d2cf
mov byte [rax], r15b
jmp 0x18017d2cf
xor edx, edx
jmp 0x18017d57d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.18014e36c
int3