Function at 0x140001340
Capabilities:
Check for debugger via api

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.140003dd0
sub rsp, rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14000137b
lea rcx, str.Debugger_detected_via_IsDebuggerPresent__n
jmp 0x1400018ad
mov dword [rbp + 0xff0], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp + 0xff0]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rbp + 0xff0], 0
je 0x1400013b0
lea rcx, str.Debugger_detected_via_CheckRemoteDebuggerPresent__n
jmp 0x1400018ad
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x30], 0x100010
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001407
cmp qword [rbp - 0x18], 0
jne 0x1400013fb
cmp qword [rbp - 0x10], 0
jne 0x1400013fb
cmp qword [rbp - 8], 0
jne 0x1400013fb
cmp qword [rbp], 0
je 0x140001407
lea rcx, str.Hardware_breakpoints_detected__n
jmp 0x1400018ad
call fcn.140001310
test eax, eax
jne 0x1400018b2
lea rdx, str.OLLYDBG
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140001434
lea rcx, str.OllyDbg_detected__n
jmp 0x1400018ad
lea rdx, str.x64dbg
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140001454
lea rcx, str.x64dbg_detected__n
jmp 0x1400018ad
lea rdx, str.Immunity_Debugger
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140001474
lea rcx, str.Immunity_Debugger_detected__n
jmp 0x1400018ad
mov eax, 1
xor ecx, ecx
cpuid
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x2c], edx
sar ecx, 0x1f
test cl, 1
je 0x14000149d
lea rcx, str.Virtual_Machine_detected_via_CPUID__n
jmp 0x1400018ad
mov dword [rsp + 0x60], 0x40
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, 0x80000000
cmp qword [rsp + 0x68], rax
jae 0x1400014c8
lea rcx, str.Memory_is_less_than_2GB__n
jmp 0x1400018ad
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp rax, 0xea60
jae 0x1400014e2
lea rcx, str.Sandbox_detected__short_uptime___n
jmp 0x1400018ad
lea r8, [rbp + 0xff0]
mov edx, 0x1000
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140001516
mov eax, dword [rbp + 0xff0]
shr eax, 2
cmp eax, 0x32
jae 0x140001516
lea rcx, str.Low_process_count_detected__potential_sandbox__n
jmp 0x1400018ad
lea r9, [rbp + 0xff8]
lea r8, [rbp + 0xff0]
lea rdx, [rsp + 0x20]
lea rcx, [0x140004660]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x140001559
movabs rax, 0xc80000000
cmp qword [rbp + 0xff0], rax
jae 0x140001559
lea rcx, str.Small_disk_size_detected__potential_sandbox__n
jmp 0x1400018ad
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp + 0xff8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0xff0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0xff0]
sub rax, qword [rbp + 0xff8]
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x20]
divsd xmm2, xmm0
movsd xmm1, qword [0x140008378]
comisd xmm1, xmm2
ja 0x1400018a6
comisd xmm2, xmmword [0x140008380]
ja 0x1400018a6
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov ecx, 0x960
call fcn.140003218
mov rbx, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0x958
mov qword [rsp + 0x78], 0x95f
mov rcx, rax
lea rdx, str.fNnCf1TTeHLr43AdXrH0bWjqDF7kIvngJJunG7PlCU5Yg4rCe1hPOCipgrxxSBl8fV9NjG98rcKLceSCmyQI6x4iNAtVwrEbWeGQznP87W_lmdKo4Md0Pt7hjNqtY_PDoNHeLjdw2r0OSQrldLo9uPNzD9phfrg7QRSOBCM2L1HIyrvfmfZ9LphfZ319vRMi235rLhNEjMEJvoIup2PPH1gmKywgUeRT63sbHCH4aC4DpQbhSyZN9x0rBsO0PipRjWndL2ykfiNwcJGQomf6Np4RFrn69B0ts1ivVp3u4QroMKS5hWaOkR8RFfVJIl63Vd3pQFSul5AkBwKqRESPFTY_0lHscispF3HaPxSnsclE7WZpFgBbch8xukZyuO7jYymxQq73suio0Fad0uUOtU6HJ76i7Zv25ZNy7yVMvsrkKaIbuLEWaQMans7lU8yWiJw5BkdUFy3tkuDE0FZ_jjJtKgtSL39mmZJ7NkMdLAwd8BoMB3AV_QxCXc_SvEItlQuodKG_OpqGY07GJQyZ2BXyZlLN2yROsQdPYCp5N8DZ43jltWBBxnsaliskbX9nJOKs1xwjhAn4cZgjIkrQTilp3fWjputCCY9mSs6WIB2mv9vFNEeGhcIEm_7ISZSGuuT0mH4AdQN2jLMau58kvEo5SGSa1ezbKNhA8lzVp17IZO3nlnZWrTNJru3cKko7EoHBUtvSlvkRka7rs1ueEuTx8T2xgXEdf93mCY6rypQ8JRR2tuA36qP_JgRTY65dxis5KPe402F8JupdYAe3cxA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AAVCU61r2V5DsVcW2nd0daFtA8bFxR3slssITY9mZILU2CFfKC9JkHAmnbseE20GzZoaRfribUOk9YCZsU4g90ltCcg2hGfYoQyjM9WX2TD9kOxJPZreUPKrRAdkZwvc8XjrNKc6qz7JwYxtssG6e4939BhG6qleITfvh4S3lS6kZvITViDHTfkm9U5LKFIEk_lk7N5qcd9KTascVp0KgmnYoIGgq4X4tgPGgyj7PU6ie9oMZTwc8fVbSzcX3dDAy8VO5BcWkVZ5rxOh9PmK41T2cTGgPUAtsX3akdxFbdWLiRHlPUQZVLgc7w4tXSX67ae87FJjUIpm9gOvpxMSG74p1bWFpd5IbzyRHeWp0gPv7XnMrpM5XDVviFtWSeKlAgnz8VnR9tkPPZAHJeF_e7hHT_2Hm47lNUQjBg7tbcSMyJknQjvmOtLrrKOLIwiWb6AJ18dUjyw2FZyKpG9Gg
mov r8d, 0x958
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + 0x958], 0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140001a70
nop
lea rdi, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
shr rcx, 1
mov edx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r14, rax
xor ebx, ebx
mov rsi, qword [rsp + 0x48]
test rsi, 0xfffffffffffffffe
jbe 0x14000168a
nop dword [rax]
lea r8, [rbx + r14]
lea rdx, str._02x
mov rcx, rdi
call fcn.1400010f0
add rdi, 2
inc rbx
mov rsi, qword [rsp + 0x48]
mov rax, rsi
shr rax, 1
cmp rbx, rax
jb 0x140001660
shr rsi, 1
lea rcx, str.Decrypted_buffer:_n
call fcn.140001090
movups xmm0, xmmword [str.___GF_345Hikf_kg]
movups xmmword [rsp + 0x20], xmm0
mov eax, dword [0x140005060]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400016c0
mov rcx, qword [rsp + 0x48]
shr rcx, 1
mov edx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r12, rax
xor r15d, r15d
movsxd r13, esi
test esi, esi
jle 0x140001722
mov rdi, rax
sub r14, rax
mov rsi, r13
mov eax, r15d
cdq
idiv ebx
movsxd rax, edx
movzx ecx, byte [rsp + rax + 0x20]
xor cl, byte [r14 + rdi]
movzx edx, cl
mov byte [rdi], dl
lea rcx, str.x_x
call fcn.140001090
inc r15d
lea rdi, [rdi + 1]
sub rsi, 1
jne 0x1400016f2
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov edi, dword [rcx + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x1400017b3
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400017b3
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
lea rcx, [r11 + r8*4]
mov edx, dword [rcx + r9]
add rdx, r9
mov ebx, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400017ae
nop dword [rax]
movsx ecx, cl
xor ecx, ebx
imul ebx, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140001790
cmp ebx, 0x3285501
je 0x1400017b8
test r8d, r8d
jne 0x140001770
mov rax, qword [rax]
jmp 0x140001740
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov eax, dword [rdi + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov eax, dword [rcx + rax*4]
add rax, r9
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, r13
xor ecx, ecx
call rax
mov rbx, rax
mov r8, r13
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
xor r9d, r9d
mov r8, rbx
xor edx, edx
call qword [sym.imp.GDI32.dll_EnumFontsW]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000184d
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001848
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001848
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003254
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400018b2
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000189f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000189f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003254
jmp 0x1400018b2
lea rcx, str.Time_tampering_detected__potential_sandbox__n
call fcn.140001090
xor eax, eax
mov rbx, qword [rsp + 0x10e0]
add rsp, 0x10a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret