joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400114dc
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.14000f6e0
test al, al
je 0x1400114fe
mov rcx, qword [rsi]
xor edx, edx
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x20
pop rsi
ret

Function at 0x140014cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], 0
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140014d4b
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x140014d4b
cmp dword [rsp + 0x38], 4
jne 0x140014d4b
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140173230
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x140014d70
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140173520
sub rsp, rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea rsi, [rsp + 0x840]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.1401e0c20
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x800
mov rcx, qword [rbx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x3c]
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140014ee0
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x140014e2c
mov edi, 0x3f4
cmp eax, 1
jne 0x140014ee0
lea rcx, [rsp + 0x840]
call fcn.1401809b8
mov rdi, rax
mov rax, qword [r14 + 0x18]
cmp rax, rdi
jae 0x140014e95
lea r9, [rsp + 0x840]
jmp 0x140014e88
lea rsi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.1401e0c20
lea rcx, [rsp + 0x840]
mov rdx, rsi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x140014ee0
lea rcx, [rsp + 0x40]
call fcn.1401809b8
mov rdi, rax
mov rax, qword [r14 + 0x18]
cmp rax, rdi
jae 0x140014eb5
lea r9, [rsp + 0x40]
mov rcx, r14
mov rdx, rdi
call fcn.140006cf0
jmp 0x140014ede
mov rbx, r14
cmp rax, 8
jb 0x140014ea1
mov rbx, qword [r14]
mov qword [r14 + 0x10], rdi
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x840]
jmp 0x140014ed0
mov rbx, r14
cmp rax, 8
jb 0x140014ec1
mov rbx, qword [r14]
mov qword [r14 + 0x10], rdi
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1401e0580
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140173230
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14001ce30
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov esi, ecx
mov edi, 3
call fcn.140035fe0
test al, al
jne 0x14001ce4e
call fcn.140035fb0
movzx edi, al
mov ecx, esi
mov edx, edi
call fcn.140008350
mov eax, dword [0x14027ea00]
mov ecx, dword [0x1402829b0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x14]
jg 0x14001ce90
movsxd rdx, esi
inc rdx
lea rcx, [0x14027e9f0]
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140033990
lea rcx, [0x14027ea00]
call fcn.1401730a0
cmp dword [0x14027ea00], 0xffffffff
jne 0x14001ce78
lea rcx, [0x14027e9f0]
xor edx, edx
call fcn.1400339e0
lea rcx, [0x14027ea00]
call fcn.140173034
jmp 0x14001ce78
Function at 0x140033560
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140270080]
cmp ecx, 0xffffffff
je 0x140033582
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
jmp 0x140033584
xor eax, eax
add rsp, 0x28
ret

Function at 0x140033590
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r14, rdx
mov r15, rcx
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, dword [0x140270080]
cmp ecx, 0xffffffff
je 0x1400335c5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400335ca
call fcn.140033770
mov eax, dword [0x1402803c8]
mov ecx, dword [0x1402829b0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x14]
jg 0x14003371d
mov rbx, qword [0x1402803c0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140033710
mov rcx, qword [0x14027ebb0]
inc rcx
mov edx, 0x100
lea rax, [0x14027ebc0]
nop dword [rax]
movzx edi, cl
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x14003364a
lea edi, [rcx + 1]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x14003364a
add rcx, 2
add rdx, 0xfffffffffffffffe
jne 0x140033620
jmp 0x14003366f
lea rcx, [rax + rsi*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x14027ebb0], rdi
mov qword [r15], rdi
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [r15 + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
mov rsi, qword [r15]
cmp rsi, 0x100
jb 0x1400336f6
mov ecx, 0x100
call fcn.140011770
mov rdi, rax
mov rcx, rsi
call fcn.140011770
lea rdx, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x30]
mov r8, rax
mov r9, rdi
call fcn.140011c60
cmp qword [rsp + 0x30], 0
je 0x1400336f6
lea rdx, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x1c7
call fcn.1400084b0
mov rcx, rsi
call fcn.1400085c0
mov rcx, rsi
call fcn.1400085d0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140173230
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rbx
call fcn.140019440
jmp 0x140033607
lea rcx, [0x1402803c8]
call fcn.1401730a0
cmp dword [0x1402803c8], 0xffffffff
jne 0x1400335ef
mov ecx, 8
call fcn.140172d74
mov rbx, rax
mov rcx, rax
call fcn.140019430
mov qword [0x1402803c0], rbx
lea rcx, [0x1402803c8]
call fcn.140173034
jmp 0x1400335ef
Function at 0x140033770
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140173520
sub rsp, rax
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov ecx, dword [0x140270080]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
jne 0x140033862
lea rcx, [rsp + 0x2c]
call fcn.140046670
test al, al
jne 0x1400337e3
lea rdx, str....._base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key_
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x101
call fcn.140008430
mov rcx, rsi
call fcn.1400085c0
mov rcx, rsi
call fcn.1400085d0
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
jne 0x140033840
lea rcx, [rsp + 0x2c]
call fcn.140046670
test al, al
je 0x140033801
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x140033832
lea rdx, str....._base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x10b
call fcn.140008430
mov rcx, rsi
call fcn.1400085c0
mov rcx, rsi
call fcn.1400085d0
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
mov eax, 0xffffffff
lock cmpxchg dword [0x140270080], ecx
mov ecx, dword [rsp + 0x2c]
je 0x140033862
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140270080]
mov dword [rsp + 0x2c], ecx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
and esi, 3
je 0x1400338de
xor ecx, ecx
call fcn.140011590
mov rdi, rax
mov ecx, esi
call fcn.140011590
lea rdx, str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
lea rcx, [rsp + 0x30]
mov r8, rax
mov r9, rdi
call fcn.140011c60
cmp qword [rsp + 0x30], 0
je 0x1400338de
lea rdx, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x20]
lea r9, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x11d
call fcn.1400084b0
mov rcx, rsi
call fcn.1400085c0
mov rcx, rsi
call fcn.1400085d0
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1401e0c20
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1401734fc
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1401e0580
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140173230
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret

Function at 0x140033950
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140270080]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140033980
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x140033980
mov rax, qword [rax + rcx]
jmp 0x140033982
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x14012e058
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x27b
jb 0x14012e05b
mov byte [rcx + 0x27b], 0
mov rax, rcx
ret

Function at 0x14012e0a0
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x22a
jb 0x14012e0a3
mov byte [rcx + 0x22a], 0
mov rax, rcx
ret

Function at 0x14012e0e8
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x134
jb 0x14012e0eb
mov byte [rcx + 0x134], 0
mov rax, rcx
ret

Function at 0x14012e130
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x132
jb 0x14012e133
mov byte [rcx + 0x132], 0
mov rax, rcx
ret

Function at 0x14012e178
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x74
jb 0x14012e17b
mov byte [rcx + 0x74], 0
mov rax, rcx
ret

Function at 0x14012e1b8
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x64
jb 0x14012e1bb
mov byte [rcx + 0x64], 0
mov rax, rcx
ret

Function at 0x14012e1f8
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x25
jb 0x14012e1fb
mov byte [rcx + 0x25], 0
mov rax, rcx
ret

Function at 0x14012e238
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x1d
jb 0x14012e23b
mov byte [rcx + 0x1d], 0
mov rax, rcx
ret

Function at 0x14012e278
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x18
jb 0x14012e27b
mov byte [rcx + 0x18], 0
mov rax, rcx
ret
Function at 0x14012e2b8
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x15
jb 0x14012e2bb
mov byte [rcx + 0x15], 0
mov rax, rcx
ret

Function at 0x14012e2f8
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0x14
jb 0x14012e2fb
mov byte [rcx + 0x14], 0
mov rax, rcx
ret

Function at 0x14012e338
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0xf
jb 0x14012e33b
mov byte [rcx + 0xf], 0
mov rax, rcx
ret

Function at 0x14012e378
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 0xa
jb 0x14012e37b
mov byte [rcx + 0xa], 0
mov rax, rcx
ret

Function at 0x14012e3b8
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 9
jb 0x14012e3bb
mov byte [rcx + 9], 0
mov rax, rcx
ret

Function at 0x14012e3f8
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 7
jb 0x14012e3fb
mov byte [rcx + 7], 0
mov rax, rcx
ret

Function at 0x14012e438
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, [0x14020ac40]
mov al, byte [rdx + rax]
xor byte [r8 + rcx], al
inc r8
cmp r8, 4
jb 0x14012e43b
mov byte [rcx + 4], 0
mov rax, rcx
ret
Function at 0x14012ef40
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]
jmp 0x14012efb2
cmp ecx, 0x7c
je 0x14012efb7
cmp ecx, 0x29
jne 0x14012efc2
cmp dword [rbx + 0x1c], 0
jne 0x14012efb7
test dword [rbx + 0x80], 0x10000000
je 0x14012f0e2
cmp ecx, 0x5d
jne 0x14012ef89
test dword [rbx + 0x80], 0x10000000
je 0x14012f0d4
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14012e55c
mov dil, 1
mov rcx, rbx
call fcn.140131410
test dil, dil
je 0x14012efad
mov rcx, rbx
call fcn.140131484
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x14012ef54
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x14012efdf
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1401313b8
mov rcx, rbx
call fcn.140131410
jmp 0x14012efa5
cmp ecx, 0x5c
jne 0x14012f03d
mov rcx, rbx
call fcn.140131410
test byte [rbx + 0x80], 0x80
je 0x14012f030
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x14012f014
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.1401313b8
mov rcx, rbx
call fcn.140131410
jmp 0x14012efad
cmp al, 0x42
jne 0x14012f030
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1401313b8
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14012f00a
mov rcx, rbx
call fcn.14012f100
jmp 0x14012efa5
cmp ecx, 0x5b
jne 0x14012f05d
mov rcx, rbx
call fcn.140131410
mov rcx, rbx
call fcn.14012f7e4
cmp dword [rbx + 0x7c], 0x5d
jne 0x14012f0d4
jmp 0x14012efd5
cmp ecx, 0x28
jne 0x14012f080
mov rcx, rbx
call fcn.140131410
mov rcx, rbx
call fcn.140131b20
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x14012f0e2
jmp 0x14012ef98
cmp ecx, 0x5e
jne 0x14012f08d
lea edx, [rcx - 0x5c]
jmp 0x14012f001
cmp ecx, 0x24
jne 0x14012f09a
lea edx, [rcx - 0x21]
jmp 0x14012f001
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14012f0c6
cmp ecx, 0x3f
je 0x14012f0c6
cmp ecx, 0x7b
je 0x14012f0c6
cmp ecx, 0x7d
jne 0x14012ef74
test dword [rbx + 0x80], 0x10000000
je 0x14012f0f0
jmp 0x14012ef89
mov edx, 0xa
mov rcx, rbx
call fcn.14013098c
int3
mov edx, 4
mov rcx, rbx
call fcn.14013098c
int3
mov edx, 5
mov rcx, rbx
call fcn.14013098c
int3
mov edx, 6
mov rcx, rbx
call fcn.14013098c
int3
Function at 0x140149dd0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x140281f58], 0x12c
mov rdi, rcx
jg 0x140149e9f
lea rdx, [rcx + 0x20]
add rcx, 0x50
lea r8, [rsp + 0x38]
call fcn.1401ad85c
lea rbx, [rdi + 0x18]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x140149e63
cmp dword [rsp + 0x38], 0
jne 0x140149e63
cmp byte [rdi + 0x70], 0
lea rdx, [rsp + 0x38]
mov rcx, rbx
je 0x140149e2c
call fcn.1401ada5c
test al, al
jne 0x140149e3b
jmp 0x140149e63
mov r8d, 0x493e0
call fcn.1401adac0
test al, al
je 0x140149e9f
and dword [0x140281f58], 0
mov rcx, qword [rdi + 0x28]
mov byte [rdi + 0x70], 1
test rcx, rcx
je 0x140149e63
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1401ad3ca.0]
test al, al
jne 0x140149e94
cmp qword [rbx], 0xffffffffffffffff
je 0x140149e7c
cmp dword [rsp + 0x38], 0
jne 0x140149e94
mov rcx, rbx
call fcn.1401ad6fc
or qword [rbx], 0xffffffffffffffff
cmp dword [rsp + 0x38], 0
je 0x140149e94
inc dword [0x140281f58]
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 0x140173a30
Capabilities:
Parse pe header

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

Function at 0x140184860
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14018468c

Function at 0x140198928
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140198948
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14017a9d8
or eax, 0xffffffff
jmp 0x14019894a
xor eax, eax
add rsp, 0x28
ret
Function at 0x1401a73c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov al, byte [rcx + 8]
nop
test al, al
je 0x1401a7478
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1401ad3ca.0]
test al, al
je 0x1401a7478
xor eax, eax
xchg byte [rdi + 8], al
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x1401a741a
mov rcx, qword [rbx + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x1401a740d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov edx, 0x18
mov rcx, rbx
call fcn.140172db0
mov ecx, 0x18
call fcn.140172d74
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401a7446
lea rax, [0x1401a7380]
mov qword [rbx], rax
mov qword [rbx + 8], rdi
or qword [rbx + 0x10], 0xffffffffffffffff
jmp 0x1401a7448
xor ebx, ebx
mov qword [rdi + 0x10], rbx
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x1401a7530]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x10], rax
mov al, byte [rdi + 8]
nop
test al, al
sete al
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1401ad85c
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 0x1401ad88f
mov dword [r8], 1
jmp 0x1401ad950
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
mov rax, qword [rsp + 0x70]
and dword [rsp + 0x50], 0
mov qword [rsp + 0x48], rax
mov al, byte [0x140271544]
neg al
mov dword [rsp + 0x40], 0x18
sbb edx, edx
and edx, 0x80000
inc edx
cmp qword [rdi + 0x18], 7
jbe 0x1401ad8e0
mov rdi, qword [rdi]
lea rax, [rsp + 0x40]
mov r9d, 0xff
mov qword [rsp + 0x38], rax
mov r8d, 8
and dword [rsp + 0x30], 0
mov eax, 0x400
mov dword [rsp + 0x28], eax
mov rcx, rdi
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 0x1401ad93d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], eax
call fcn.1401ad654
mov dword [rbx], eax
jmp 0x1401ad950
cmp byte [0x140271544], 0
je 0x1401ad94d
mov byte [0x140271544], 0
and dword [rbx], 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 0x140030f70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140031039
cmp byte [rcx + 0x71], 0
je 0x140031039
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14003102c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140030fe8
sub eax, 1
je 0x140030fec
cmp eax, 2
jne 0x14003102c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x14003101a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14003102c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret