joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027450
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 r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140028082
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14004a5a8]
test eax, eax
je 0x14002811a
lea rax, [0x14004a580]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14004a5b0]
mov qword [rbp - 8], rax
jmp 0x1400280fe
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 0x1400280f2
cmp qword [rbp - 0x10], 0
je 0x1400280f2
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 0x1400280b8
lea rax, [0x14004a580]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14002811b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140028220
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 0x140028248
mov eax, 0
jmp 0x140028296
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 0x140028271
mov eax, 0
jmp 0x140028296
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 0x140028291
mov eax, 0
jmp 0x140028296
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14002829c
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 0x14002831a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140028311
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 0x140028311
mov rax, qword [rbp - 8]
jmp 0x14002832f
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 0x1400282e4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14002fc74
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
je 0x14002fdbe
mov rcx, qword [rbp + 0x10]
call sym.pthread_spin_destroy
cmp eax, 1
jne 0x14002fdb1
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
movabs rax, 0x6b5f6e6970732070
movabs rdx, 0x20726f6620737965
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x20646165726874
mov edx, 0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov word [rbp - 8], 0
mov byte [rbp - 6], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov ecx, eax
lea rax, [rbp - 0x70]
add rax, 0x27
mov r8d, 0xa
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll__ultoa]
call rax
mov dword [rbp - 4], 0x27
jmp 0x14002fd67
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x70]
test al, al
je 0x14002fd7d
mov eax, dword [rbp - 4]
cmp eax, 0x69
jbe 0x14002fd63
mov eax, dword [rbp - 4]
cmp eax, 0x69
ja 0x14002fd9c
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x70], 0xa
mov eax, dword [rbp - 4]
add eax, 1
cdqe
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rax
call sym.abort
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
jmp 0x14002fdbf
nop
add rsp, 0x90
pop rbp
ret
Function at 0x140030ddb
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [sym.imp.KERNEL32.dll_TlsAlloc]
call rax
mov dword [0x14003b690], eax
mov eax, dword [0x14003b690]
cmp eax, 0xffffffff
jne 0x140030e02
call sym.abort
nop
add rsp, 0x20
pop rbp
ret

Function at 0x140030fb5
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xffffffffffffffff
lea rax, [sym.pthread_tls_init]
mov rdx, rax
lea rax, [0x14004b030]
mov rcx, rax
call sym._pthread_once_raw
mov eax, dword [0x14003b690]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140031008
mov rax, qword [rbp - 0x10]
jmp 0x140031168
call sym.pop_pthread_mem
mov qword [rbp - 0x10], rax
mov rax, qword [sym.__dyn_tls_pthread]
test rax, rax
je 0x140031024
cmp qword [rbp - 0x10], 0
jne 0x14003102e
mov eax, 0
jmp 0x140031168
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x44], 1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0x70], eax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 0x30], rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x68]
mov rax, qword [rbp - 8]
mov rdx, rax
call sym.replace_spin_keys
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xb8], 0
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
lea rdi, [rax + 0x28]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rsi, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call rax
test eax, eax
jne 0x140031109
call sym.abort
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadPriority]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0xc0], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 0
mov rax, qword [rbp - 0x10]
movzx edx, byte [rax + 0x40]
and edx, 0xffffffcf
or edx, 0x10
mov byte [rax + 0x40], dl
mov eax, dword [0x14003b690]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
test eax, eax
jne 0x140031164
call sym.abort
mov rax, qword [rbp - 0x10]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140031262
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call sym.__pthread_self_lite
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call sym._pthread_cleanup_dest
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x1400312cf
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_longjmp]
call rax
mov eax, dword [0x14003b690]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140031413
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14003136c
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x140031327
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 0x10], 0
mov eax, dword [0x14003b690]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x140031413
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x1400313a6
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x140031413
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 0x10], 0
mov eax, dword [0x14003b690]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x140032055
Capabilities:
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x14], 0
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
call sym._fpreset
lea rax, [0x14003b6a0]
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_lock
lea rax, [sym.pthread_tls_init]
mov rdx, rax
lea rax, [0x14004b030]
mov rcx, rax
call sym._pthread_once_raw
mov eax, dword [0x14003b690]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 8]
mov dword [rdx + 0x70], eax
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rdx, rbp
mov rax, qword [rbp - 8]
add rax, 0xd0
mov rcx, rax
call sym._setjmp
test eax, eax
jne 0x14003216a
mov qword [rbp - 0x10], pe_nt_image_headers64
lea rax, [0x14003b6a0]
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x140032138
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov rcx, rax
call rdx
mov qword [rbp - 0x10], rax
nop
nop
lea rax, [0x14003b6a0]
mov rcx, rax
call sym.pthread_mutex_lock
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call sym._pthread_cleanup_dest
jmp 0x140032179
lea rax, [0x14003b6a0]
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x1400321b5
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 8]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x140032223
mov rax, qword [rbp - 8]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 8], 0
mov eax, dword [0x14003b690]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x14003226d
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 8]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 8]
mov dword [rax + 0xbc], 1
jmp 0x14003226d
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, [0x14003b6a0]
mov rcx, rax
call sym.pthread_mutex_unlock
test eax, eax
je 0x14003225f
mov eax, dword [rbp - 0x14]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x140001570
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rcx
mov rdx, rcx
mov rcx, qword [0x14001ba88]
lea r8d, [rsi + 0x20]
mov ebx, esi
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea r8, [rdi + 1]
lea r9d, [rsi + 8]
nop word [rax + rax]
movzx eax, byte [r8 - 1]
movzx ecx, byte [r8]
lea r8, [r8 + 4]
imul eax, eax
add ebx, eax
imul ecx, ecx
mov eax, 0x11
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1b
imul eax, eax, 0xfffffff
sub ecx, eax
mov eax, 0x11
add ebx, ecx
movzx ecx, byte [r8 - 3]
mul ebx
mov eax, ebx
sub eax, edx
imul ecx, ecx
shr eax, 1
add eax, edx
shr eax, 0x1b
imul eax, eax, 0xfffffff
sub ecx, eax
mov eax, 0x11
add ebx, ecx
movzx ecx, byte [r8 - 2]
mul ebx
mov eax, ebx
sub eax, edx
imul ecx, ecx
shr eax, 1
add eax, edx
shr eax, 0x1b
imul eax, eax, 0xfffffff
sub ecx, eax
mov eax, 0x11
add ebx, ecx
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1b
imul eax, eax, 0xf0000001
add ebx, eax
dec r9
jne 0x1400015b0
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140003830
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140019430]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
lea rcx, [rsp + 0x20]
mov r8d, 0x130
xor edx, edx
xor esi, esi
call fcn.140006a60
lea ecx, [rsi + 2]
xor edx, edx
mov dword [rsp + 0x20], 0x130
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400038a6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
je 0x1400038cd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140003f10
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rcx, [rsp + 0x4c]
mov rdx, rdi
call fcn.140003cf0
cmp al, 1
je 0x140003904
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x140003908
lea rcx, [rsp + 0x4c]
mov rdx, rdi
call fcn.140003cf0
cmp al, 1
jne 0x1400038e0
mov esi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1400038a8
Function at 0x140003d80
Capabilities:
Contain obfuscated stackstrings
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140019430]
xor rax, rsp
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
call fcn.140003ce0
mov edx, 0x4000
mov ecx, eax
call fcn.140004b4c
mov ecx, 0xfffffff6
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x4000
movsxd rcx, eax
call fcn.140004b4c
lea rdx, [0x140017400]
mov ecx, edi
mov ebx, eax
call fcn.140004d24
lea rdx, [0x140017404]
mov ecx, ebx
mov rdi, rax
call fcn.140004d24
mov rbx, qword [rdi]
mov rsi, qword [rdi + 8]
mov r14, qword [rdi + 0x10]
mov r15, qword [rdi + 0x18]
mov r12, qword [rdi + 0x20]
mov rdi, qword [rdi + 0x28]
mov r13, rax
call fcn.14000446c
mov qword [rax + 0x30], rbx
mov qword [rax + 0x38], rsi
mov qword [rax + 0x40], r14
mov qword [rax + 0x48], r15
mov qword [rax + 0x50], r12
mov qword [rax + 0x58], rdi
mov rbx, qword [r13]
mov rdi, qword [r13 + 8]
mov rsi, qword [r13 + 0x10]
mov r14, qword [r13 + 0x18]
mov r15, qword [r13 + 0x20]
mov r12, qword [r13 + 0x28]
call fcn.14000446c
lea rcx, [rbp - 0x40]
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], r12
mov dword [rbp - 0x40], 0x6e6b6e75
mov dword [rbp - 0x3c], 0x636e776f
mov dword [rbp - 0x38], 0x74616568
mov dword [rbp - 0x34], 0x656d2e73
mov dword [rbp - 0x30], 0x42202d20
mov dword [rbp - 0x2c], 0x54203146
mov dword [rbp - 0x28], 0x6e696172
mov dword [rbp - 0x24], 0x2d207265
mov dword [rbp - 0x20], 0x65705320
mov dword [rbp - 0x1c], 0x31696465
mov word [rbp - 0x18], 0x33
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140003f10
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x140008214
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000807c
Function at 0x140001974
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov rcx, qword [0x14021c5e0]
lea r8, str.https:__conemu.github.io_donate.html
mov dword [rsp + 0x28], 1
lea rdx, str.open
and qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x1400019c3
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.14011f550
add rsp, 0x38
ret

