joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140113450
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140268998]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1401135eb
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call fcn.14014edec
test eax, eax
jne 0x14011360e
and qword [rsi + 0x28], 0
and qword [rsi + 0x30], 0
and qword [rsp + 0x50], 0
lea r12, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rax, qword [rax + 8]
call qword [case.0x1401ab3a5.0]
cmp byte [rdi + 0x20], 0
je 0x14011359e
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
jbe 0x14011359e
test rax, rax
je 0x140113526
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx edx, word [rdi + rax*2 + 0x30]
mov rcx, rdi
call fcn.140114854
movzx r14d, ax
mov r8, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x28]
cmp r8, rdx
jbe 0x140113563
sub r8d, edx
add rdx, qword [rsp + 0x48]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, r14w
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x50]
cmp rcx, rdx
jbe 0x1401135c3
sub ecx, edx
add rdx, qword [rsp + 0x48]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x1401135c3
and dword [rsp + 0x30], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
je 0x1401135e2
mov rdx, qword [rsp + 0x58]
call fcn.14004effc
nop
mov rcx, rbx
call fcn.14014ee10
nop
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14016f860
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call fcn.14014f25c
int3
Function at 0x1401143c0
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov rax, qword [0x140268998]
xor rax, rsp
mov qword [rbp + 8], rax
mov rsi, rcx
lea rdi, [rcx + 0x58]
mov rcx, rdi
call fcn.14010f13c
mov rbx, qword [rsi + 0x48]
test rbx, rbx
je 0x140114579
lea r14, [rbx - 1]
mov r8, r14
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x48]
call fcn.14010eb58
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14011445c
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14011456e
inc rdx
mov rcx, qword [rsp + 0x48]
call fcn.14004effc
jmp 0x14011456e
mov r8, rbx
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14010eb58
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call fcn.14018905c
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
call fcn.14018913c
nop
test eax, eax
je 0x140114504
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call fcn.14018905c
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
call fcn.14018913c
nop
test eax, eax
jne 0x1401145d2
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14011451c
inc rdx
mov rcx, qword [rsp + 0x28]
call fcn.14004effc
and qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14011456e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140114568
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011464c
call fcn.14016f250
nop
mov rbx, r14
test r14, r14
jmp 0x140114403
cmp qword [rdi + 0x20], 0
je 0x1401145b8
lea rdx, [rdi + 0x10]
mov r8b, 1
mov rcx, rdi
call fcn.1401138cc
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.14016f860
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rdx, str.Failed_re_opening_file___was_not_opened_before
lea rcx, [rsp + 0x48]
call fcn.1400363f0
mov rcx, rax
call fcn.1401156a0
nop
mov dl, 1
mov rcx, rdi
call fcn.140114388
and qword [rsi + 0x50], 0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.14010fb70
mov rbx, rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.14010fb70
nop
mov r8, rax
lea rdx, str.rotating_file_sink:_failed_renaming
lea rcx, [rbp - 0x58]
call fcn.1400c801c
nop
lea r8, str._to
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400bf6e4
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1400bf6bc
mov rbx, rax
call fcn.140176910
mov edx, dword [rax]
mov rcx, rbx
call fcn.140115678
nop
call fcn.1401767ac
int3
Function at 0x1401147e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov rbx, r9
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14011484e
mov rax, qword [rsp + 0x78]
mov r9, rbx
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
je 0x140114848
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14011484e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x40
pop rbx
ret

