Function at 0x1801bdc34
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 0x1801bdcef
mov rsi, qword [r14]
mov rcx, rsi
jmp 0x1801bdcf5
mov rcx, r14
mov rsi, r14
mov r15, qword [r14 + 0x10]
add r15, rcx
mov rbx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1801bdd09
mov rbx, qword [r14]
cmp rbx, r15
je 0x1801bdd25
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 0x1801bdd11
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 0x1801bddbd
mov qword [rdi + 8], rax
jmp 0x1801be322
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 [0x1802c1690], r15d
jne 0x1801bde0f
test rax, rax
je 0x1801bde09
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [0x1802c13e0]
call rbx
mov dword [0x1802c1690], esi
cmp dword [0x1802c13e0], r15d
setne al
test al, al
je 0x1801bde21
mov byte [rdi + 0x78], r15b
mov rcx, rdi
call fcn.1801fb294
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 0x1801bde7a
xor r8d, r8d
lea rdx, [rsp + 0x3b]
mov rcx, r13
call fcn.1800934b4
or rbx, 0xffffffffffffffff
test rax, rax
je 0x1801bdf49
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 0x1801bdf18
mov byte [rsp + 0x61], sil
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.1800934b4
test rax, rax
jne 0x1801bdf52
mov sil, 1
test r15b, 2
je 0x1801bdf63
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 0x1801be070
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 0x1801bdfbe
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 0x1801bdfe5
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 0x1801be070
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801be06b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801be06b
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 0x1801be75c
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x1801be08b
mov rdx, qword [r13]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [rdi], rax
cmp byte [rdi + 0x78], r15b
je 0x1801be0ca
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.1801fb294
mov rax, qword [rdi + 0x10]
cmp rax, rbx
je 0x1801be0c7
lea rsi, [r15 + rax]
xor r15d, r15d
test rsi, rsi
jne 0x1801be132
mov rsi, qword [rdi]
test rsi, rsi
jne 0x1801be12e
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1801be0e4
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x1801be10b
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1801be0fc
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1801be75c
mov rdx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x1801be119
mov rdx, qword [r13]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x1801be75c
mov byte [rdi + 0x78], r15b
cmp byte [rdi + 0x78], r15b
je 0x1801be30b
mov rdx, rsi
call fcn.1801fb868
test al, al
jne 0x1801be14f
mov rsi, qword [rdi]
mov byte [rdi + 0x78], r15b
cmp byte [rdi + 0x78], r15b
je 0x1801be30b
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 0x1801be2ff
mov rdx, qword [rdi + 0x10]
lea rcx, [rbp + 0x80]
call fcn.180174f04
test al, al
je 0x1801be2ff
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 0x1801be1e5
mov rdx, qword [r12]
lea r8, [rbp + 0x510]
lea rcx, [rbp + 0x80]
call fcn.180173504
test al, al
je 0x1801be2ff
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 0x1801be2ff
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 0x1801be2ff
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 0x1801be3c5
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x1801be2ff
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 0x1801be2f6
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801be4e6
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 0x1801be35c
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x1801be357
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801be74e
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 0x1801be3a2
inc rdx
mov rcx, qword [r13]
cmp rdx, 0x1000
jb 0x1801be39d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801be755
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 0x1801be407
lea r9, [rbp - 0x80]
xor r8d, r8d
call fcn.18009463c
nop
lea rcx, [rbp + 0xc80]
call fcn.180172968
jmp 0x1801be29e
mov r8, rbx
lea rcx, [rbp + 0x18]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1801be423
mov rdx, qword [r12]
lea r8, [rbp + 0x10]
lea rcx, [rbp + 0xc80]
call fcn.18017344c
test al, al
je 0x1801be46b
mov ecx, dword [rbp + 0x668]
mov eax, esi
sub eax, dword [rdi + 0x10]
cmp ecx, eax
je 0x1801be46b
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1801be455
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 0x1801be3fd
call fcn.180172968
nop
movabs rbx, 0x2aaaaaaaaaaaaaab
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x1801be4f5
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 0x1801be4ed
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801be4ed
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 0x1801be579
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x1801be2ff
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 0x1801be2f6
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801be2f6
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 0x1801be5c6
mov r8, qword [rdi + 0x10]
lea r9, [rsp + 0x68]
call fcn.18009463c
nop
lea rcx, [rbp + 0x7f0]
call fcn.180172968
jmp 0x1801be517
mov r8d, 0x41
lea rcx, [rbp + 0x688]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1801be5e8
mov rdx, qword [r12]
lea r8, [rbp + 0x680]
lea rcx, [rbp + 0x7f0]
call fcn.180173504
test al, al
je 0x1801be747
mov r8d, dword [rbp + 0x668]
cmp r8d, dword [rbp + 0x7d8]
je 0x1801be63a
cmp byte [rbp + 0x6cc], r15b
jne 0x1801be63a
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1801be62b
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 0x1801be5bc
call fcn.180172968
nop
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x1801be6bb
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 0x1801be6b3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801be572
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 0x1801be72f
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1801be6e4
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 0x1801be72f
mov rax, r15
mov cl, byte [rbp + rax - 0x38]
cmp byte [rbp + rax - 0x18], cl
je 0x1801be70e
mov byte [rax + rsi], cl
inc rax
cmp rax, rbx
jb 0x1801be701
lea r9, [rbp - 0x40]
mov r8d, dword [rbp - 0x68]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1801be2ff
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1801be2ff
mov byte [rax], r15b
jmp 0x1801be2ff
xor edx, edx
jmp 0x1801be5a6
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