Function at 0x1400019c8
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, qword [str.https:__www.fosshub.com_ConEmu.html]
lea rdx, str.open
mov rcx, qword [0x14021c5e0]
xor r9d, r9d
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x140001a17
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.14011f550
add rsp, 0x38
ret

Function at 0x140001a1c
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, qword [str.https:__conemu.github.io_en_SettingsFast.html]
lea rdx, str.open
mov rcx, qword [0x14021c5e0]
xor r9d, r9d
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x140001a6b
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.14011f550
add rsp, 0x38
ret

Function at 0x140001b24
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, qword [0x1401e30a0]
lea rdx, str.open
mov rcx, qword [0x14021c5e0]
xor r9d, r9d
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x140001b73
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.14011f550
add rsp, 0x38
ret

Function at 0x140001b78
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
sub rsp, 0x68
lea r8, str.TableOfContents
test rcx, rcx
cmovne r8, rcx
and qword [rax - 0x20], 0
and qword [rax - 0x28], 0
and qword [rax - 0x30], 0
and qword [rax - 0x38], 0
and qword [rax - 0x40], 0
and qword [rax - 0x48], 0
lea r9, str..html
lea rdx, str.https:__conemu.github.io_en_
lea rcx, [rax - 0x18]
call fcn.140120be0
nop
lea rcx, [rsp + 0x50]
call fcn.140058574
mov r8, rax
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
mov rcx, qword [0x14021c5e0]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x140001c15
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, str.ShellExecute_failed
call fcn.14011f550
nop
lea rcx, [rsp + 0x50]
call fcn.140120ddc
add rsp, 0x68
ret

Function at 0x140001c24
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, qword [str.https:__conemu.github.io_en_Issues.html]
lea rdx, str.open
mov rcx, qword [0x14021c5e0]
xor r9d, r9d
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x140001c73
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.14011f550
add rsp, 0x38
ret
Function at 0x140001c78
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [0x1401eaca0], 0
mov rbx, rcx
je 0x140001ca1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1401eaca0]
cmp eax, 0xea60
jb 0x140001d29
test rbx, rbx
je 0x140001cb2
movzx eax, word [rbx]
neg ax
sbb rcx, rcx
and rbx, rcx
mov r8, qword [str.https:__conemu.github.io_en_Issues.html]
lea rdx, str.open
mov rcx, qword [0x14021c5e0]
xor r9d, r9d
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x140001cff
and qword [rsp + 0x20], 0
lea rcx, str.ShellExecute_failed
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call fcn.14011f550
jmp 0x140001d1d
test rbx, rbx
je 0x140001d1d
or r9, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
xor r8d, r8d
mov edx, 0x1030
mov rcx, rbx
call fcn.14002b0f8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401eaca0], eax
add rsp, 0x30
pop rbx
ret

Function at 0x140001dc8
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
sub rsp, 0x68
test cl, cl
je 0x140001e7d
mov rdx, qword [0x14021c5d8]
add rdx, 0xf04
and qword [rax - 0x20], 0
and qword [rax - 0x28], 0
and qword [rax - 0x30], 0
and qword [rax - 0x38], 0
and qword [rax - 0x40], 0
and qword [rax - 0x48], 0
xor r9d, r9d
lea r8, str.WhatsNew_ConEmu.txt
lea rcx, [rax - 0x18]
call fcn.140120be0
nop
lea rcx, [rsp + 0x50]
call fcn.140058574
mov rcx, rax
xor edx, edx
call fcn.140122088
test al, al
je 0x140001e73
lea rcx, [rsp + 0x50]
call fcn.140058574
mov r8, rax
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
mov rcx, qword [0x14021c5e0]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
jl 0x140001e73
lea rcx, [rsp + 0x50]
call fcn.140120ddc
jmp 0x140001ec9
lea rcx, [rsp + 0x50]
call fcn.140120ddc
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [str.https:__conemu.github.io_en_Whats_New.html]
lea rdx, str.open
mov rcx, qword [0x14021c5e0]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
jge 0x140001ec9
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, str.File_WhatsNew_ConEmu.txt_not_found__go_to_web_page_failed
call fcn.14011f550
add rsp, 0x68
ret
Function at 0x140004748
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, 0x90
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x1400047a5
mov ecx, 0x12
call fcn.1401239d4
test al, al
je 0x1400047a5
mov ecx, 0x10
call fcn.1401239d4
test al, al
jne 0x1400047a5
mov ecx, 0x11
call fcn.1401239d4
test al, al
jne 0x1400047a5
mov ecx, 0x5b
call fcn.1401239d4
test al, al
jne 0x1400047a5
mov ecx, 0x5c
call fcn.1401239d4
test al, al
jne 0x1400047a5
mov al, 1
jmp 0x1400047a7
xor al, al
add rsp, 0x28
ret