Function at 0x1401153c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140268998]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rdi, rcx
lea rcx, [0x140204580]
call fcn.140177210
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401153fd
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, [0x140204580]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
call fcn.1400bf3f0
or r9, 0xffffffffffffffff
cmp rax, r9
je 0x140115551
lea r8, [rax + 2]
cmp r8, qword [rbx + 0x10]
ja 0x140115551
and qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400e9f34
nop
mov r9, qword [rdi]
lea rbx, [rbp - 0x28]
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
cmovae rbx, r8
lea rcx, [rbp - 0x28]
cmovae rcx, r8
mov rsi, qword [rbp - 0x18]
add rsi, rcx
cmp rbx, rsi
je 0x14011551e
mov edi, 1
movzx ecx, byte [rbx]
mov byte [rbp - 0x40], cl
test r9, r9
je 0x14011556f
mov eax, ecx
movabs rdx, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x100000001b3
imul rax, rdx
mov rdx, qword [r9 + 0x30]
and rdx, rax
add rdx, rdx
mov r8, qword [r9 + 0x18]
mov rax, qword [r8 + rdx*8 + 8]
cmp rax, qword [r9 + 8]
je 0x14011556f
mov r8, qword [r8 + rdx*8]
jmp 0x1401154de
cmp rax, r8
je 0x14011556f
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x1401154d1
test rax, rax
je 0x14011556f
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x38]
mov rcx, r9
call fcn.140102534
mov rcx, qword [rax]
mov r9, qword [rcx + 0x18]
cmp byte [r9 + 0x40], 0
jne 0x140115572
add rbx, rdi
cmp rbx, rsi
jne 0x140115482
mov rdx, qword [rbp - 0x10]
mov r8, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140115551
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x140115548
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401155b5
mov rcx, r8
call fcn.14016f250
nop
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14016f860
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
xor dil, dil
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1401155aa
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401155a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401155af
call fcn.14016f250
nop
mov al, dil
jmp 0x140115553
call fcn.1401767ac
nop
call fcn.1401767ac
int3
Function at 0x140115954
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140268998]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, rdx
mov rdi, rcx
mov rbx, qword [rdx + 0x10]
mov r9, qword [rcx + 8]
mov r8, rbx
mov edx, 1
mov rcx, qword [rax + 8]
call fcn.1401819ec
cmp rax, rbx
jne 0x1401159ac
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14016f860
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x20]
call fcn.14010fb70
nop
mov r8, rax
lea rdx, str.Failed_writing_to_file
lea rcx, [rsp + 0x40]
call fcn.1400c801c
mov rbx, rax
call fcn.140176910
mov edx, dword [rax]
mov rcx, rbx
call fcn.140115678
int3
Function at 0x140128568
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x27b
jb 0x14012856b
mov byte [rcx + 0x27b], 0
mov rax, rcx
ret

Function at 0x1401285b0
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x22a
jb 0x1401285b3
mov byte [rcx + 0x22a], 0
mov rax, rcx
ret

Function at 0x1401285f8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x134
jb 0x1401285fb
mov byte [rcx + 0x134], 0
mov rax, rcx
ret

Function at 0x140128640
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x132
jb 0x140128643
mov byte [rcx + 0x132], 0
mov rax, rcx
ret

Function at 0x140128688
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x74
jb 0x14012868b
mov byte [rcx + 0x74], 0
mov rax, rcx
ret

Function at 0x1401286c8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x64
jb 0x1401286cb
mov byte [rcx + 0x64], 0
mov rax, rcx
ret

Function at 0x140128708
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x25
jb 0x14012870b
mov byte [rcx + 0x25], 0
mov rax, rcx
ret

Function at 0x140128748
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x18
jb 0x14012874b
mov byte [rcx + 0x18], 0
mov rax, rcx
ret

Function at 0x140128788
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x15
jb 0x14012878b
mov byte [rcx + 0x15], 0
mov rax, rcx
ret
Function at 0x1401287c8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x14
jb 0x1401287cb
mov byte [rcx + 0x14], 0
mov rax, rcx
ret

Function at 0x140128808
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0xa
jb 0x14012880b
mov byte [rcx + 0xa], 0
mov rax, rcx
ret

Function at 0x140128848
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 9
jb 0x14012884b
mov byte [rcx + 9], 0
mov rax, rcx
ret

Function at 0x140128888
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 7
jb 0x14012888b
mov byte [rcx + 7], 0
mov rax, rcx
ret

