joyce8/EMBER2024-capa huggingface dataset:
Function at 0x74a719a0
Capabilities:
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x6b0]
lea rax, [0x74a7e040]
mov r8d, 0xff
movabs rdx, 0x14
mov rcx, rax
call fcn.74a73da0
mov byte [rbp - 0x668], 0
lea rcx, [rbp - 0x200]
mov edx, 0x100
call sub.kernel32.dll_GetWindowsDirectoryW
mov dword [rbp - 0x408], eax
lea rcx, [rbp - 0x200]
mov edx, dword [rbp - 0x408]
call sub.user32.dll_CharLowerBuffW
lea r8, [0x74a7e020]
mov edx, dword [rbp - 0x408]
shl edx, 1
lea rcx, [rbp - 0x200]
call fcn.74a71710
lea rcx, [rbp - 0x200]
mov edx, 0x100
call sub.kernel32.dll_GetSystemDirectoryW
mov dword [rbp - 0x408], eax
lea rcx, [rbp - 0x200]
mov edx, dword [rbp - 0x408]
call sub.user32.dll_CharLowerBuffW
lea r8, [section..bss]
mov edx, dword [rbp - 0x408]
shl edx, 1
lea rcx, [rbp - 0x200]
call fcn.74a71710
lea rax, [rbp - 0x200]
mov qword [rsp + 0x20], rax
mov r9d, 0
movabs r8, 0
mov edx, 0x26
movabs rcx, 0
call sub.shell32.dll_SHGetFolderPathW
lea r8, [rbp - 0x200]
lea rcx, [rbp - 0x400]
lea rdx, [0x74a7c038]
call sub.user32.dll_wsprintfW
lea rcx, [rbp - 0x400]
lea rdx, [rbp - 0x658]
call sub.kernel32.dll_FindFirstFileW
mov qword [rbp - 0x660], rax
cmp qword [rbp - 0x660], 0xffffffffffffffff
je 0x74a71bcf
nop
lea rcx, [rbp - 0x62c]
call sub.kernel32.dll_lstrlenW
mov dword [rbp - 0x408], eax
lea rcx, [rbp - 0x62c]
mov edx, dword [rbp - 0x408]
call sub.user32.dll_CharLowerBuffW
lea r8, [rbp - 0x680]
mov edx, dword [rbp - 0x408]
shl edx, 1
lea rcx, [rbp - 0x62c]
call fcn.74a71710
lea rdx, [0x74a7b0c0]
lea rcx, [rbp - 0x680]
mov r8d, 0x14
call fcn.74a71930
test al, al
je 0x74a71b93
lea r9, [rbp - 0x62c]
lea r8, [rbp - 0x200]
lea rcx, [rbp - 0x400]
lea rdx, [0x74a7c060]
call sub.user32.dll_wsprintfW
lea rcx, [rbp - 0x400]
call sub.kernel32.dll_lstrlenW
mov dword [rbp - 0x408], eax
lea rcx, [rbp - 0x400]
mov edx, dword [rbp - 0x408]
call sub.user32.dll_CharLowerBuffW
lea r8, [0x74a7e040]
mov edx, dword [rbp - 0x408]
shl edx, 1
lea rcx, [rbp - 0x400]
call fcn.74a71710
mov byte [rbp - 0x668], 1
lea rdx, [rbp - 0x658]
mov rcx, qword [rbp - 0x660]
call sub.kernel32.dll_FindNextFileW
test eax, eax
je 0x74a71bc3
cmp byte [rbp - 0x668], 0
sete al
and eax, 0xff
neg eax
test eax, eax
jne 0x74a71ad0
mov rcx, qword [rbp - 0x660]
call sub.kernel32.dll_FindClose
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x74a71e10
Capabilities:
Allocate or change rwx memory
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x170]
mov qword [rbp - 8], rcx
mov qword [rbp - 0x10], rdx
mov qword [rbp - 0x18], r8
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x28], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rbp - 8]
movabs r9, 0
movabs r8, 0
movabs rdx, 0
call sub.advapi32.dll_RegQueryInfoKeyW
test eax, eax
jne 0x74a7209a
mov dword [rbp - 0x38], 0
jmp 0x74a72087
mov dword [rbp - 0x40], 0x40
mov dword [rbp - 0x48], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0xc8]
mov edx, dword [rbp - 0x38]
mov rcx, qword [rbp - 8]
call sub.advapi32.dll_RegEnumValueW
test eax, eax
jne 0x74a72083
lea rcx, [rbp - 0xc8]
mov edx, dword [rbp - 0x40]
call sub.user32.dll_CharLowerBuffW
lea r8, [rbp - 0x108]
mov edx, dword [rbp - 0x40]
shl edx, 1
lea rcx, [rbp - 0xc8]
call fcn.74a71710
test al, al
je 0x74a72083
lea rcx, [rbp - 0x108]
mov rdx, qword [rbp - 0x10]
mov r8d, 0x14
call fcn.74a71930
test al, al
je 0x74a72083
cmp qword [rbp + 0x30], 0
je 0x74a71f73
lea rdx, [rbp - 0xc8]
mov rcx, qword [rbp + 0x30]
mov r8d, 0x10
call sub.kernel32.dll_lstrcpynW
cmp qword [rbp - 0x18], 0
jne 0x74a72036
mov rdx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x48]
mov dword [rdx], eax
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp - 0x20]
movsxd rax, dword [rax]
lea r8, [rax + 0x100]
mov r9d, 0x3000
movabs rdx, 0
movabs rcx, 0xffffffffffffffff
call sub.kernel32.dll_VirtualAllocEx
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
je 0x74a72083
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0xc8]
mov rcx, qword [rbp - 8]
movabs r9, 0
movabs r8, 0
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x74a72083
mov rdx, qword [rbp - 0x28]
mov r9d, 0x8000
movabs r8, 0
movabs rcx, 0xffffffffffffffff
call sub.kernel32.dll_VirtualFreeEx
mov qword [rbp - 0x28], 0
jmp 0x74a72083
mov rax, qword [rbp - 0x20]
mov eax, dword [rax]
cmp eax, dword [rbp - 0x48]
jl 0x74a72083
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0xc8]
mov rcx, qword [rbp - 8]
movabs r9, 0
movabs r8, 0
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x74a72083
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x28], rax
add dword [rbp - 0x38], 1
mov eax, dword [rbp - 0x38]
cmp eax, dword [rbp - 0x30]
jge 0x74a7209a
cmp qword [rbp - 0x28], 0
je 0x74a71eb8
mov rax, qword [rbp - 0x28]
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x74a72d10
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x650]
mov qword [rbp - 8], rcx
mov qword [rbp - 0x10], rdx
mov dword [rbp - 0x18], r8d
mov dword [rbp - 0x20], r9d
mov qword [rbp - 0x28], 0
sub dword [rbp - 0x18], 1
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp - 8]
mov r9d, 0x20119
mov r8d, 0
movabs rcx, 0xffffffff80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x74a72f35
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov rcx, qword [rbp - 0x30]
movabs r9, 0
movabs r8, 0
movabs rdx, 0
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
jne 0x74a72f2c
mov byte [rbp - 0x560], 0
mov dword [rbp - 0x40], 0
jmp 0x74a72f10
mov dword [rbp - 0x150], 0x100
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rbp - 0x148]
lea r9, [rbp - 0x150]
mov edx, dword [rbp - 0x40]
mov rcx, qword [rbp - 0x30]
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x74a72f0c
lea r9, [rbp - 0x148]
lea rcx, [rbp - 0x550]
mov r8, qword [rbp - 8]
lea rdx, str._s_s
call sub.user32.dll_wsprintfA
mov dword [rbp - 0x48], eax
cmp dword [rbp - 0x18], 0
jne 0x74a72eea
lea rcx, [rbp - 0x550]
mov edx, dword [rbp - 0x48]
call sub.user32.dll_CharLowerBuffA
lea r8, [rbp - 0x5a0]
lea rcx, [rbp - 0x550]
mov edx, dword [rbp - 0x48]
call fcn.74a71710
test al, al
je 0x74a72f0c
lea rcx, [rbp - 0x5a0]
mov rdx, qword [rbp - 0x10]
mov r8d, 0x14
call fcn.74a71930
test al, al
je 0x74a72f0c
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x550]
mov r9d, dword [rbp - 0x20]
mov r8d, 0
movabs rcx, 0xffffffff80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
setne byte [rbp - 0x560]
jmp 0x74a72f0c
cmp dword [rbp - 0x18], 0
jle 0x74a72f0c
lea rcx, [rbp - 0x550]
mov r9d, dword [rbp - 0x20]
mov r8d, dword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
call fcn.74a72d10
mov qword [rbp - 0x28], rax
add dword [rbp - 0x40], 1
mov eax, dword [rbp - 0x40]
cmp eax, dword [rbp - 0x38]
jge 0x74a72f2c
cmp qword [rbp - 0x28], 0
jne 0x74a72f2c
cmp byte [rbp - 0x560], 0
je 0x74a72df8
mov rcx, qword [rbp - 0x30]
call sub.advapi32.dll_RegCloseKey
mov rax, qword [rbp - 0x28]
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x74a771c0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ax, word [0x74a7b400]
cmp ax, 0xcb
je 0x74a772f5
cmp ax, 0xcc
je 0x74a772f5
mov rax, qword [0x74a7fff0]
test rax, rax
je 0x74a771fc
mov ecx, dword [0x74a7fdd0]
call rax
mov rbx, rax
jmp 0x74a77203
lea rbx, [0x74a7fdd8]
cmp word [0x74a7fdc0], 0
jle 0x74a7722a
lea rcx, [0x74a7fd90]
call fcn.74a774e0
mov rcx, rbx
call fcn.74a76c60
mov rcx, rbx
call fcn.74a76cf0
mov rsi, qword [rbx]
jmp 0x74a7725a
mov rdi, qword [rsi + 8]
mov rax, qword [rsi]
and rax, 1
test rax, rax
jne 0x74a7724d
mov rdx, rsi
mov rcx, rbx
call fcn.74a75e90
jmp 0x74a77257
mov rax, qword [rsi]
and rax, 0xfffffffffffffffe
mov qword [rsi], rax
mov rsi, rdi
test rsi, rsi
jne 0x74a77230
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x74a7fdc0], 0
jle 0x74a772f5
lea rdx, [0x74a7fca0]
mov rcx, rbx
call fcn.74a76020
mov rsi, rax
test rsi, rsi
je 0x74a772c4
mov rax, qword [0x74a7fd40]
mov qword [rsi + 0x18], rax
cmp qword [0x74a7fd40], 0
je 0x74a772b6
mov rax, qword [0x74a7fd40]
mov qword [rax + 0x10], rsi
mov rax, qword [rbx + 0xa0]
mov qword [0x74a7fd40], rax
sub word [0x74a7fdc0], 1
cmp word [0x74a7fdc0], 0
sete bl
lea rcx, [0x74a7fd90]
call fcn.74a77500
test bl, bl
je 0x74a772f5
lea rcx, [0x74a7fd90]
call fcn.74a774c0
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x74a79230
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x138]
mov esi, 0
mov qword [0x74a7fb90], 0
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x28]
mov r8d, 0x104
movabs rcx, 0
call sub.kernel32.dll_GetModuleFileNameA
mov ebx, eax
mov eax, ebx
and eax, 0xffffffff
mov byte [rsp + rax + 0x28], 0
mov r8d, ebx
mov rcx, rsp
mov edx, 0
call fcn.74a79410
movsxd rax, ebx
lea r8, [rax + 1]
mov rax, qword [0x74a7fb90]
mov rdx, qword [rax]
lea rcx, [rsp + 0x28]
call fcn.74a738e0
call sub.kernel32.dll_GetCommandLineA
mov qword [0x74a7b480], rax
mov r14, qword [0x74a7b480]
jmp 0x74a793c0
add r14, 1
movzx eax, byte [r14]
sub eax, 1
cmp eax, 0x20
jb 0x74a792d0
cmp byte [r14], 0
je 0x74a793ca
mov dil, 0
mov r12, r14
mov ebx, 0
jmp 0x74a79332
mov al, byte [r14]
cmp al, 1
jb 0x74a7932b
sub al, 1
sub al, 0x1f
jbe 0x74a7930b
sub al, 2
je 0x74a79315
jmp 0x74a7932b
test dil, dil
je 0x74a79338
add ebx, 1
jmp 0x74a7932e
cmp byte [r14 + 1], 0x22
je 0x74a79325
test dil, dil
sete dil
jmp 0x74a7932e
add r14, 1
jmp 0x74a7932e
add ebx, 1
add r14, 1
cmp byte [r14], 0
jne 0x74a792f8
test esi, esi
je 0x74a793bd
mov r8d, ebx
mov edx, esi
mov rcx, rsp
call fcn.74a79410
mov dil, 0
mov r14, r12
mov rdx, qword [0x74a7fb90]
movsxd rax, esi
mov r13, qword [rdx + rax*8]
jmp 0x74a793b2
mov al, byte [r14]
cmp al, 1
jb 0x74a793a3
sub al, 1
sub al, 0x1f
jbe 0x74a7937b
sub al, 2
je 0x74a7938d
jmp 0x74a793a3
test dil, dil
je 0x74a793b8
mov al, byte [r14]
mov byte [r13], al
add r13, 1
jmp 0x74a793ae
cmp byte [r14 + 1], 0x22
je 0x74a7939d
test dil, dil
sete dil
jmp 0x74a793ae
add r14, 1
jmp 0x74a793ae
mov al, byte [r14]
mov byte [r13], al
add r13, 1
add r14, 1
cmp byte [r14], 0
jne 0x74a79368
mov byte [r13], 0
add esi, 1
cmp byte [r14], 0
jne 0x74a792d4
mov dword [0x74a7fb80], esi
movsxd rax, esi
lea rdx, [rax + 1]
shl rdx, 3
lea rcx, [0x74a7fb90]
call fcn.74a76f80
mov rax, qword [0x74a7fb90]
movsxd rsi, esi
mov qword [rax + rsi*8], 0
nop
lea rsp, [rsp + 0x138]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret
Function at 0x2fc4d26d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d37b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d30d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d316a
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d314e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d3142
cmp qword [rbp - 0x10], 0
je 0x2fc4d3142
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d3108
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d316b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d3270
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d3298
mov eax, 0
jmp 0x2fc4d32e6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d32c1
mov eax, 0
jmp 0x2fc4d32e6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d32e1
mov eax, 0
jmp 0x2fc4d32e6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d32ec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d336a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d3361
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d3361
mov rax, qword [rbp - 8]
jmp 0x2fc4d337f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d3334
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4fddd0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4fe7d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc523108]
test eax, eax
je 0x2fc4fe86a
lea rax, [0x2fc5230e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc523110]
mov qword [rbp - 8], rax
jmp 0x2fc4fe84e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4fe842
cmp qword [rbp - 0x10], 0
je 0x2fc4fe842
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4fe808
lea rax, [0x2fc5230e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4fe86b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4fe970
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4fe998
mov eax, 0
jmp 0x2fc4fe9e6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4fe9c1
mov eax, 0
jmp 0x2fc4fe9e6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4fe9e1
mov eax, 0
jmp 0x2fc4fe9e6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4fe9ec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4fea6a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4fea61
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4fea61
mov rax, qword [rbp - 8]
jmp 0x2fc4fea7f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4fea34
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400018d0
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [0x140000000]
nop dword [rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x80000003
jge 0x1400018ff
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
je 0x140001929
sub eax, 1
je case.default.0x14000195c
sub eax, 1
je 0x1400019b9
cmp eax, 1
jne 0x1400018e0
lea rcx, str.start_msedge
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x1400018e0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x2aaaaaab
imul r8d
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
add ecx, ecx
sub r8d, ecx
cmp r8d, 5
ja case.default.0x14000195c
movsxd rax, r8d
mov ecx, dword [rbx + rax*4 + 0x19d8]
add rcx, rbx
jmp rcx
lea rcx, str.start_https:__www.google.com_search_qhow2deletevirus
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.start_https:__www.google.com_search_qdownloadminecraftcheats
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.start_https:__www.google.com_search_qdownloadcsgocheats
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.start_https:__www.youtube.com_watch_vdQw4w9WgXcQ
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.start_https:__www.youtube.com_channel_UCjYlpjuHknFt9NXZcyaHPyQ
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.start_https:__www.youtube.com_watch_vD8RESpMT1M8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.start_cmd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.start_notepad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.start_msedge
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x1400018e0
Function at 0x1400036a8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400036f2
mov ecx, WriteFile
cmp word [rax], cx
jne 0x1400036f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400036f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400036f2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400036f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400036f4
xor al, al
add rsp, 0x28
ret
Function at 0x4157c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41594b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432400
xorps xmm15, xmm15
mov r14, qword [0x005e29d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415825
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415834
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415853
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415863
cmp rbx, 0x1000
jae 0x41582b
jmp 0x4158cd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415875
xor edx, edx
jmp 0x4158c4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432400
xorps xmm15, xmm15
mov r14, qword [0x005e29d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415859
jmp 0x415848
call fcn.004641a0
xorps xmm15, xmm15
mov r14, qword [0x005e29d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004364a0
lea rax, [0x004bb0b3]
mov ebx, 0x18
nop dword [rax]
call fcn.00436d20
mov rax, qword [rsp + 0x38]
call fcn.00436a60
lea rax, [0x004bb3ed]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00436d20
mov rax, qword [rsp + 0x30]
call fcn.00436a60
call fcn.004366e0
call fcn.00436500
lea rax, [0x004bd103]
mov ebx, 0x21
call fcn.00434a00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460a80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004157c0