joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013bd70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x14013bea0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x5e], 0
je 0x14013befe
movzx edi, word [rsi + 0x5c]
test r15b, r15b
je 0x14013bede
mov word [rsi + 0x5c], 0xffff
mov byte [rsi + 0x5e], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401013e0
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.140119fcc
cmp eax, 0xffffffff
je 0x14013bf80
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x14013bf1c
mov word [rsp + 0x56], 0xaaaa
cmp byte [rsi + 0x5f], 0
je 0x14013bf89
movsx eax, byte [rsp + 0x58]
mov word [rsp + 0x56], ax
test r15b, r15b
je 0x14013bf5d
movzx edi, word [rsp + 0x56]
mov word [rsi + 0x5c], di
jmp 0x14013bede
mov edi, edi
test edi, edi
jle 0x14013c02d
mov rdx, qword [rsi + 0x40]
movsx eax, byte [rsp + rdi + 0x57]
dec rdi
movzx ecx, ax
call fcn.14011c368
cmp eax, 0xffffffff
jne 0x14013bf5f
mov di, 0xffff
jmp 0x14013bede
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x56]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [rax + 0x18]
cmp eax, 1
jne 0x14013c016
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x14013bf80
mov rcx, qword [rsi + 0x40]
call fcn.140119fcc
cmp eax, 0xffffffff
je 0x14013bf80
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x14013bf9a
cmp eax, 2
je 0x14013bf80
cmp eax, 3
je 0x14013bf43
jmp 0x14013bf4d
movzx edi, word [rsp + 0x56]
jmp 0x14013bede
Function at 0x14013c080
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x40], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 - 8], r12
lea r13, [rsp + 0x30]
lea r15, [rsp + 0x38]
mov ebp, 0xffffffff
mov qword [rsp + 0x30], r12
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r13
mov r8, r15
mov r9, r14
call qword [rax + 0x20]
mov edi, eax
mov rbx, qword [rsp + 0x30]
sub rbx, r15
mov r9, qword [rsi + 0x40]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.140119bf0
cmp rax, rbx
jne 0x14013c11c
cmp edi, 1
je 0x14013c0c4
cmp edi, 2
je 0x14013c11c
mov rcx, qword [rsi + 0x40]
call fcn.140118e68
neg eax
sbb ebp, ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401013e0
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14013c140
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x14013c175
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140119bf0
xor ebx, ebx
test rsi, rsi
jle 0x14013c19a
movzx edx, byte [r14 + rbx]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp eax, 0xffffffff
je 0x14013c19a
inc rbx
cmp rsi, rbx
jne 0x14013c17c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14013c1b0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp edx, 0xffffffff
je 0x14013c21a
mov r15d, edx
mov rdi, rcx
mov byte [rsp + 0x57], r15b
cmp byte [rcx + 0x58], 0
je 0x14013c240
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x57]
mov edx, 1
mov r8d, 1
call fcn.140119bf0
mov esi, 0xffffffff
cmp rax, 1
je 0x14013c21d
jmp 0x14013c220
xor r15d, r15d
mov esi, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401013e0
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x57]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rsi
je 0x14013c2f0
mov ebp, eax
cmp eax, 3
je 0x14013c2cf
cmp ebp, 1
ja 0x14013c2f0
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.140119bf0
cmp rax, rsi
jne 0x14013c2f0
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x14013c258
jmp 0x14013c21d
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.140119bf0
cmp rax, 1
je 0x14013c21d
mov esi, 0xffffffff
jmp 0x14013c220

Function at 0x14013c340
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x14013c375
mov r9, qword [rdi + 0x40]
mov edx, 2
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140119bf0
xor ebx, ebx
test rsi, rsi
jle 0x14013c39b
movzx edx, word [r14 + rbx*2]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp ax, 0xffff
je 0x14013c39b
inc rbx
cmp rsi, rbx
jne 0x14013c37c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14013c3b0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp dx, 0xffff
je 0x14013c41a
mov r15d, edx
mov rdi, rcx
mov word [rsp + 0x56], dx
cmp byte [rcx + 0x58], 0
je 0x14013c440
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x56]
mov edx, 2
mov r8d, 1
call fcn.140119bf0
mov si, 0xffff
cmp rax, 1
je 0x14013c41d
jmp 0x14013c420
xor r15d, r15d
mov esi, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401013e0
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x56]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rsi
je 0x14013c4f0
mov ebp, eax
cmp eax, 3
je 0x14013c4cf
cmp ebp, 1
ja 0x14013c4f0
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.140119bf0
cmp rax, rsi
jne 0x14013c4f0
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x14013c458
jmp 0x14013c41d
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.140119bf0
cmp rax, 1
je 0x14013c41d
mov si, 0xffff
jmp 0x14013c420

