joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014a40
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx edi, cl
lea rsi, [0x140000000]
movzx ebx, dl
lea eax, [rdi - 0x5b]
cmp eax, 0x4a
ja case.0x140014a7c.115
cdqe
movzx eax, byte [rsi + rax + 0x14c30]
mov ecx, dword [rsi + rax*4 + 0x14bcc]
add rcx, rsi
jmp rcx
mov eax, 0x2a
jmp 0x140014b33
mov eax, 0x136
jmp 0x140014b33
mov eax, 0x1d
jmp 0x140014b33
mov eax, 0x11d
jmp 0x140014b33
mov eax, gethostname
jmp 0x140014b33
mov eax, 0x138
jmp 0x140014b33
mov eax, 0x15b
jmp 0x140014b33
mov eax, 0x15c
jmp 0x140014b33
mov eax, 0x52
jmp 0x140014b33
mov eax, 0x4f
jmp 0x140014b33
mov eax, 0x50
jmp 0x140014b33
mov eax, 0x51
jmp 0x140014b33
mov eax, 0x4b
jmp 0x140014b33
mov eax, 0x4c
jmp 0x140014b33
mov eax, 0x4d
jmp 0x140014b33
mov eax, 0x47
jmp 0x140014b33
mov eax, 0x48
jmp 0x140014b33
mov eax, 0x49
jmp 0x140014b33
mov eax, 0x53
jmp 0x140014b33
mov eax, 0x145
jmp 0x140014b33
mov eax, 0x135
jmp 0x140014b33
mov eax, gethostname
jmp 0x140014b33
mov eax, 0x4a
jmp 0x140014b33
mov eax, 0x4e
test bl, bl
jne 0x140014b89
movzx eax, ax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edx, eax
test ax, ax
je 0x140014b89
add edi, 0xfffffffd
cmp edi, 0x8d
ja case.0x140014b7b.5
movsxd rax, edi
movzx eax, byte [rsi + rax + 0x14c88]
mov ecx, dword [rsi + rax*4 + 0x14c7c]
add rcx, rsi
jmp rcx
mov ecx, 0x100
or dx, cx
test bl, bl
je 0x140014bb9
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, dx
test bl, bl
je 0x140014bbc
mov ecx, 0x100
or eax, ecx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, dx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140014d20
Capabilities:
Log keystrokes

Disassembly:
movzx r8d, cx
mov eax, r8d
cmp r8d, 0x11c
ja 0x140014d96
cmp eax, 0x11c
je 0x140014d93
sub eax, 0x1d
cmp eax, 0x36
ja case.0x140014dbb.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x14e28]
mov ecx, dword [rdx + rax*4 + 0x14de0]
add rcx, rdx
jmp rcx
mov al, 0xa0
ret
mov al, 0xa2
ret
mov al, 0xa4
ret
mov al, 0x6a
ret
mov al, 0x6d
ret
mov al, 0x6b
ret
mov al, 0x2e
ret
mov al, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
ret
mov al, 0x2d
ret
mov al, 0x26
ret
mov al, 0x28
ret
mov al, 0x25
ret
mov al, 0x27
ret
mov al, 0x24
ret
mov al, reloc.OLEAUT32.dll_SafeArrayAllocDescriptor
ret
mov al, 0x21
ret
mov al, SafeArrayAllocDescriptor
ret
mov al, 0xd
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x140014dbb.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x14e7c]
mov ecx, dword [rdx + rax*4 + 0x14e60]
add rcx, rdx
jmp rcx
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x90
ret
mov al, 0x6f
ret
mov al, 0x5d
ret
movzx ecx, r8b
mov edx, 1
jmp qword [sym.imp.USER32.dll_MapVirtualKeyW]
adc byte [rax], al
add byte [rbx], ch
add byte [rax], al
add cl, ch
invalid
cmp eax, ecx
Function at 0x140001494
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 0x60], eax
mov ecx, dword [rsp + 0xc4]
mov edx, dword [rsp + 0xc4]
xchg esp, eax
and al, 0xc4
add byte [rax], al
add byte [rbx + rcx*4 + 0x44], al
and al, 0x60
sub ecx, edx
mov dword [rsp + 0xc4], ecx
cmp r8d, 0
je 0x140001893
jmp 0x140001d3b
mov eax, 0xbb8094e
mov ecx, eax
mov eax, 0x75c888e0
mov edx, eax
ret 0x8b4c
and al, 0x58
invalid
test byte [rsp + rax*8], ah
add byte [rax], al

Function at 0x14000162c
Capabilities:
Enumerate services

Disassembly:
add byte [rax + 0x9b45a29], bh
mov ecx, dword [rsp + 0xac]
mov edx, dword [rsp + 0x60]
sub eax, ecx
and edx, eax
mov r8, qword [rsp + 0x40]
xor r8, 0x7122c13d

Function at 0x1400018e0
Capabilities:
Delete file

Disassembly:
ror byte [rdi], 1
test dword [rbx], ebp
invalid
pop rcx
jb 0x1400018df
fmul st(2)
jae 0x140001955
outsd dx, dword [rsi]
movabs dword [0x59039b92e3626aa8], eax
jb 0x140001920
fmul st(2)
jae 0x140001996
call 0xe8a3897f
push 0x62
jrcxz 0x140001932
wait
add ebx, dword [rcx + 0x72]
mov esp, 0x2e73cad8
adc dword [rdx - 0x3a], eax
out dx, eax
out 0xff, eax
xchg ebx, eax

Function at 0x140001b04
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 0x68], edx
cmp rcx, rax
jbe 0x14000157f
jmp fcn.14000145c
pop rbx
mov dword [rsp + 0x60], eax
mov rax, qword [sym.imp.GDI32.dll_CopyMetaFileA]
call rax
shl dword [rdi], cl
add byte [rsp + riz*2 - 0x64], 0xb1
sbb al, 0x14
enter 0xffffffffffffb161, 0x60
call 0xe8a38b48
push 0x62
jrcxz 0x140001afb
wait
add ebx, dword [rcx + 0x72]
mov esp, 0x2e73cad8
jae 0x140001ba0

Function at 0x140001cc8
Capabilities:
Get common file path

Disassembly:
invalid
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0xc4], eax
mov rcx, qword [sym.imp.COMCTL32.dll_CreatePropertySheetPageW]
call rcx
rcl ebx, 1
invalid
add byte [rsp + riz*2 - 0x64], 0xb1
sbb al, 0x14
enter 0xffffffffffffb161, 0x60
call 0xe8a38caf
jrcxz 0x140001d39
invalid
test al, 0x6a
invalid
jrcxz 0x140001c62
wait
add ebx, dword [rcx + 0x72]
mov eax, dword [rsp + 0x60]
and eax, 1
mov dword [rsp + 0x6c], 0xfffffffb
cmp eax, 0
je 0x140001ca2
jmp fcn.140001b95
Function at 0x140001000
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov edx, 0x58
xor ecx, ecx
mov rbx, r8
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
xor edx, edx
mov rcx, rax
mov rbp, rax
lea r8d, [rdx + 0x58]
call fcn.140002940
or byte [rsi + 0xc2], 2
lea r9, [0x1400010b0]
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov byte [rsp + 0x30], 1
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov rcx, rbp
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_KeInitializeApc]
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_KeInsertQueueApc]
test al, al
jne 0x140001091
lea rcx, [0x140002d20]
call sub.ntoskrnl.exe_DbgPrint
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140001178
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call fcn.140002940
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
js 0x14000120a
cmp dword [rsp + 0x24], 0xa
jne 0x1400011c8
call fcn.140001224
jmp 0x14000120c
cmp dword [rsp + 0x24], 6
jne 0x14000120a
mov eax, dword [rsp + 0x28]
cmp eax, 3
jne 0x1400011df
call fcn.14000147c
jmp 0x14000120c
cmp eax, 2
jne 0x1400011f5
cmp byte [rsp + 0x13a], 1
jne 0x14000120a
call fcn.1400013d0
jmp 0x14000120c
cmp eax, 1
jne 0x14000120a
cmp byte [rsp + 0x13a], al
jne 0x14000120a
call fcn.14000131c
jmp 0x14000120c
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400026d0
add rsp, 0x158
ret
Function at 0x14000167c
Capabilities:
Allocate or change rwx memory
Attach user process memory
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r8
mov qword [r11 - 0x50], rdx
and qword [r11 - 0x68], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
and qword [r11 - 0x58], 0
mov ecx, ecx
lea rdx, [r11 - 0x68]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x1400016e9
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x1400016e9
mov eax, 0xc0000001
jmp 0x14000176d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [rsp + 0x40]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov ebx, eax
mov dword [rsp + 0x38], eax
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140002940
mov rcx, qword [rsp + 0x40]
mov qword [rdi], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x140001760
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400026d0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x140001c2c
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rdx
mov edi, ecx
mov rax, cr8
xor ebx, ebx
test al, al
jne 0x140001da0
test ecx, ecx
je 0x140001da0
lea rdx, [0x140002ee0]
mov qword [rbp - 0x60], rbx
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea rdx, [0x140002f20]
mov rsi, rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov r14, rax
test rax, rax
je 0x140001da0
test rsi, rsi
je 0x140001da0
mov ecx, edi
lea rdx, [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rbp - 0x60]
test eax, eax
js 0x140001d95
test rcx, rcx
je 0x140001d95
lea rdx, [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rbp - 0x60]
mov rax, rsi
call qword [0x140004178]
test rax, rax
je 0x140001d38
mov eax, dword [rax + 0xc]
mov esi, dword [rax + 0x14]
mov edi, esi
xorps xmm0, xmm0
lea rcx, [rbp - 0x58]
movups xmmword [rbp - 0x58], xmm0
mov edx, dword [rdi + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, 1
lea rdx, [rbp - 0x58]
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
jne 0x140001d33
mov edi, dword [rdi]
cmp rdi, rsi
je 0x140001d87
jmp 0x140001d02
mov ebx, dword [rdi + 0x10]
jmp 0x140001d87
mov rcx, qword [rbp - 0x60]
mov rax, r14
call qword [0x140004178]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x20]
mov rdi, rsi
xorps xmm0, xmm0
lea rcx, [rbp - 0x58]
movups xmmword [rbp - 0x58], xmm0
mov rdx, qword [rdi + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, 1
lea rdx, [rbp - 0x58]
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
test al, al
jne 0x140001d83
mov rdi, qword [rdi]
cmp rdi, rsi
je 0x140001d87
jmp 0x140001d50
mov rbx, qword [rdi + 0x20]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, rbx
jmp 0x140001da2
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400026d0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400c2ab0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400c2ac0]
mov dword [rax], 1
mov rax, qword [0x1400c2ad0]
mov dword [rax], 1
mov rax, qword [0x1400c2aa0]
mov dword [rax], 1
mov rax, qword [0x1400c2940]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x1400c2a90]
mov dword [0x1400ea020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400c2a50]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400c2a30]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400c1da0]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067
Function at 0x14000baf0
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]

Function at 0x14000bb60
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x1400ea0c4]
mov r12, rcx
test ebx, ebx
jle 0x14000bc90
mov rax, qword [0x1400ea0c8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x14000bbac
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x14000bc33
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x14000bb90
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x14000bcb2
mov rax, qword [0x1400ea0c8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1400ea0c8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000bc97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000bc2c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000bc40
add dword [0x1400ea0c4], 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 [0x1400ea0c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000bc2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x14000bbb7
mov rax, qword [0x1400ea0c8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000c170
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1400ea120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400ea100]
test rbx, rbx
je 0x14000c1c4
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 0x14000c1bb
test r12, r12
je 0x14000c1bb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000c1a0
lea rcx, [0x1400ea120]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000c3e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14000c3f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14000c400
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14000c410
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x14000c45c
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x14000c453
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x14000c45e
add rax, 0x28
cmp rax, r9
jne 0x14000c440
xor eax, eax
ret

Function at 0x14000c460
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x14000c4f0
mov rdx, qword [0x1400c2940]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14000c4de
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000c4de
cmp word [rax + 0x18], 0x20b
jne 0x14000c4de
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x14000c4f0
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x14000c4c9
add r12, 0x28
cmp r12, rsi
je 0x14000c4f0
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x14000c4c0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x14000c500
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400c2940]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000c520
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000c528
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000c520
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x14000c575
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 0x14000c56c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000c520
add rax, 0x28
cmp rax, r9
jne 0x14000c558
xor eax, eax
ret

Function at 0x14000c580
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c2940]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14000c5a0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000c5a8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000c5a0
movzx r8d, word [rax + 6]
mov eax, r8d
ret
Function at 0x14000c5c0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400c2940]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14000c5e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14000c5e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14000c5e0
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x14000c628
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000c61f
test rcx, rcx
je 0x14000c5e0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x14000c610
xor eax, eax
ret

Function at 0x14000c630
Capabilities:
Parse pe header

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

Function at 0x14000c670
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x1400c2940]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14000c690
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x14000c698
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14000c690
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x14000c690
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000c6d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000c6e8
add rax, 0x28
cmp r9, rax
jne 0x14000c6c0
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

Function at 0x14000c700
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400c2940]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14000c722
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14000c730
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000c722
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14000c722
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x14000c722
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14000c77d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14000c790
add rdx, 0x28
cmp r10, rdx
jne 0x14000c768
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000c79f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000c7af
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000c786
test ecx, ecx
jg 0x14000c798
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14000c800
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 0x14000c820
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 0x14000c868
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14000c814
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 0x14000c855

Function at 0x14000c890
Capabilities:
Check mutex on windows

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
lea r8, [0x1400ea230]
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 0x14000c948
mov rdx, qword [0x1400ea1a0]
lea rcx, [0x1400ea1a0]
mov rax, qword [rdx + 8]
test rax, rax
je 0x14000c918
cmp rdx, rcx
jne 0x14000c8fa
mov qword [rdx], rax
cmp rax, rcx
je 0x14000c8ff
nop dword [rax]
test rax, rax
je 0x14000c92a
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rdx, rax
mov rax, qword [rdx + 8]
cmp rax, rcx
jne 0x14000c8e8
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
test rax, rax
je 0x14000c92a
mov rdx, rax
jmp 0x14000c8f6
lea rcx, [0x1400ea260]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x14000c966
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
lea rcx, [0x1400c12e0]
call dbg.__eh_shmem_get_error
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_DeleteAtom]
jmp 0x14000c92a