joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400309b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400920a0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
xor sil, sil
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140030a49
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140030a49
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x140030a23
mov rdx, qword [rbx]
lea rcx, [rsp + 0x4c]
call fcn.140050a3c
test eax, eax
je 0x140030a46
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140030a16
jmp 0x140030a49
mov sil, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140030a8d
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140030a88
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140030ac7
mov rcx, r8
call fcn.14003cd90
xor eax, eax
mov word [rbx], ax
mov qword [rbx + 0x10], rax
movzx eax, sil
mov qword [rbx + 0x18], 7
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14003cd70
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14004f8c4
int3

Function at 0x140031060
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1400920a0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x30]
call fcn.14003f8d0
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0x30]
mov edx, 0x5c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14003110b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1400310ec
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400310e0
jmp 0x14003113a
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
xor r8d, r8d
lea rdx, [0x14007e05b]
jmp 0x14003113f
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140031130
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140007e00
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14003cd70
add rsp, 0x140
pop rbx
ret
Function at 0x140031d60
Capabilities:
Get session information
Get session user name

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov rbx, rcx
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
xor r8d, r8d
lea rdx, [0x140082eb8]
call fcn.140007c30
mov dword [rsp + 0x30], 1
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x140031dff
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x60]
mov r8d, 5
mov edx, eax
xor ecx, ecx
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x140031dff
mov rdx, qword [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140031de0
mov rcx, rbx
call fcn.140007c30
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
nop
mov rax, rbx
add rsp, 0x40
pop rbx
ret

Function at 0x1400502f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140050327
call fcn.140049350
mov dword [rax], 0x16
call fcn.14004f8a4
xor eax, eax
jmp 0x1400503b5
mov rdx, r9
mov rcx, r8
call fcn.14005028c
mov rbx, rax
test rax, rax
je 0x1400503b2
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400501b8]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14005039f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400492c4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140050386
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140050395
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400596d0
jmp 0x1400503b2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400503af
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140057b28
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140057b3e
mov al, 1
jmp 0x140057b9e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140057b4f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140057b9c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400628a8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140057b9c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140057b9c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140057b9c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140057b9e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14005c108
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14003d750
sub rsp, rax
mov rax, qword [0x1400920a0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14005790c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14005c157
mov rax, rbp
jmp 0x14005c25f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x95190]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14005d054
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x95190]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14005c25b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005c25b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14005d054
test rax, rax
js 0x14005c25b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14005c25b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14005c24d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14005c24d
cmp byte [rcx], 0xd
jne 0x14005c233
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14005c242
cmp byte [rcx + 1], 0xa
jne 0x14005c242
inc rcx
jmp 0x14005c242
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x924c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14005c215
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14005c25f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14003cd70
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005c3f4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140095190]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14005c44b
cmp word [rdx], r13w
jne 0x14005c44b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14005c450
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14005c575
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14005c596
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14005c489
mov rdx, r9
mov word [rbx], cx
jmp 0x14005c4b0
cmp r9, r8
jae 0x14005c4c0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14005c46a
jmp 0x14005c575
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005c56a
cmp dword [rsp + 0x80], esi
je 0x14005c56a
lea r8, [0x140095190]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14005c542
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14005c512
mov word [rbx], r13w
jmp 0x14005c572
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14005c51f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14005c572
cmp word [rsp + 0x70], r13w
jne 0x14005c54f
cmp rbx, r14
je 0x14005c50c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14005d05c
cmp word [rsp + 0x70], r13w
je 0x14005c575
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140095190]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14005c56f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14005c575
Function at 0x14005ddec
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14005de0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400492c4
or eax, 0xffffffff
jmp 0x14005de0e
xor eax, eax
add rsp, 0x28
ret
Function at 0x140061c6c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140061cf3
mov rsi, rbx
cmp word [rax], bp
je 0x140061cb2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140061c9c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140061c98
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14005aac8
mov rdi, rax
test rax, rax
je 0x140061ce0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003f220
mov rbp, rdi
xor ecx, ecx
call fcn.1400596d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140064dfc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400580b4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140064e9d
cmp ebx, dword [rsp + 0x30]
je 0x140064e96
test esi, esi
je 0x140064e96
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140064e71
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140064e7e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140064e5b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140064e82
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140064e9f
mov eax, 1
jmp 0x140064e9f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140069894
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14005d05c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14005d05c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400699e4
cmp rax, 0xffffffffffffffff
je 0x1400699e4
xor edi, edi
test rbp, rbp
jle 0x14006998f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140059cbc
mov rbx, rax
test rax, rax
jne 0x14006991c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140069985
mov edx, 0x8000
mov ecx, r14d
call fcn.140055cf0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140059168
cmp eax, 0xffffffff
je 0x140069965
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14006992c
mov edx, r15d
mov ecx, r14d
call fcn.140055cf0
jmp 0x140069985
cmp byte [rsi + 0x38], dil
je 0x14006997c
cmp dword [rsi + 0x34], 5
jne 0x14006997c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140069985
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400596d0
jmp 0x1400699f8
jns 0x1400699f8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14005d05c
cmp rax, 0xffffffffffffffff
jne 0x1400699b0
cmp byte [rsi + 0x30], dil
je 0x1400699f8
mov edi, dword [rsi + 0x2c]
jmp 0x1400699f8
mov ecx, r14d
call fcn.1400628a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400699f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400699f8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400699f1
mov eax, dword [rsi + 0x2c]
jmp 0x1400699f6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14005d05c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add dl, ch
inc dword [rax]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add dl, ch
inc dword [rax]
add dl, ch
inc dword [rax]
add dl, ch
call qword [rax]
add ah, ch
inc eax
xor edi, ecx
invalid
invalid
add dl, ch
inc dword [rax]
add dl, ch
inc dword [rax]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add dl, ch
inc dword [rax]
add dl, ch
inc dword [rax]
add bl, ch
jmp [rbx]
in al, 0xff
out dx, al
invalid

Function at 0x140007284
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x14000734a
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x14000730e
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000730b
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x1400205b8]
mov rdx, rsi
call fcn.140011c68
jmp 0x14000730e
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400072db
mov rdx, qword [0x14001f120]
lea rcx, [0x1400205b8]
mov rdi, rdx
inc rdx
mov qword [0x14001f120], rdx
lea edx, [rbx + 0x20]
call fcn.140011cb0
lea rcx, [0x140021170]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x140003030
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
mov dword [rbp + 0x20], r14d
cmp qword [r8 + 0x18], 7
jbe 0x14000305f
mov r8, qword [r8]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140003090
mov dword [rbx], eax
mov byte [rbx + 0x20], r14b
jmp 0x14000313e
mov r8d, dword [rbp + 0x20]
shr r8, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov edx, 0x20
lea rcx, [rbp - 0x28]
call fcn.140007a10
nop
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rax, qword [rbp - 0x28]
cmp qword [rdi + 0x18], 7
jbe 0x1400030cd
mov rdi, qword [rdi]
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
mov r8, rdi
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140003156
mov dword [rbx], eax
mov byte [rbx + 0x20], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x14000313e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003139
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003224
call fcn.140024e14
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, dword [rbp + 0x20]
shr rcx, 1
dec rcx
mov r8, qword [rbp - 0x18]
cmp rcx, r8
ja 0x140003181
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], rcx
mov word [rax + rcx*2], r14w
jmp 0x1400031d1
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x10]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x1400031c5
mov qword [rbp - 0x18], rcx
lea r9, [rbp - 0x28]
cmp rdi, 7
cmova r9, qword [rbp - 0x28]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1400031ba
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x1400031d1
mov r9, rdx
lea rcx, [rbp - 0x28]
call fcn.140007ca0
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.1400021f0
mov byte [rbx + 0x20], 1
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x14000313e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003139
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003139
call fcn.140036164
int3
Function at 0x140014580
Capabilities:
Encode data using base64 via winapi

Disassembly:
push rbx
push r12
push r14
push r15
sub rsp, 0x38
lea r14, [rcx + 8]
mov rbx, rdx
mov edx, dword [r14]
lea rax, [rsp + 0x60]
sub edx, dword [rcx]
mov r15, rcx
mov rcx, qword [rcx]
xor r12d, r12d
xor r9d, r9d
mov dword [rsp + 0x60], r12d
mov r8d, 0x40000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x14001470d
mov r8d, dword [rsp + 0x60]
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x30], rdi
mov rdi, qword [rbx + 0x18]
cmp r8, rcx
ja 0x140014607
cmp rdi, 7
mov rax, rbx
lea rdi, [rbx + 0x10]
jbe 0x1400145fc
mov rax, qword [rbx]
lea r14, [r15 + 8]
mov qword [rbx + 0x10], r8
mov word [rax + r8*2], r12w
jmp 0x140014655
mov rdx, r8
mov rax, rdi
sub rdx, rcx
sub rax, rcx
cmp rdx, rax
ja 0x140014646
mov qword [rbx + 0x10], r8
mov r9, rbx
cmp rdi, 7
jbe 0x140014628
mov r9, qword [rbx]
lea rdi, [r9 + rcx*2]
test rdx, rdx
je 0x14001463b
movzx eax, r12w
mov rcx, rdx
rep stosw word [rdi], ax
mov word [r9 + r8*2], r12w
lea r14, [r15 + 8]
jmp 0x140014651
mov r9, rdx
mov rcx, rbx
call fcn.140007ca0
lea rdi, [rbx + 0x10]
cmp qword [rbx + 0x18], 7
mov r9, rbx
jbe 0x140014668
mov r9, qword [rbx]
lea rsi, [rbx + 0x10]
jmp 0x14001466b
mov rsi, rdi
mov edx, dword [r14]
lea rax, [rsp + 0x60]
sub edx, dword [r15]
mov r8d, 0x40000001
mov rcx, qword [r15]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov ebp, eax
test eax, eax
je 0x1400146fe
mov ecx, dword [rsp + 0x60]
mov r8, qword [rdi]
mov r9, qword [rbx + 0x18]
cmp rcx, r8
ja 0x1400146b6
cmp r9, 7
jbe 0x1400146ac
mov rbx, qword [rbx]
mov rdi, rsi
mov qword [rdi], rcx
mov word [rbx + rcx*2], r12w
jmp 0x1400146fc
mov rdx, rcx
mov rax, r9
sub rdx, r8
sub rax, r8
cmp rdx, rax
ja 0x1400146f1
mov qword [rsi], rcx
cmp r9, 7
jbe 0x1400146d3
mov rbx, qword [rbx]
lea rdi, [rbx + r8*2]
test rdx, rdx
je 0x1400146e6
movzx eax, r12w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [rbx + rax*2], r12w
jmp 0x1400146fc
mov r9, rdx
mov rcx, rbx
call fcn.140007ca0
mov eax, ebp
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r12
pop rbx
ret
Function at 0x140014720
Capabilities:
Decode data using base64 via winapi

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x40
mov rbp, qword [rcx]
lea rax, [rsp + 0x60]
xor r14d, r14d
mov rbx, rdx
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov rcx, rbp
mov dword [rsp + 0x60], r14d
lea r8d, [r14 + 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x140014849
mov rdx, qword [rbx]
mov qword [rsp + 0x68], rsi
mov rsi, qword [rbx + 8]
mov rcx, rsi
mov qword [rsp + 0x70], rdi
mov edi, dword [rsp + 0x60]
sub rcx, rdx
cmp rdi, rcx
jae 0x14001478b
lea rax, [rdx + rdi]
jmp 0x1400147ba
jbe 0x1400147be
mov rax, qword [rbx + 0x10]
sub rax, rdx
cmp rdi, rax
jbe 0x1400147a6
mov rdx, rdi
mov rcx, rbx
call fcn.1400153d0
jmp 0x1400147be
sub rdi, rcx
xor edx, edx
mov r8, rdi
mov rcx, rsi
call fcn.140047230
lea rax, [rdi + rsi]
mov qword [rbx + 8], rax
mov r9, qword [rbx]
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov rcx, rbp
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
mov esi, eax
test eax, eax
je 0x14001483f
mov rbp, qword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, rbp
mov edi, dword [rsp + 0x60]
sub rcx, rdx
cmp rdi, rcx
jae 0x14001480a
lea rcx, [rdx + rdi]
mov qword [rbx + 8], rcx
jmp 0x14001483d
jbe 0x14001483d
mov rax, qword [rbx + 0x10]
sub rax, rdx
cmp rdi, rax
jbe 0x140014825
mov rdx, rdi
mov rcx, rbx
call fcn.1400153d0
jmp 0x14001483d
sub rdi, rcx
xor edx, edx
mov r8, rdi
mov rcx, rbp
call fcn.140047230
lea rax, [rdi + rbp]
mov qword [rbx + 8], rax
mov eax, esi
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rbp
pop rbx
ret