Function at 0x14013c540
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x14013c577
movabs r9, 0xf000000000000000
shl rax, 4
movsx r10, byte [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
inc rdx
cmp r8, rdx
jne 0x14013c551
ret

Function at 0x14013c5d0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x14013c608
movabs r9, 0xf000000000000000
shl rax, 4
movzx r10d, word [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
add rdx, 2
cmp r8, rdx
jne 0x14013c5e1
ret
Function at 0x140156590
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.140100528
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140156600]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.14010e570
mov qword [rbx], rax
test rax, rax
je 0x1401565e7
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x140158500
Capabilities:
Check if file exists
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.1400d91f0
test al, al
jne 0x140158521
mov rcx, rsi
call fcn.1400d91f0
test al, al
je 0x14015852a
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14015d5e0
Function at 0x14015d5e0
Capabilities:
Check if file exists
Move file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm6
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0xe8], rax
movaps xmm6, xmmword [0x1401d9dd0]
lea rbp, [rsp + 0x20]
movaps xmmword [rbp + 0x40], xmm6
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
lea rdx, str.MoveUnsafe
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov r9d, 0x424
call fcn.1400d95e0
xor ebx, ebx
mov rcx, rbp
mov rdx, rsi
xor r8d, r8d
call fcn.1400e5a80
movzx eax, byte [rdi + 0x17]
mov rcx, rax
test al, al
jns 0x14015d674
mov rcx, qword [rdi + 8]
cmp rcx, 0x103
jbe 0x14015d6b3
lea rcx, [rsp + 0x20]
call fcn.1400e5c10
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1401013e0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x100
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx ecx, byte [r12 + 0x17]
mov rdx, rcx
test cl, cl
jns 0x14015d6c5
mov rdx, qword [r12 + 8]
cmp rdx, 0x103
jbe 0x14015d6d2
xor ebx, ebx
jmp 0x14015d67d
mov rdx, r12
test cl, cl
jns 0x14015d6dd
mov rdx, qword [r12]
mov rcx, rdi
test al, al
jns 0x14015d6e7
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x14015d67d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
lea r15, [rsp + 0x90]
movaps xmmword [r15 + 0x40], xmm6
movaps xmmword [r15 + 0x30], xmm6
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x70]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.1400d95e0
mov rcx, r15
mov rdx, rsi
xor r8d, r8d
call fcn.1400e5a80
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14015d75d
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r15
call fcn.1400e5c10
cmp ebp, 0xffffffff
je 0x14015d777
and ebp, 0x10
jne 0x14015d785
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14015d6ce
mov rcx, rdi
mov rdx, r12
call fcn.14015d7a0
test al, al
jne 0x14015d67d
jmp 0x14015d777
Function at 0x14015dcc0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14015dd57
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14015dd5c
test bl, bl
je 0x14015dd1b
cmp byte [rdi + 8], 0
je 0x14015ddd5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rdi + 8], 0
jne 0x14015dde2
mov rcx, qword [rdi]
call fcn.14007ac30
mov rcx, qword [0x14021d6d0]
mov dil, 1
test rcx, rcx
jne 0x14015ddf0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401013e0
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rdi]
jmp 0x14015dced
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rdi + 8], 0
je 0x14015dd84
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14015dd89
xor edi, edi
jmp 0x14015dd40
mov rcx, qword [rdi]
jmp 0x14015dd71
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rdi + 8], 0
je 0x14015dddd
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14015ddb3
mov esi, dword [rsp + 0x24]
cmp byte [rdi + 8], 0
jne 0x14015ddff
mov rcx, qword [rdi]
call fcn.14007ac30
mov rcx, qword [0x14021d6d0]
test rcx, rcx
jne 0x14015de0a
mov dil, 1
jmp 0x14015dd40
mov rcx, qword [rdi]
jmp 0x14015dd10
mov rcx, qword [rdi]
jmp 0x14015dda0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14015dd28
mov edx, eax
mov r8d, esi
call fcn.140172ea0
jmp 0x14015dd40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14015ddbc
mov edx, eax
mov r8d, esi
call fcn.140172ea0
jmp 0x14015ddcd
Function at 0x14015dfd0
Capabilities:
Delete registry key

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x70]
mov qword [rax], 0
mov r9d, 0x20019
or r9d, dword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x14015e036
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401013e0
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
lea rax, [rsp + 0x6c]
mov dword [rax], 0
mov rcx, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14015e01c
mov ebx, 0x91
cmp dword [rsp + 0x6c], 0
jne 0x14015e01c
mov r8d, dword [rdi + 8]
mov rcx, qword [rdi]
mov rdx, rsi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
jmp 0x14015e01c

Function at 0x14015e0b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, r8
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x4c]
mov dword [r9], ntohl
lea rax, [rsp + 0x40]
mov qword [rax], 0
lea rdi, [rsp + 0x3c]
mov dword [rdi], 8
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x14015e11d
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401013e0
mov eax, edi
add rsp, 0x58
pop rdi
pop rsi
ret
mov eax, dword [rsp + 0x4c]
and eax, 0xfffffff7
mov edi, 0x3f4
cmp eax, 3
jne 0x14015e107
cmp dword [rsp + 0x3c], 8
jne 0x14015e107
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
xor edi, edi
jmp 0x14015e107

Function at 0x14015e150
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov eax, dword [rsp + 0x60]
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x38
ret
Function at 0x1401866a0
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1401866c8
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
je 0x1401866f6
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401013e0
mov eax, ebx
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x1401866d4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x2f
mov r9d, 2
call fcn.140158e40
lea rcx, [rsp + 0x60]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.1400cf4f0
mov rbx, rax
movzx eax, byte [rdi + 0x17]
test al, al
mov rcx, qword [rdi]
cmovns rcx, rdi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.1400dd930
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x140186783
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
mov rdx, rdi
call fcn.1400cf4f0
cmp byte [rsp + 0x4f], 0
jns 0x14018679f
mov rcx, qword [rsp + 0x38]
call fcn.140100564
lea rcx, [rsp + 0x50]
call fcn.140158f30
jmp 0x1401866d4

Function at 0x14018a6a0
Capabilities:
Enumerate processes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov r8d, 0x238
mov rcx, rsi
xor edx, edx
call fcn.140103d70
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
je 0x14018a6e2
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x14018a6d6
Function at 0x1401b1130
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x40
jb 0x1401b1181
cmp byte [rcx], 0x4d
jne 0x1401b1181
cmp byte [rcx + 1], 0x5a
jne 0x1401b1181
mov r9d, dword [rcx + 0x3c]
mov r10, rdx
sub r10, r9
xor eax, eax
cmp r10, 0x18
jb 0x1401b1183
cmp r9, rdx
jae 0x1401b1183
cmp r9d, 0x40
jb 0x1401b1183
mov r10d, r9d
and r10d, 7
test r10, r10
jne 0x1401b1183
cmp byte [rcx + r9], 0x50
jne 0x1401b1181
cmp byte [rcx + r9 + 1], 0x45
jne 0x1401b1181
cmp byte [rcx + r9 + 2], 0
je 0x1401b1184
xor eax, eax
ret
cmp byte [rcx + r9 + 3], 0
jne 0x1401b1181
add r9, 0x18
xor eax, eax
sub rdx, r9
jbe 0x1401b1183
cmp rdx, 2
jb 0x1401b1183
cmp word [rcx + r9], r8w
sete al
jmp 0x1401b1183
Function at 0x1401b81a0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x1a0
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x1401d9dd0]
lea rsi, [rsp + 0x160]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x1401b8233
mov ecx, 1
call fcn.1400d9610
test al, al
je 0x1401b8233
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xb3
mov r9d, 1
call fcn.14004a520
lea rcx, [rsp + 0x30]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.1400cf4f0
mov rcx, rsi
call fcn.14004a9c0
mov eax, dword [rsp + 0x180]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401013e0
mov eax, esi
add rsp, 0x1a0
pop rsi
ret
Function at 0x140955058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1409551df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140955089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14095506f
add dl, dl
jne 0x140955096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409550f6
xor eax, eax
add dl, dl
jne 0x1409550a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409551ad
add dl, dl
jne 0x1409550b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409550c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409550d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409550dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409550ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14095507e
mov eax, 1
add dl, dl
jne 0x140955106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140955113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409550fb
sub eax, ebx
mov ebx, 1
jne 0x14095514c
mov ecx, 1
add dl, dl
jne 0x14095512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14095513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140955123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14095507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140955168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140955175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14095515d
cmp eax, 0x7d00
jae 0x14095519b
cmp eax, 0x500
jb 0x140955196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14095507e
cmp eax, 0x7f
ja 0x14095519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14095507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409551d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14095507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14004747c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400471b4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400471b4
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400471b4
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400471b4
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400471b4
cmp dword [rcx + 0x84], 0xe
jbe 0x1400471b4
cmp dword [rcx + 0xf8], esi
je 0x1400471b4
mov ecx, r14d
call fcn.140047384
mov ecx, 2
call fcn.140051220
nop
cmp byte [0x14008a048], 0
jne 0x14004727e
mov r15d, 1
mov eax, r15d
xchg dword [0x14008a038], eax
test ebx, ebx
jne 0x140047227
mov rdi, qword [section..data]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14008a040]
cmp rcx, rax
je 0x14004721e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x14006d5a8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14008a058]
jmp 0x140047233
cmp ebx, r15d
jne 0x140047239
lea rcx, [0x14008a070]
call fcn.140049844
nop
test ebx, ebx
jne 0x140047250
lea rdx, [0x14006d638]
lea rcx, [0x14006d610]
call fcn.140046fb4
lea rdx, [0x14006d648]
lea rcx, [0x14006d640]
call fcn.140046fb4
movzx eax, byte [0x14008a048]
test esi, esi
cmove eax, r15d
mov byte [0x14008a048], al
jmp 0x14004727e
mov ecx, 2
call fcn.140051274
test esi, esi
jne 0x140047295
mov ecx, r14d
call fcn.1400472b0
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140047144