joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f550
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000f5ad
lea rbx, [0x140063f80]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000f594
cmp r10, 2
jb 0x14000f594
cmp byte [r9], r8b
jne 0x14000f594
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000f570
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000f5ef
lea rbx, [0x140063f80]
cmp r8b, 0x23
jne 0x14000f5d3
cmp byte [r9], r8b
jne 0x14000f5d3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000f5c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000f730
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000f74a
mov qword [r8], 0
lea rdx, [0x140063b0c]
call fcn.14000f600
mov rbx, rax
test rax, rax
jne 0x14000f76a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000f841
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000f841
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000f841
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000f841
cmp rdi, 0xffffffffffffffff
je 0x14000f841
mov rax, qword [0x14015da40]
test rax, rax
je 0x14000f7de
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000f841
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000f82e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14015da40]
test rax, rax
je 0x14000f823
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000f84a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000f83c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000f84c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140012ea0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140063f80]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x14015da40]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x140012f36
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.1400268f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140012f40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf0]
lea r9, [0x140063f80]
movss xmm2, dword [rcx + 0x108]
movss xmm3, dword [rcx + 0x10c]
movsxd rcx, dword [rcx + 0xe8]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14001fb50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14015da40]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x14001fbb1
cmp byte [rbx + 0x4a2e], 0
jne 0x14001fbb1
movsx r9d, word [rbx + 0x5b32]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000f410
test dil, 1
je 0x14001fcd8
jmp 0x14001fc3a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b32]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14006932c]
mulss xmm1, dword [0x14006930c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x140069230]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.14000f410
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001fc90
lea r11, [0x140063f80]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14001fc73
cmp byte [r8], r9b
jne 0x14001fc73
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001fc60
not ecx
call fcn.140016e00
test rax, rax
je 0x14001fcd8
cmp byte [rax + 0xae], 0
je 0x14001fcd8
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b32]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b32]
call fcn.14000f410
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140019550
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005caf0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400251a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c18], 0
lea rbx, [rcx + 0x5c20]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140025247
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400251fa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140027640
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000fec0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c18]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c28]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14015da34]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002524f
mov rcx, rbx
call fcn.14000fec0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400257c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14015da40]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140025823
mov qword [rsp], rbx
lea rbx, [0x140063f80]
nop dword [rax]
cmp r9b, 0x23
jne 0x140025803
cmp byte [r8], r9b
jne 0x140025803
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400257f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b90]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140025857
mov r10, qword [r10 + 0x5b98]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14002585e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140025844
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14005b800
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor esi, esi
lea r8, [0x1400538c0]
mov rbx, rcx
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rax, [0x140053460]
mov qword [rsp + 0x70], 0x50
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rdi, str.Chrome
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x88]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rsi
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rdx, rdi
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea edx, [rsi - 0x14]
mov r8d, 0x80020
mov rcx, rax
mov qword [rbx + 0x50], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbx + 0x50]
lea r9d, [rsi + 2]
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140069480]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rbx + 0x50]
movdqu xmmword [rsp + 0xc0], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x50]
lea edx, [rsi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
call fcn.1400534d0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.14005afe0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14005caf0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14005d774
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1402bb8e8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
mov edi, ebp
test rdx, rdx
je 0x14000793f
cmp word [rdx], bp
je 0x14000793f
mov edi, 0x104
mov r8d, edi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x140007839
mov r8, rbx
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.1401cb58c
lea rcx, [rsp + 0x40]
call fcn.14000dd64
mov rdi, rbp
mov rax, qword [rsi + 0x68]
sub rax, qword [rsi + 0x60]
sar rax, 3
test rax, rax
je 0x140007888
mov rbx, qword [rsi + 0x60]
mov rcx, qword [rbx]
add rcx, 8
lea rdx, [rsp + 0x40]
call fcn.14000d24c
test eax, eax
je 0x140007888
inc rdi
add rbx, 8
mov rax, qword [rsi + 0x68]
sub rax, qword [rsi + 0x60]
sar rax, 3
cmp rdi, rax
jb 0x14000785b
mov rax, qword [rsi + 0x68]
sub rax, qword [rsi + 0x60]
sar rax, 3
cmp rdi, rax
je 0x1400078a3
mov rax, qword [rsi + 0x60]
mov rdi, qword [rax + rdi*8]
jmp 0x1400078a6
mov rdi, rbp
test rdi, rdi
jne 0x14000793f
lea ecx, [rdi + 0x50]
call fcn.14001b3f4
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14000791f
mov byte [rax], 1
lea rcx, [rax + 8]
lea rdx, [rsp + 0x40]
call fcn.1400043a0
nop
mov dword [rdi + 0x28], ebp
lea rbx, [rdi + 0x30]
mov rcx, rbx
call fcn.1400049d0
mov rcx, rbx
call fcn.140004a50
mov qword [rax], 7
mov rcx, rbx
call fcn.1400044e0
mov word [rsp + 0x20], bp
mov qword [rax + 0x10], rbp
cmp qword [rax + 0x18], 8
jb 0x14000790f
mov rax, qword [rax]
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140004a60
nop
jmp 0x140007922
mov rdi, rbp
mov qword [rsp + 0x28], rdi
test rdi, rdi
je 0x14000793f
lea rdx, [rsp + 0x28]
lea rcx, [rsi + 0x60]
call fcn.140005cb8
mov rdi, qword [rsp + 0x28]
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401c4500
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400092a8
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1402bb8e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rdx
mov rbp, rcx
xor esi, esi
cmp dword [rcx + 0x358], esi
jle 0x1400093cc
cmp rdx, 0xffffffffffffffff
je 0x1400093cc
lea rdx, str.____Queued_Lines_End_____r_n
lea rcx, [r11 - 0x58]
call fcn.1400043a0
nop
lea rdi, [rbp + 0x338]
mov rdx, rax
mov rcx, rdi
call fcn.14000b5e0
nop
lea rcx, [rsp + 0x40]
call fcn.140004af0
jmp 0x1400093be
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000c3e0
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000933e
xor eax, eax
jmp 0x140009341
mov rax, qword [rcx]
mov rcx, qword [rax + 0x10]
dec rcx
and rcx, qword [rdx + 0x10]
mov rax, qword [rax + 8]
mov rbx, qword [rax + rcx*8]
mov rcx, rbx
call fcn.140004420
mov r15, qword [rax]
mov rcx, rbx
call fcn.1400044e0
cmp qword [rax + 0x18], 8
jb 0x140009371
mov rax, qword [rax]
lea r8d, [r15 + r15]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140009394
add esi, dword [rsp + 0x30]
mov rcx, qword [rdi + 0x10]
dec rcx
and rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 8]
mov rcx, qword [rax + rcx*8]
call fcn.140004af0
sub qword [rdi + 0x20], 1
jne 0x1400093ba
and qword [rdi + 0x18], 0
jmp 0x1400093be
inc qword [rdi + 0x18]
cmp qword [rbp + 0x358], 0
ja 0x140009322
mov eax, esi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401c4500
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a238
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x78
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1402bb8e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14d, r9d
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rbp, qword [rsp + 0xd0]
lea rcx, [rsp + 0x40]
call fcn.1400049d0
lea rcx, [rsp + 0x40]
call fcn.140004a50
mov qword [rax], 7
lea rcx, [rsp + 0x40]
call fcn.1400044e0
xor r15d, r15d
mov word [rsp + 0x30], r15w
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 8
jb 0x14000a2ad
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140004a60
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8d, esi
mov edx, dword [rdi + 0x10]
mov rcx, rbx
call fcn.140009db0
bt esi, 0x1b
jb 0x14000a2e5
test dword [rdi + 0x10], 0x80000
je 0x14000a356
lea rcx, [rsp + 0x40]
call fcn.1400044e0
cmp qword [rax + 0x18], 8
jb 0x14000a2f9
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rbx + 0x90]
test rax, rax
je 0x14000a31d
mov rax, qword [rax + 0x18]
test rax, rax
je 0x14000a31d
lea rcx, [rax + 0x30]
jmp 0x14000a328
mov rcx, qword [rbx + 0xe0]
add rcx, 0x28
call fcn.1400044e0
cmp qword [rax + 0x18], 8
jb 0x14000a337
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140270d40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rdi
call fcn.14000e14c
mov rcx, rax
call fcn.1401c9088
test rax, rax
jne 0x14000a374
cmp qword [rbx + 0x360], r15
je 0x14000a399
lea rcx, [rsp + 0x40]
call fcn.1400044e0
cmp qword [rax + 0x18], 8
jb 0x14000a388
mov rax, qword [rax]
mov r9, rbp
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call fcn.1400093f0
test dword [rdi + 0x10], 0x10000000
je 0x14000a3b0
lea rcx, [rbx + 0xb8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
lea rcx, [rsp + 0x40]
call fcn.140004af0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401c4500
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14000a3d4
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x840
mov rax, qword [0x1402bb8e8]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov rsi, rcx
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x14000a46c
lea r9, [rsp + 0x20]
mov r8d, 0x800
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x14000a463
test dword [rsp + 0x20], 0xfffffff8
jbe 0x14000a463
mov ecx, ebx
lea rdx, [rsi + 0x110]
mov r8d, 0x104
mov rcx, qword [rsp + rcx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [rsp + 0x20]
inc ebx
shr eax, 3
cmp ebx, eax
jb 0x14000a43c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.1401c4500
lea r11, [rsp + 0x840]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000ca68
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402bb8e8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov qword [rbp - 0x29], rcx
lea rcx, [rbp + 7]
call fcn.1400049d0
lea rcx, [rbp + 7]
call fcn.140004a50
mov edi, 7
mov qword [rax], rdi
lea rcx, [rbp + 7]
call fcn.1400044e0
xor esi, esi
mov word [rbp - 0x39], si
mov qword [rax + 0x10], rsi
cmp qword [rax + 0x18], 8
jb 0x14000cad7
mov rax, qword [rax]
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.140004a60
nop
cmp qword [rbx + 0x10], rsi
jne 0x14000cbac
lea rcx, [rbp - 0x19]
call fcn.1400049d0
lea rcx, [rbp - 0x19]
call fcn.140004a50
mov qword [rax], rdi
lea rcx, [rbp - 0x19]
call fcn.1400044e0
mov word [rbp - 0x39], si
mov qword [rax + 0x10], rsi
cmp qword [rax + 0x18], 8
jb 0x14000cb1e
mov rax, qword [rax]
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.140004a60
nop
lea rdx, [rbp + 7]
lea rcx, str.RegValues
call fcn.14000e024
lea r8, str.Lock
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x27]
call fcn.14000d428
mov rdi, rax
lea rax, [rbp - 0x19]
cmp rax, rdi
je 0x14000cb76
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x19]
call fcn.140004a70
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.14000c6e0
nop
lea rcx, [rbp + 0x27]
call fcn.140004af0
lea rcx, [rbp - 0x19]
call fcn.1400044e0
cmp qword [rax + 0x18], 8
jb 0x14000cb92
mov rax, qword [rax]
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x10], rax
lea rcx, [rbp - 0x19]
call fcn.140004af0
mov edx, 0x32
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000cc77
lea r8, str.MappedFile
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.14000d428
nop
lea rcx, [rbp - 0x19]
call fcn.1400044e0
cmp qword [rax + 0x18], 8
jb 0x14000cbeb
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xd0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 8], rax
test rax, rax
je 0x14000cc63
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, esi
cmp eax, 0xb7
setne dil
mov qword [rsp + 0x20], 0xd0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x14000cc63
test edi, edi
je 0x14000cc5d
mov qword [rbp - 0x21], rax
mov rcx, rax
call fcn.140007580
nop
mov rax, qword [rbx + 0x18]
inc dword [rax]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop
lea rcx, [rbp - 0x19]
call fcn.140004af0
mov rbx, qword [rbx + 0x18]
lea rcx, [rbp + 7]
call fcn.140004af0
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1401c4500
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret