joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001abc
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rdx, [rbp - 4]
mov rax, qword [rbp + 0x18]
mov r9, rdx
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
je 0x140001b1a
mov rax, qword [rbp + 0x10]
call rax
mov edx, dword [rbp - 4]
lea rcx, [rbp - 4]
mov rax, qword [rbp + 0x18]
mov r9, rcx
mov r8d, edx
mov rdx, rax
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
jmp 0x140001b26
lea rcx, str.Failed_to_change_memory_protection._n
call fcn.140001540
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140001db0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Patch event tracing for windows function

Disassembly:
push rbp
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x90]
mov dword [rbp - 0x14], 0
lea rax, str.EtwEventWrite
mov qword [rbp - 0x60], rax
lea rax, str.EtwEventWriteFull
mov qword [rbp - 0x58], rax
lea rax, str.EtwEventWriteTransfer
mov qword [rbp - 0x50], rax
lea rax, str.EtwRegister
mov qword [rbp - 0x48], rax
lea rax, str.EtwRegisterTraceGuidsW
mov qword [rbp - 0x40], rax
lea rax, str.EtwRegisterTraceGuidsA
mov qword [rbp - 0x38], rax
lea rax, str.EtwSendMessage
mov qword [rbp - 0x30], rax
lea rax, str.EtwEventWriteNoRegistration
mov qword [rbp - 0x28], rax
mov dword [rbp - 4], 0
jmp 0x140001f03
mov eax, dword [rbp - 4]
cdqe
mov rbx, qword [rbp + rax*8 - 0x60]
lea rcx, str.ntdll.dll
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140001efe
lea rdx, [rbp - 0x14]
mov rax, qword [rbp - 0x10]
mov r9, rdx
mov r8d, 0x40
mov edx, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
jne 0x140001e94
mov eax, 0
jmp 0x140001f14
mov dword [rbp - 0x64], 0xc3c03348
mov edx, dword [rbp - 0x64]
mov rax, qword [rbp - 0x10]
mov dword [rax], edx
mov edx, dword [rbp - 0x14]
lea rcx, [rbp - 0x14]
mov rax, qword [rbp - 0x10]
mov r9, rcx
mov r8d, edx
mov edx, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
jne 0x140001ed1
mov eax, 0
jmp 0x140001f14
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov rax, qword [rbp - 0x10]
mov r8d, 0x1000
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
call rax
test eax, eax
jne 0x140001eff
mov eax, 0
jmp 0x140001f14
nop
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cmp eax, 7
jbe 0x140001e2c
mov eax, 1
add rsp, 0x98
pop rbx
pop rbp
ret
Function at 0x140001f20
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x100
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov eax, dword [rbp + 0x50]
mov dword [rbp + 0x7c], eax
cmp dword [rbp + 0x7c], 1
ja 0x140001f56
mov eax, 1
jmp 0x14000208f
mov dword [rbp - 0x10], 0x40
lea rax, [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
mov rax, qword [rbp - 8]
shr rax, 0x14
mov dword [rbp + 0x78], eax
cmp dword [rbp + 0x78], 0x7ff
ja 0x140001f8b
mov eax, 1
jmp 0x14000208f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 3
mov edx, 0
lea rcx, str..PhysicalDrive0
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileW]
call rax
mov qword [rbp + 0x70], rax
cmp qword [rbp + 0x70], 0xffffffffffffffff
jne 0x140001fda
mov eax, 1
jmp 0x14000208f
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x38], 0
lea rdx, [rbp - 0x34]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x18
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0x70000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeviceIoControl]
call rax
test eax, eax
jne 0x140002039
mov rax, qword [rbp + 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
jmp 0x14000208f
mov rax, qword [rbp - 0x30]
mov edx, dword [rbp - 0x24]
mov edx, edx
imul rax, rdx
mov edx, dword [rbp - 0x20]
mov edx, edx
imul rax, rdx
mov edx, dword [rbp - 0x1c]
mov edx, edx
imul rax, rdx
lea rdx, [rax + 0x3fffffff]
test rax, rax
cmovs rax, rdx
sar rax, 0x1e
mov dword [rbp + 0x6c], eax
mov rax, qword [rbp + 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
cmp dword [rbp + 0x6c], 0x63
ja 0x14000208a
mov eax, 1
jmp 0x14000208f
mov eax, 0
add rsp, 0x100
pop rbp
ret

Function at 0x140002098
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], rcx
mov edx, 0
mov ecx, 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0xffffffffffffffff
jne 0x1400020d9
mov eax, 0
jmp 0x140002175
mov dword [rbp - 0x60], 0x130
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x140002111
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x140002175
lea rax, [rbp - 0x60]
add rax, 0x2c
mov rdx, qword [rbp + 0xf0]
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140002146
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
jmp 0x140002175
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140002111
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x160
pop rbp
ret
Function at 0x140002450
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.140012430
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.140012430
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 0x1400024c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x1402410b4]
mov r12, rcx
test ebx, ebx
jle 0x1400025f0
mov rax, qword [0x1402410b8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x14000250c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140002593
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x1400024f0
mov rcx, r12
call fcn.140002e60
mov rsi, rax
test rax, rax
je 0x140002612
mov rax, qword [0x1402410b8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.140002f90
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1402410b8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400025f7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000258c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400025a0
add dword [0x1402410b4], 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 [0x1402410b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000258c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002450
nop dword [rax]
xor ebx, ebx
jmp 0x140002517
mov rax, qword [0x1402410b8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002450
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140002450
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002ad0
Capabilities:
Get thread local storage value

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

Disassembly:
mov rdx, qword [0x14023db80]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002e80
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002e88
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002e80
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140002ed5
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 0x140002ecc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002e80
add rax, 0x28
cmp rax, r9
jne 0x140002eb8
xor eax, eax
ret

Function at 0x140002ee0
Capabilities:
Parse pe header

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

Function at 0x140002f90
Capabilities:
Parse pe header

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

Function at 0x140004780
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14023dc00]
mov rax, qword [rsi]
test rax, rax
je 0x140004810
cmp qword [rax + 0x30], 0
jne 0x140004830
lea rbx, [0x14023ca88]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x1400047e0
cmp qword [rax + 0x30], 0
jne 0x140004800
lea rdx, [0x14023ca88]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je 0x1400125c0
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140009680
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x1400047c2
test rax, rax
jne 0x140004800
call fcn.140009680
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x1400047d0
call fcn.140009680
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x1400047a0
test rax, rax
jne 0x140004830
call fcn.140009680
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x1400047ab
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [pe_dos_header]
ud2
Function at 0x140004840
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 0x140004952
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x14000492a
add rax, 1
cmp rax, 0x6b
je 0x140004947
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x140004920
cmp edx, 0x6a
je 0x140004947
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 0x14000493b
Function at 0x140005360
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 [0x14023dc00]
mov rax, qword [rsi]
test rax, rax
je 0x140005550
cmp qword [rax + 0x28], 0
jne 0x140005538
lea rcx, [0x1402411d8]
cmp dword [rcx], 1
mov qword [rax + 0x28], rcx
je 0x140005545
call fcn.140004970
mov rax, qword [rsi]
test rax, rax
je 0x1400053e0
cmp qword [rax + 0x30], 0
jne 0x140005400
lea rdx, [0x14023ca88]
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 0x140005414
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.140009680
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x1400053b0
test rax, rax
jne 0x140005400
call fcn.140009680
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 0x1400053ce
call fcn.1400044b0
cmp qword [0x140244050], 0
mov rbx, rax
je 0x1400053ce
test rax, rax
je 0x1400053ce
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.14000b520
cmp eax, 1
je 0x1400055bd
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 0x1400125c6
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 0x140005598
cmp qword [rax + 0x30], 0
je 0x140005580
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400125c6
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 0x14000539c
mov rax, qword [rsi]
jmp 0x1400053a9
call fcn.140009680
cmp qword [rax + 0x28], 0
mov rax, qword [rsi]
je 0x140005388
test rax, rax
jne 0x140005538
call fcn.140009680
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x14000539c
jmp 0x1400053a1
lea rdx, [0x14023ca88]
mov qword [rax + 0x30], rdx
mov rax, rdx
jmp 0x14000550e
call fcn.140009680
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140005580
test rax, rax
jne 0x14000550a
call fcn.140009680
jmp 0x14000550a
call fcn.140004840
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [0x14023dc00]
mov rdx, qword [rax]
lea rax, [0x1402411e8]
mov qword [rdx + 0x10], rax
ret
Function at 0x140009500
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 0x140009520
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 0x140009568
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140009514
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 0x140009555
Function at 0x140009680
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x1402412c0]
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 0x1400096a3
lea rax, [0x1402412c8]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x1400096eb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1400096e8
lea rax, [0x140241300]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x14000971b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140009718
xor ecx, ecx
mov byte [0x140241319], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x140241322], rdx
lea r8, [0x1402412c0]
lea rbx, [0x14024131a]
mov qword [0x140241332], rdx
mov qword [0x140241342], rdx
mov qword [0x140241352], rdx
xor edx, edx
mov qword [0x14024131a], rax
mov qword [0x14024132a], rax
mov qword [0x14024133a], rax
mov qword [0x14024134a], rax
mov byte [0x14024135a], 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 0x1400098f6
lea rcx, [0x140241300]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140009841
lea rsi, [0x140241200]
lea r8, [0x14024135a]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x1400097ed
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x1400097e0
lea rcx, [0x140241300]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x1400098e3
lea rcx, [0x140009590]
mov qword [0x140241200], 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 [0x140241200]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x140241300]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x14024135a]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x140009916
nop dword [rax]
cmp byte [rax], 0x41
jne 0x140009893
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x140009880
mov rax, rdx
mov qword [0x140241200], rax
lea rsi, [0x140241200]
jmp 0x1400098b9
cmp rdx, rsi
je 0x14000981f
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400098b0
cmp rdx, rsi
je 0x14000981f
mov qword [rdx + 8], rsi
lea rcx, [0x140009590]
call sub.msvcrt.dll__onexit
jmp 0x14000981f
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.140009500
xor eax, eax
jmp 0x140009838
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.140009500
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.140009500
xor eax, eax
jmp 0x14000989f
Function at 0x140001000
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
movzx eax, word [rcx]
cmp eax, 0x5a4d
jne 0x14000107e
mov rsi, rcx
movsxd rax, dword [rcx + 0x3c]
cmp dword [rcx + rax], 0x4550
jne 0x14000107e
mov eax, dword [rsi + rax + 0x88]
mov r15d, dword [rsi + rax + 0x18]
test r15, r15
je 0x14000107e
mov rdi, rdx
mov r12d, dword [rsi + rax + 0x20]
add r12, rsi
mov r13d, dword [rsi + rax + 0x1c]
add r13, rsi
mov ebp, dword [rsi + rax + 0x24]
add rbp, rsi
xor r14d, r14d
nop dword [rax + rax]
mov ebx, dword [r12 + r14*4]
add rbx, rsi
mov rcx, rdi
mov rdx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001094
inc r14
cmp r15, r14
jne 0x140001060
xor esi, esi
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, word [rbp + r14*2]
mov eax, dword [r13 + rax*4]
add rsi, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400031cc]
call fcn.140001130
mov rcx, rax
mov edx, r14d
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, str.___API_Located___NAME:
mov rcx, rax
call fcn.140001130
mov rcx, rax
mov rdx, rbx
call fcn.140001130
lea rdx, str.___ADDRESS:
mov rcx, rax
call fcn.140001130
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rdi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
mov rcx, rdi
mov edx, eax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::put_char____ptr64]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
jmp 0x140001080

Function at 0x140001e10
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001e5a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001e5a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001e5a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001e5a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001e5a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001e5c
xor al, al
add rsp, 0x28
ret
Function at 0x140135540
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rdi, edx
mov r15, rcx
mov esi, edi
mov ebp, edi
mov r14d, edi
shr esi, 0x18
shr ebp, 0x10
shr r14d, 8
cmp dword [rcx + 0xf0], 0
jg 0x140135589
mov r8d, 0x73d
lea rdx, str.C:UsersAdministratorDesktopLauncherV3_tempcAxZVKLkxwNi4wTAincludeimguiincludeimgui.h
lea rcx, str.Size___0
call fcn.1404baf18
movsxd rcx, dword [r15 + 0xf0]
lea rdx, [0x1405e5010]
mov rax, qword [r15 + 0xf8]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r14b
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, bpl
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, esi
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [r15]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x1401355fe
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14014c1c0
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret