joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180063040
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x1800630cc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1800630a0
lea r11, [0x180078530]
nop
cmp r9b, 0x23
jne 0x180063083
cmp byte [r8], r9b
jne 0x180063083
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180063070
mov rcx, qword [0x18008dd90]
not eax
cmp dword [rcx + 0x3f30], eax
jne 0x1800630b7
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x180063129
mov byte [rcx + 0x3f64], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x18008dd90]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ed0]
movsxd rax, dword [rbx + 0xf0]
mov r8, qword [rbx + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.18002a3d0
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f18], eax
jne 0x180063122
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.180041390
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800667d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800669f0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800668d7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180066834
mov rax, qword [0x18008c008]
cmp qword [rsp + 0x20], rax
ja 0x180066834
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800667f6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180066863
jmp 0x1800668d7
cmp dword [rsp + 0x50], 0x10000
jne 0x1800668ba
cmp qword [rsp + 0x48], 0x10000
jb 0x1800668ba
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800668a8
mov rax, qword [rsp + 0x28]
jmp 0x1800668d9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800668d2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800669f0
mov qword [rsp + 0x20], rax
jmp 0x1800667f6
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800668e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180066a30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800669e3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18006693b
mov rax, qword [0x18008c008]
cmp qword [rsp + 0x20], rax
ja 0x18006693b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800668fd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006696a
jmp 0x1800669e3
cmp dword [rsp + 0x50], 0x10000
jne 0x1800669c1
cmp qword [rsp + 0x48], 0x10000
jb 0x1800669c1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800669af
mov rax, qword [rsp + 0x28]
jmp 0x1800669e5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800669de
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180066a30
mov qword [rsp + 0x20], rax
jmp 0x1800668fd
xor eax, eax
add rsp, 0x68
ret
Function at 0x180066a80
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180067010
mov qword [rsp + 0x28], 0
cmp qword [0x18008d688], 0
jne 0x180066ac8
cmp qword [0x18008d680], 0
je 0x180066ac8
mov rax, qword [0x18008d680]
mov qword [0x18008d688], rax
cmp qword [0x18008d688], 0
je 0x180066b6e
mov rax, qword [0x18008d688]
cmp qword [rax + 0x10], 0
je 0x180066b6e
mov rax, qword [0x18008d688]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180066b6e
mov rax, qword [0x18008d688]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180066b6e
mov rax, qword [0x18008d688]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180066b34
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180066b3b
xor eax, eax
jmp 0x180066ce9
mov rax, qword [0x18008d688]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180066ce9
mov rax, qword [0x18008d680]
mov qword [0x18008d688], rax
jmp 0x180066b90
mov rax, qword [0x18008d688]
mov rax, qword [rax + 8]
mov qword [0x18008d688], rax
cmp qword [0x18008d688], 0
je 0x180066bdd
cmp qword [0x18008d688], 0
je 0x180066bdb
mov rax, qword [0x18008d688]
cmp qword [rax + 0x10], 0
je 0x180066bdb
mov rax, qword [0x18008d688]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180066bdb
mov rax, qword [0x18008d688]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180066bdb
jmp 0x180066b0c
jmp 0x180066b7e
mov rcx, qword [rsp + 0x60]
call fcn.180068e90
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180066cf0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180066ce7
mov rax, qword [rsp + 0x48]
mov qword [0x18008d688], rax
mov rax, qword [0x18008d688]
mov dword [rax], 0x52727464
mov rax, qword [0x18008d688]
mov qword [rax + 0x10], 0
mov rax, qword [0x18008d688]
mov rcx, qword [0x18008d680]
mov qword [rax + 8], rcx
mov rax, qword [0x18008d688]
mov qword [0x18008d680], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18008d688]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180066c98
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180066cd2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180066c8e
mov rax, qword [0x18008d688]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180066b0c
xor eax, eax
add rsp, 0x58
ret
Function at 0x18006b160
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x18008c3c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x18006b33b
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x18006b330
mov eax, dword [rsp + 0x38]
cmp rax, 0x10
jb 0x18006b311
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x44], eax
jne 0x18006b311
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x40], eax
je 0x18006b311
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x18006b25d
mov rax, qword [rsp + 0x90]
mov dword [rax + 8], 0x80
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x18008d6c0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x18006b25b
jmp 0x18006b330
jmp 0x18006b2dc
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x18006b2dc
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
shl eax, 1
mov eax, eax
shl rax, 2
mov r9, rax
mov rax, qword [rsp + 0x90]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x18008d6c0]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x18006b2b4
jmp 0x18006b330
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x18006b1d1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsp
lea rdx, [0x180073fd0]
call fcn.18006ed70
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18006e1c0
add rsp, 0x80
pop rdi
ret
Function at 0x18006b370
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.18006b160
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x18006b433
mov dword [rsp + 0x20], 0
jmp 0x18006b3d0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x18006b433
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006b431
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.18006af40
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18006b3c6
add rsp, 0x30
pop rdi
ret

Function at 0x18006b440
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x18006b4d0
mov dword [rsp + 0x20], 0
jmp 0x18006b469
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x18006b4b9
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006b4b7
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18006b45f
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x18008d6c0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x18006b4e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x18008e490]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18006b566
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18006b58f
mov eax, 0xa
jmp 0x18006b6c9
cmp dword [rsp + 0x88], 0
je 0x18006b5fd
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18006b5fb
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x18006b649
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18006b62d
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x18006b649
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180074030]
call fcn.18006ed70
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x18006cb80
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x18006cbda
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x18006cbda
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x18006cbda
xor eax, eax
jmp 0x18006cc21
mov dword [rsp], 1
jmp 0x18006cbeb
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x18006cc1c
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x18006cc1a
xor eax, eax
jmp 0x18006cc21
jmp 0x18006cbe3
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x18006df28
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18006df62
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18006df67
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18006dfb0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800743d0]
cmp byte [rcx + rax], 0
je 0x18006dfb0
dec r8
sub rdx, 1
jne 0x18006df96
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x4017c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x4017c0
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rdi, rsp
movabs rcx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x00492070]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x28], 0x77
mov byte [rsp + 0x29], 0x58
mov byte [rsp + 0x2a], 0x52
mov byte [rsp + 0x2b], 0x79
mov byte [rsp + 0x2c], 0x4a
mov byte [rsp + 0x2d], 0x4a
mov byte [rsp + 0x2e], 0x5a
mov byte [rsp + 0x2f], 0x77
mov byte [rsp + 0x30], 0x53
mov byte [rsp + 0x31], 0x42
mov byte [rsp + 0x32], 0x49
mov byte [rsp + 0x33], 0x56
mov byte [rsp + 0x34], 0x50
mov byte [rsp + 0x35], 0x54
mov byte [rsp + 0x36], 0x67
mov byte [rsp + 0x37], 0x4e
mov byte [rsp + 0x38], 0x44
mov byte [rsp + 0x39], 0x52
mov byte [rsp + 0x3a], 0x61
mov byte [rsp + 0x3b], 0x43
mov byte [rsp + 0x3c], 0
mov rcx, qword [rsp + 0x90]
call fcn.004012c6
movzx eax, al
test eax, eax
jne 0x401898
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
call fcn.00401145
test eax, eax
jne 0x4018b5
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x90]
call fcn.0040124e
mov rax, qword [rsp + 0x50]
jmp 0x40192f
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x4018f2
mov rcx, qword [rsp + 0x90]
call fcn.004010a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x90]
call fcn.0040124e
mov rax, qword [rsp + 0x58]
jmp 0x40192f
mov rcx, qword [rsp + 0x90]
call fcn.004010a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x90]
call fcn.0040124e
mov rax, qword [rsp + 0x60]
jmp 0x40192f
mov rdi, rax
mov rcx, rsp
lea rdx, [0x0047b0a0]
call fcn.00409610
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.004095f0
add rsp, 0x80
pop rdi
ret
Function at 0x4114e7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x00492070]
jne 0x40960a
rol rcx, 0x10
test cx, 0xffff
jne 0x409606
repz ret
ror rcx, 0x10
jmp 0x411440
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x00493ff0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x004940e8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x4114c5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x00493ff0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x4114e7
mov rax, qword [rsp + 0x88]
mov qword [0x004940e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x00494088], rax
mov rax, qword [0x004940e8]
mov qword [0x00493f60], rax
mov rax, qword [rsp + 0x90]
mov qword [0x00494070], rax
mov dword [0x00493f50], 0xc0000409
mov dword [0x00493f54], 1
mov rax, qword [0x00492070]
mov qword [rsp + 0x68], rax
mov rax, qword [0x00492078]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x00493fe8], eax
mov ecx, 1
call fcn.00415b20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0047f048]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x00493fe8], 0
jne 0x41156e
mov ecx, 1
call fcn.00415b20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140001070
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1288
call fcn.140002de0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1270], rax
lea rax, str.vmware.exe
mov edx, 0x1000
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x58]
lea rax, str.vboxservice.exe
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
lea rax, str.vboxtray.exe
mov qword [rsp + 0x38], rax
lea rax, str.vmtoolsd.exe
mov qword [rsp + 0x40], rax
lea rax, str.vmwaretray.exe
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x14000110a
lea rcx, str.EnumProcesses_failed._n
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x1270]
xor rcx, rsp
call fcn.140001fe0
add rsp, 0x1288
ret
mov eax, dword [rsp + 0x58]
mov qword [rsp + 0x1290], rbx
shr eax, 2
mov qword [rsp + 0x1298], rsi
mov qword [rsp + 0x1280], rdi
xor edi, edi
mov dword [rsp + 0x58], eax
test eax, eax
je 0x140001205
nop word [rax + rax]
mov ebx, dword [rsp + rdi*4 + 0x60]
test ebx, ebx
je 0x1400011f9
movups xmm0, xmmword [str._unknown_]
mov eax, dword [0x140003418]
lea rcx, [rsp + 0x1074]
xor edx, edx
mov dword [rsp + 0x1070], eax
mov r8d, 0x1f4
movaps xmmword [rsp + 0x1060], xmm0
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x1400011f9
lea r9, [rsp + 0x5c]
mov r8d, 8
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1400011ce
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x1060]
mov r9d, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
xor ebx, ebx
mov rcx, qword [rsp + rbx*8 + 0x28]
lea rdx, [rsp + 0x1060]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140001243
inc rbx
cmp rbx, 5
jb 0x1400011d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rsp + 0x58]
jb 0x140001140
lea rcx, str.Virtual_machine_not_detected._n
call fcn.140001010
xor eax, eax
mov rsi, qword [rsp + 0x1298]
mov rbx, qword [rsp + 0x1290]
mov rdi, qword [rsp + 0x1280]
mov rcx, qword [rsp + 0x1270]
xor rcx, rsp
call fcn.140001fe0
add rsp, 0x1288
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x1060]
lea rcx, str.Virtual_machine_detected:__S_n
call fcn.140001010
mov ebx, 0xa
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x64
sub r8d, ecx
mov dword [rsp + 0x20], r8d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x51eb851f
imul r8d
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xc8
sub r8d, ecx
mov dword [rsp + 0x24], r8d
mov ecx, dword [rsp + 0x24]
mov eax, dword [rsp + 0x20]
add ecx, eax
mov dword [rsp + 0x20], ecx
sub rbx, 1
jne 0x140001265
mov eax, 1
jmp 0x140001213