joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14025dec0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140639300]
test eax, eax
je 0x140251860
add rsp, 0x28
jmp 0x14025dec0
xor edx, edx
mov ecx, 0x10001
call fcn.14024d920
xor eax, eax
add rsp, 0x28
ret
push r13
push r12
push rbx
sub rsp, 0x20
mov rbx, qword [0x1405d1040]
mov rcx, qword [rbx + 0x16b8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14025df50
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r12, rax
test rax, rax
je 0x14025df78
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r13, rax
test rax, rax
je 0x14025df98
mov rcx, qword [rbx + 0x16d0]
call sub.msvcrt.dll_free
mov rcx, r13
call fcn.140257540
mov rcx, r12
mov qword [rbx + 0x16d0], rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov r12, qword [rbx + 0x16d0]
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
lea rdx, str.Win32:_Failed_to_open_clipboard
mov ecx, 0x10008
xor r12d, r12d
call fcn.140257370
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
lea rdx, str.Win32:_Failed_to_convert_clipboard_to_string
mov ecx, 0x10009
call fcn.140257370
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14025df3e
lea rdx, str.Win32:_Failed_to_lock_global_handle
mov ecx, 0x10008
xor r12d, r12d
call fcn.140257370
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14025df3e
Function at 0x14026faa0
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.14027ad70
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.14027ad70
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 0x14026fb10
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14063ca14]
mov r12, rcx
test ebx, ebx
jle 0x14026fc40
mov rax, qword [0x14063ca18]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x14026fb5c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x14026fbe3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x14026fb40
mov rcx, r12
call fcn.1402704b0
mov rsi, rax
test rax, rax
je 0x14026fc62
mov rax, qword [0x14063ca18]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.1402705e0
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14063ca18]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14026fc47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14026fbdc
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14026fbf0
add dword [0x14063ca14], 1
add rsp, 0x50
pop rbx
pop rsi
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 rbx, qword [0x14063ca18]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14026fbdc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14026faa0
nop dword [rax]
xor ebx, ebx
jmp 0x14026fb67
mov rax, qword [0x14063ca18]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14026faa0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.14026faa0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140270120
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14063ca80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14063ca60]
test rbx, rbx
je 0x140270174
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 0x14027016b
test r12, r12
je 0x14027016b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140270150
lea rcx, [0x14063ca80]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1402704b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1405d0de0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1402704d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1402704d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1402704d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140270525
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14027051c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1402704d0
add rax, 0x28
cmp rax, r9
jne 0x140270508
xor eax, eax
ret

Function at 0x140270530
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1405d0de0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140270550
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140270558
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140270550
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1402705e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1405d0de0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140270600
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140270608
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x140272010
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x1405d0e60]
mov rax, qword [rsi]
test rax, rax
je 0x1402720a0
cmp qword [rax + 0x30], 0
jne 0x1402720c0
lea rbx, [0x1403b3a88]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x140272070
cmp qword [rax + 0x30], 0
jne 0x140272090
lea rdx, [0x1403b3a88]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je 0x14027b190
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140276f10
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140272052
test rax, rax
jne 0x140272090
call fcn.140276f10
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x140272060
call fcn.140276f10
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140272030
test rax, rax
jne 0x1402720c0
call fcn.140276f10
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x14027203b
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [pe_dos_header]
ud2
Function at 0x1402720d0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x1402721e2
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x1402721ba
add rax, 1
cmp rax, 0x6b
je 0x1402721d7
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x1402721b0
cmp edx, 0x6a
je 0x1402721d7
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x1402721cb
Function at 0x140272bf0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [0x1405d0e60]
mov rax, qword [rsi]
test rax, rax
je 0x140272de0
cmp qword [rax + 0x28], 0
jne 0x140272dc8
lea rcx, [0x14063cb38]
cmp dword [rcx], 1
mov qword [rax + 0x28], rcx
je 0x140272dd5
call fcn.140272200
mov rax, qword [rsi]
test rax, rax
je 0x140272c70
cmp qword [rax + 0x30], 0
jne 0x140272c90
lea rdx, [0x1403b3a88]
mov qword [rax + 0x30], rdx
mov rax, rdx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x140272ca4
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.140276f10
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140272c40
test rax, rax
jne 0x140272c90
call fcn.140276f10
nop dword [rax]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
jne 0x140272c5e
call fcn.140271d40
cmp qword [0x140641050], 0
mov rbx, rax
je 0x140272c5e
test rax, rax
je 0x140272c5e
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.140278db0
cmp eax, 1
je 0x140272e4d
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, r12
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14027b196
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [rsi]
test rax, rax
je 0x140272e28
cmp qword [rax + 0x30], 0
je 0x140272e10
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14027b196
mov r12, rbx
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x140272c2c
mov rax, qword [rsi]
jmp 0x140272c39
call fcn.140276f10
cmp qword [rax + 0x28], 0
mov rax, qword [rsi]
je 0x140272c18
test rax, rax
jne 0x140272dc8
call fcn.140276f10
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x140272c2c
jmp 0x140272c31
lea rdx, [0x1403b3a88]
mov qword [rax + 0x30], rdx
mov rax, rdx
jmp 0x140272d9e
call fcn.140276f10
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140272e10
test rax, rax
jne 0x140272d9a
call fcn.140276f10
jmp 0x140272d9a
call fcn.1402720d0
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [0x1405d0e60]
mov rdx, qword [rax]
lea rax, [0x14063cb48]
mov qword [rdx + 0x10], rax
ret
Function at 0x140276d90
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140276db0
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140276df8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140276da4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140276de5
Function at 0x140276f10
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x14063cc20]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x140276f33
lea rax, [0x14063cc28]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x140276f7b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140276f78
lea rax, [0x14063cc60]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x140276fab
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140276fa8
xor ecx, ecx
mov byte [0x14063cc79], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x14063cc82], rdx
lea r8, [0x14063cc20]
lea rbx, [0x14063cc7a]
mov qword [0x14063cc92], rdx
mov qword [0x14063cca2], rdx
mov qword [0x14063ccb2], rdx
xor edx, edx
mov qword [0x14063cc7a], rax
mov qword [0x14063cc8a], rax
mov qword [0x14063cc9a], rax
mov qword [0x14063ccaa], rax
mov byte [0x14063ccba], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140277186
lea rcx, [0x14063cc60]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x1402770d1
lea rsi, [0x14063cb60]
lea r8, [0x14063ccba]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x14027707d
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x140277070
lea rcx, [0x14063cc60]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x140277173
lea rcx, [0x140276e20]
mov qword [0x14063cb60], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x14063cb60]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x14063cc60]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x14063ccba]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x1402771a6
nop dword [rax]
cmp byte [rax], 0x41
jne 0x140277123
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x140277110
mov rax, rdx
mov qword [0x14063cb60], rax
lea rsi, [0x14063cb60]
jmp 0x140277149
cmp rdx, rsi
je 0x1402770af
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x140277140
cmp rdx, rsi
je 0x1402770af
mov qword [rdx + 8], rsi
lea rcx, [0x140276e20]
call sub.msvcrt.dll__onexit
jmp 0x1402770af
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.140276d90
xor eax, eax
jmp 0x1402770c8
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.140276d90
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.140276d90
xor eax, eax
jmp 0x14027712f
Function at 0x140001370
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbp
push r15
lea rbp, [r11 - 0x48]
sub rsp, 0x138
mov rax, qword [0x14001c008]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rcx, qword [str.test.cpl]
xorps xmm0, xmm0
mov qword [r11 + 8], rbx
xor r9d, r9d
mov qword [r11 + 0x20], r12
mov ebx, 8
movups xmmword [rbp - 0x20], xmm0
mov qword [r11 - 0x18], r14
mov r12d, 0xf
mov qword [rbp - 0x20], rcx
lea r14, str.control
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov edx, ebx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], r12
xor r15d, r15d
mov byte [rbp - 0x18], 0
call section..text
mov r14, qword [rsp + 0x130]
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x150]
xorps xmm1, xmm1
movups xmmword [rbp], xmm0
movdqu xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x18], r12
mov r12, qword [rsp + 0x168]
mov qword [rax + 0x10], r15
mov byte [rax], r15b
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140001465
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001460
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000156d
call fcn.1400016b4
cmp qword [rbp + 0x18], 0x10
lea rcx, [rbp]
cmovae rcx, qword [rbp]
call fcn.140005a9c
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, str.test.exe
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400014f3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea r8, [0x140012419]
lea rdx, str.Made_for_Damaan__exit
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14000154e
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001549
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001567
call fcn.1400016b4
xor eax, eax
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140001750
add rsp, 0x138
pop r15
pop rbp
ret
call fcn.140005a24
int3
call fcn.140005a24
int3
Function at 0x1400021d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000221e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000221e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000221e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000221e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000221e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002220
xor al, al
add rsp, 0x28
ret

Function at 0x1400069a8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400067a4
Function at 0x14000a4f8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000a528
xor eax, eax
jmp 0x14000a5eb
mov rbp, rbx
cmp word [rax], si
je 0x14000a54d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000a534
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000a530
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000a418
movsxd r14, eax
test eax, eax
jne 0x14000a58b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000a521
mov rcx, r14
call fcn.140008bcc
mov rdi, rax
test rax, rax
jne 0x14000a5a4
xor ecx, ecx
call fcn.140007ad8
jmp 0x14000a580
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000a418
test eax, eax
jne 0x14000a5d5
mov rcx, rdi
call fcn.140007ad8
jmp 0x14000a5df
xor ecx, ecx
call fcn.140007ad8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000e188
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140008988
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000e212
cmp byte [rbp - 0x21], r15b
je 0x14000e20d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000e248
call fcn.14000bacc
test eax, eax
jne 0x14000e234
cmp byte [rbp - 0x21], r15b
je 0x14000e22c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000e248
cmp byte [rbp - 0x21], r15b
je 0x14000e245
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000880c
test eax, eax
jne 0x14000e2e8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140008988
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000e287
cmp byte [rbp - 0x21], r15b
je 0x14000e2bc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000e2bc
call fcn.14000bacc
test eax, eax
jne 0x14000e2a8
cmp byte [rbp - 0x21], r15b
je 0x14000e2a1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000e2bc
cmp byte [rbp - 0x21], r15b
je 0x14000e2b9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000880c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000e2e8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000e2eb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000e2f9
mov rcx, rdi
call fcn.140007ad8
cmp byte [rbp + 0x3f], r15b
je 0x14000e308
mov rcx, qword [rbp + 0x27]
call fcn.140007ad8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret