Function at 0x18017b44c
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 rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1158]
mov eax, 0x1218
call fcn.18026a280
sub rsp, rax
mov qword [rbp], 0xfffffffffffffffe
mov r15, r8
mov rdi, rdx
xor r12d, r12d
mov dword [rbp + 0x1178], r12d
lea rax, [0x1802c48d0]
mov qword [rbp + 8], rax
xorps xmm0, xmm0
xor eax, eax
movaps xmmword [0x1802c48e0], xmm0
mov qword [0x1802c48f0], rax
mov qword [0x1802c48f8], r12
lea ebx, [rax + 0xf]
mov qword [0x1802c4900], rbx
mov byte [0x1802c48e8], r12b
movups xmmword [0x1802c4908], xmm0
mov qword [0x1802c4918], r12
mov qword [0x1802c4920], rbx
xor r8d, r8d
lea rdx, [0x18027fdb8]
lea rcx, [0x1802c4908]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [0x1802c4908], r12b
xorps xmm0, xmm0
movups xmmword [0x1802c4928], xmm0
mov qword [0x1802c4938], r12
mov qword [0x1802c4940], rbx
mov byte [0x1802c4928], r12b
mov byte [0x1802c4948], r12b
mov qword [0x1802c4950], r12
cmp qword [rdi + 0x18], 0x10
jb 0x18017b538
mov rsi, qword [rdi]
mov rcx, rsi
jmp 0x18017b53e
mov rcx, rdi
mov rsi, rdi
mov r14, qword [rdi + 0x10]
add r14, rcx
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18017b552
mov rbx, qword [rdi]
mov r13d, 1
cmp rbx, r14
je 0x18017b574
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
add rbx, r13
cmp rbx, r14
jne 0x18017b560
mov rdx, rdi
lea rcx, [0x1802c48e8]
call fcn.18008c748
mov rdx, r15
lea rcx, [0x1802c4928]
call fcn.18008c748
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
mov ebx, 0xf
mov qword [rbp - 0x50], rbx
mov r8, r13
lea rdx, [0x18027fdf8]
lea rcx, [rbp - 0x68]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [rbp - 0x67], r12b
lea r8, [rbp - 0x68]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.180095670
nop
mov rdx, qword [rax + 8]
sub rdx, 0x20
lea rcx, [0x1802c4908]
call fcn.18008c748
nop
lea rcx, [rbp - 0x80]
call fcn.18008d1e8
mov r8, r15
mov rdx, rdi
call fcn.18008d0c4
test rax, rax
je 0x18017b609
mov qword [0x1802c48d8], rax
jmp 0x18017bbbf
mov rdx, rdi
call fcn.18008cdbc
mov qword [0x1802c48e0], 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 [0x1802c0e48], r12d
jne 0x18017b65f
test rax, rax
je 0x18017b658
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [0x1802c0ee8]
call rbx
mov dword [0x1802c0e48], r13d
cmp dword [0x1802c0ee8], r12d
setne cl
movzx eax, byte [0x1802c4948]
test cl, cl
cmovne eax, r12d
mov byte [0x1802c4948], al
lea rcx, [0x1802c48d0]
call fcn.1801829c4
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], r12b
mov al, byte [rsp + 0x3b]
mov r14d, r13d
mov rcx, r12
mov al, byte [rsp + rcx + 0x3b]
sub al, 7
mov byte [rsp + rcx + 0x3b], al
add rcx, r13
cmp rcx, 0xd
jb 0x18017b6d8
xor r8d, r8d
lea rdx, [rsp + 0x3b]
mov rcx, r15
call fcn.1800934b4
or rbx, 0xffffffffffffffff
test rax, rax
je 0x18017b7ac
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 r14d, [rbx + 4]
mov rdx, r12
mov al, byte [rsp + rdx + 0x50]
mov ecx, dword [rsp + 0x4c]
xor cl, al
mov byte [rsp + rdx + 0x50], cl
add rdx, r13
cmp rdx, 0x11
jb 0x18017b776
mov byte [rsp + 0x61], r12b
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1800934b4
test rax, rax
je 0x18017b7ac
mov sil, r12b
jmp 0x18017b7b5
mov sil, r13b
test r14b, 2
je 0x18017b7c6
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]
test sil, sil
je 0x18017b8d0
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], r12b
mov al, byte [rsp + 0x30]
mov rcx, r12
mov al, byte [rsp + rcx + 0x30]
sub al, 8
mov byte [rsp + rcx + 0x30], al
add rcx, r13
cmp rcx, 0xa
jb 0x18017b81e
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x18017b845
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
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 - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r8, rax
lea rdx, [rbp - 0x68]
call fcn.18008c99c
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x18017b8d0
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017b8cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017b8cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
mov rcx, qword [0x1802c48e0]
test rcx, rcx
je 0x18017c029
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x18017b8ed
mov rdx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1802c48d0], rax
cmp byte [0x1802c4948], r12b
je 0x18017b948
lea rcx, [0x1802c48d0]
call fcn.18008f218
mov rsi, rax
mov rbx, qword [0x1802c48e0]
mov r14, qword [0x1802c48d0]
sub r14, rbx
lea rcx, [0x1802c48d0]
call fcn.1801829c4
mov rax, qword [0x1802c48e0]
cmp rax, rbx
je 0x18017b93f
lea rsi, [rax + r14]
mov rax, qword [0x1802c48d0]
jmp 0x18017b94b
mov rsi, rax
test rsi, rsi
jne 0x18017b9b5
mov rsi, rax
test rax, rax
jne 0x18017b9ae
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18017b965
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18017b98c
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18017b97d
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x18017c029
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x18017b999
mov rdx, qword [r15]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x18017c029
mov byte [0x1802c4948], r12b
cmp byte [0x1802c4948], r12b
je 0x18017bba5
mov rdx, rsi
call fcn.180182f98
test al, al
jne 0x18017b9e0
mov rsi, qword [0x1802c48d0]
mov al, r12b
mov byte [0x1802c4948], al
jmp 0x18017b9e6
mov al, byte [0x1802c4948]
test al, al
je 0x18017bba5
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
mov ebx, 0x20
mov r8d, ebx
mov rdx, rsi
lea rcx, [rbp - 0x20]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
lea rcx, [rbp + 0x80]
call fcn.18007ddc4
nop
lea rdx, [0x1802c48e8]
lea rcx, [rbp + 0x80]
call fcn.18007df10
test al, al
je 0x18017bb99
mov rdx, qword [0x1802c48e0]
lea rcx, [rbp + 0x80]
call fcn.180174f04
test al, al
je 0x18017bb99
lea r14d, [rbx + 0x21]
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x518]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rdx, [0x1802c4928]
cmp qword [0x1802c4940], 0x10
cmovae rdx, qword [0x1802c4928]
lea r8, [rbp + 0x510]
lea rcx, [rbp + 0x80]
call fcn.180173504
test al, al
je 0x18017bb99
mov dword [rbp + 0x1160], r12d
mov r9d, dword [rbp + 0x670]
mov byte [rsp + 0x28], r12b
mov dword [rsp + 0x20], r13d
lea r8d, [rbx - 0x1c]
lea rdx, [rbp + 0x1160]
lea rcx, [rbp + 0x80]
call fcn.1801755f8
test al, al
je 0x18017bb99
mov edx, dword [rbp + 0x1160]
lea rcx, [rbp + 0x80]
call fcn.18017390c
mov r9, rax
mov byte [rsp + 0x28], r12b
mov dword [rsp + 0x20], r13d
mov r8d, ebx
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x80]
call fcn.1801755f8
test al, al
je 0x18017bb99
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
lea r9, [rbp - 0x80]
xor r8d, r8d
mov dl, r13b
call fcn.18009463c
test al, al
jne 0x18017bc64
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x18017bb99
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 0x18017bb90
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18017bd97
mov rcx, r8
call fcn.180269534
nop
lea rcx, [rbp + 0x80]
call fcn.180172968
mov r9, rsi
mov r8, r15
mov rdx, rdi
call fcn.18008cec0
mov qword [0x1802c48d8], rsi
mov ebx, 0xf
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x18017bbf9
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x18017bbf4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18017c01b
mov rcx, r8
call fcn.180269534
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], rbx
mov byte [rdi], r12b
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x18017bc3e
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x18017bc39
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18017c022
mov rcx, r8
call fcn.180269534
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], rbx
mov byte [r15], r12b
lea rax, [0x1802c48d0]
add rsp, 0x1218
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
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 0x18017bca6
lea r9, [rbp - 0x80]
xor r8d, r8d
call fcn.18009463c
nop
lea rcx, [rbp + 0xc80]
call fcn.180172968
jmp 0x18017bb38
mov r8, r14
lea rcx, [rbp + 0x18]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rdx, [0x1802c4928]
cmp qword [0x1802c4940], 0x10
cmovae rdx, qword [0x1802c4928]
lea r8, [rbp + 0x10]
lea rcx, [rbp + 0xc80]
call fcn.18017344c
test al, al
je 0x18017bd1c
mov ecx, dword [rbp + 0x668]
mov eax, esi
sub eax, dword [0x1802c48e0]
cmp ecx, eax
je 0x18017bd1c
mov rax, qword [0x1802c4950]
test rax, rax
je 0x18017bcff
mov byte [rax], r13b
mov r8, rcx
add r8, qword [0x1802c48e0]
lea rdx, [0x1802c4928]
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 0x18017bc9c
call fcn.180172968
nop
movabs rbx, 0x2aaaaaaaaaaaaaab
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x18017bda6
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 0x18017bd9e
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017bd9e
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], r12
lea r9, [rsp + 0x68]
mov r8, qword [0x1802c48e0]
mov dl, r13b
call fcn.18009463c
test al, al
jne 0x18017be2e
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x18017bb99
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 0x18017bb90
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017bb90
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], r13b
xor r9d, r9d
mov r8, qword [0x1802c48e0]
xor edx, edx
lea rcx, [rbp + 0x7f0]
call fcn.18017711c
xor edx, edx
test al, al
jne 0x18017be81
mov r8, qword [0x1802c48e0]
lea r9, [rsp + 0x68]
call fcn.18009463c
nop
lea rcx, [rbp + 0x7f0]
call fcn.180172968
jmp 0x18017bdcc
mov r8, r14
lea rcx, [rbp + 0x688]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rdx, [0x1802c4928]
cmp qword [0x1802c4940], 0x10
cmovae rdx, qword [0x1802c4928]
lea r8, [rbp + 0x680]
lea rcx, [rbp + 0x7f0]
call fcn.180173504
test al, al
je 0x18017c014
mov r8d, dword [rbp + 0x668]
cmp r8d, dword [rbp + 0x7d8]
je 0x18017befe
cmp byte [rbp + 0x6cc], r12b
jne 0x18017befe
mov rax, qword [0x1802c4950]
test rax, rax
je 0x18017beeb
mov byte [rax], r13b
lea rdx, [0x1802c4928]
lea rcx, [rbp + 0x7f0]
call fcn.18017a000
lea r9, [rsp + 0x68]
mov r8, qword [0x1802c48e0]
xor edx, edx
call fcn.18009463c
nop
lea rcx, [rbp + 0x7f0]
test al, al
je 0x18017be77
call fcn.180172968
nop
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x18017bf82
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 0x18017bf7a
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18017be27
mov rcx, r8
call fcn.180269534
mov ebx, 0x20
mov r8d, ebx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call qword [sym.imp.VCRUNTIME140.dll_memcmp]
test eax, eax
je 0x18017bffc
mov rax, qword [0x1802c4950]
test rax, rax
je 0x18017bfab
mov byte [rax], r13b
lea r9, [rbp + 0x1180]
mov r8d, 0x40
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18017bffc
mov rax, r12
mov cl, byte [rbp + rax - 0x40]
cmp byte [rbp + rax - 0x20], cl
je 0x18017bfd8
mov byte [rax + rsi], cl
add rax, r13
cmp rax, rbx
jb 0x18017bfcb
lea r9, [rbp - 0x48]
mov r8d, dword [rbp + 0x1180]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x18017bb99
mov rax, qword [0x1802c4950]
test rax, rax
je 0x18017bb99
mov byte [rax], r12b
jmp 0x18017bb99
xor edx, edx
jmp 0x18017be5e
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