Function at 0x1401288c8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
movabs rax, 0xf2b9d6480f2b9d65
mul r8
shr rdx, 8
imul rax, rdx, 0x10e
mov rdx, r8
sub rdx, rax
lea rax, [0x140205b00]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 4
jb 0x1401288cb
mov byte [rcx + 4], 0
mov rax, rcx
ret
Function at 0x140129338
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x1401294c0
cmp ecx, 0x7c
je 0x1401294c0
cmp ecx, 0x29
jne 0x14012937b
cmp dword [rbx + 0x1c], 0
jne 0x1401294c0
test dword [rbx + 0x80], 0x10000000
je 0x1401294e7
cmp ecx, 0x2e
jne 0x14012939b
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14012b780
mov rcx, rbx
call fcn.14012b7d8
jmp 0x1401294ae
cmp ecx, 0x5c
jne 0x1401293fc
mov rcx, rbx
call fcn.14012b7d8
test byte [rbx + 0x80], 0x80
je 0x1401293ef
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x1401293d3
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14012b780
mov rcx, rbx
call fcn.14012b7d8
jmp 0x1401294b6
cmp al, 0x42
jne 0x1401293ef
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14012b780
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x1401293c6
mov rcx, rbx
call fcn.140129504
jmp 0x1401294ae
cmp ecx, 0x5b
jne 0x140129420
mov rcx, rbx
call fcn.14012b7d8
mov rcx, rbx
call fcn.140129aec
cmp dword [rbx + 0x7c], 0x5d
jne 0x1401294d9
jmp 0x14012938e
cmp ecx, 0x28
jne 0x140129444
mov rcx, rbx
call fcn.14012b7d8
mov rcx, rbx
call fcn.14012bea4
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x1401294e7
jmp 0x1401294a1
cmp ecx, 0x5e
jne 0x140129451
lea edx, [rcx - 0x5c]
jmp 0x1401293bd
cmp ecx, 0x24
jne 0x14012945e
lea edx, [rcx - 0x21]
jmp 0x1401293bd
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1401294cb
cmp ecx, 0x3f
je 0x1401294cb
cmp ecx, 0x7b
je 0x1401294cb
cmp ecx, 0x7d
jne 0x140129481
test dword [rbx + 0x80], 0x10000000
je 0x1401294f5
cmp ecx, 0x5d
jne 0x140129492
test dword [rbx + 0x80], 0x10000000
je 0x1401294d9
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1401289ec
mov dil, 1
mov rcx, rbx
call fcn.14012b7d8
test dil, dil
je 0x1401294b6
mov rcx, rbx
call fcn.14012b828
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x14012934a
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.14012adb4
int3
mov edx, 4
mov rcx, rbx
call fcn.14012adb4
int3
mov edx, 5
mov rcx, rbx
call fcn.14012adb4
int3
mov edx, 6
mov rcx, rbx
call fcn.14012adb4
int3
Function at 0x140146270
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x14027a15c], 0x12c
mov rdi, rcx
jg 0x14014633f
lea rdx, [rcx + 0x20]
add rcx, 0x50
lea r8, [rsp + 0x38]
call fcn.1401ab924
lea rbx, [rdi + 0x18]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x140146303
cmp dword [rsp + 0x38], 0
jne 0x140146303
cmp byte [rdi + 0x70], 0
lea rdx, [rsp + 0x38]
mov rcx, rbx
je 0x1401462cc
call fcn.1401abb5c
test al, al
jne 0x1401462db
jmp 0x140146303
mov r8d, 0x493e0
call fcn.1401abbc0
test al, al
je 0x14014633f
and dword [0x14027a15c], 0
mov rcx, qword [rdi + 0x28]
mov byte [rdi + 0x70], 1
test rcx, rcx
je 0x140146303
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1401ab3a5.0]
test al, al
jne 0x140146334
cmp qword [rbx], 0xffffffffffffffff
je 0x14014631c
cmp dword [rsp + 0x38], 0
jne 0x140146334
mov rcx, rbx
call fcn.1401ab7b4
or qword [rbx], 0xffffffffffffffff
cmp dword [rsp + 0x38], 0
je 0x140146334
inc dword [0x14027a15c]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140197430
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140197450
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401768a0
or eax, 0xffffffff
jmp 0x140197452
xor eax, eax
add rsp, 0x28
ret
Function at 0x1401a4fa0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov al, byte [rcx + 8]
test al, al
je 0x1401a5057
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1401ab3a5.0]
test al, al
je 0x1401a5057
xor eax, eax
xchg byte [rbx + 8], al
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x1401a4ff9
mov rcx, qword [rdi + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x1401a4fec
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov edx, 0x18
mov rcx, rdi
call fcn.14016f250
mov ecx, 0x18
call fcn.14016f214
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401a5025
lea rax, [0x1401a4f60]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
or qword [rdi + 0x10], 0xffffffffffffffff
jmp 0x1401a5027
xor edi, edi
mov qword [rbx + 0x10], rdi
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x1401a5110]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x10], rax
mov al, byte [rbx + 8]
test al, al
sete al
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1401ab924
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
or rsi, 0xffffffffffffffff
mov dword [r8], 7
cmp qword [rcx + 0x10], 0
mov rbx, r8
mov rdi, rcx
jne 0x1401ab957
mov dword [r8], 1
jmp 0x1401aba0f
and qword [rsp + 0x70], 0
lea r8, [rsp + 0x70]
xor r9d, r9d
lea rcx, str.S:_ML__NW___LW_
lea edx, [r9 + 1]
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
and dword [rsp + 0x50], 0
cmp qword [rdi + 0x18], 8
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0x18
jb 0x1401ab996
mov rdi, qword [rdi]
mov al, byte [0x140269628]
mov r9d, 0xff
neg al
mov r8d, 8
lea rax, [rsp + 0x40]
mov rcx, rdi
mov qword [rsp + 0x38], rax
sbb edx, edx
and dword [rsp + 0x30], 0
mov eax, 0x400
and edx, 0x80000
mov dword [rsp + 0x28], eax
inc edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rcx, qword [rsp + 0x70]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp rsi, 0xffffffffffffffff
jne 0x1401aba05
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], eax
call fcn.1401ab70c
mov dword [rbx], eax
jmp 0x1401aba0f
and dword [rbx], 0
mov byte [0x140269628], 0
lea r11, [rsp + 0x60]
mov rax, rsi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1401abb5c
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [rcx]
mov rsi, rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
xor ebx, ebx
test eax, eax
jne 0x1401abba7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x1401abba7
mov dil, bl
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
call fcn.1401ab70c
mov ebx, eax
jmp 0x1401abbaa
mov dil, 1
mov dword [rsi], ebx
mov al, dil
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401abbc0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x50
mov rdi, rdx
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbp + 0x20], rax
mov ecx, 0x18
call fcn.14016f214
test rax, rax
je 0x1401abc0d
lea rcx, [rbp + 0x30]
mov qword [rax], rcx
lea rcx, [rbp + 0x20]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rbx
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1401ab5a0]
xor edx, edx
xor ecx, ecx
call fcn.140189c2c
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1401abca3
mov rdx, rdi
mov rcx, rbx
call fcn.1401abb5c
mov bl, al
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbp - 0x18], 0
je 0x1401abcb2
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbp - 0x18], eax
je 0x1401abcbd
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.14014ea9c
test eax, eax
jne 0x1401abcc8
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rbp - 0x18], 0
jne 0x1401abc9d
mov al, bl
add rsp, 0x50
pop rdi
pop rbx
pop rbp
ret
call fcn.14018927c
nop
and dword [rbp - 0x18], 0
mov ecx, 6
call fcn.14014f298
nop
mov ecx, 1
call fcn.14014f298
int3
mov ecx, 5
call fcn.14014f298
int3
mov ecx, 2
call fcn.14014f298
int3