joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100015360
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x128]
xor esi, esi
mov qword [0x1002943b0], 0
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x24]
mov r8d, 0x104
xor ecx, ecx
call sub.kernel32.dll_GetModuleFileNameA
mov ebx, eax
and eax, eax
mov byte [rsp + rax + 0x24], 0
mov r8d, ebx
xor edx, edx
mov rcx, rsp
call fcn.100015540
movsxd rax, ebx
lea r8, [rax + 1]
mov rax, qword [0x1002943b0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x24]
call fcn.100002d70
call sub.kernel32.dll_GetCommandLineA
mov qword [0x1001a47d0], rax
mov r14, rax
jmp 0x1000154e7
add r14, 1
movzx eax, byte [r14]
sub eax, 1
cmp eax, 0x20
jb 0x1000153e8
cmp byte [r14], 0
je 0x1000154f1
nop
xor dil, dil
mov r12, r14
xor ebx, ebx
jmp 0x100015450
mov al, byte [r14]
cmp al, 1
jb 0x100015448
sub al, 0x20
jbe 0x100015424
sub al, 2
je 0x100015430
jmp 0x100015448
test dil, dil
je 0x100015456
add ebx, 1
jmp 0x10001544c
cmp byte [r14 + 1], 0x22
je 0x100015440
test dil, dil
sete dil
jmp 0x10001544c
add r14, 1
jmp 0x10001544c
add ebx, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100015410
test esi, esi
je 0x1000154e4
mov r8d, ebx
mov edx, esi
mov rcx, rsp
call fcn.100015540
xor dil, dil
mov r14, r12
mov rdx, qword [0x1002943b0]
movsxd rax, esi
mov r13, qword [rdx + rax*8]
jmp 0x1000154d8
mov al, byte [r14]
cmp al, 1
jb 0x1000154c8
sub al, 0x20
jbe 0x10001549c
sub al, 2
je 0x1000154b0
jmp 0x1000154c8
test dil, dil
je 0x1000154de
mov al, byte [r14]
mov byte [r13], al
add r13, 1
jmp 0x1000154d4
cmp byte [r14 + 1], 0x22
je 0x1000154c0
test dil, dil
sete dil
jmp 0x1000154d4
add r14, 1
jmp 0x1000154d4
mov al, byte [r14]
mov byte [r13], al
add r13, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x100015488
mov byte [r13], 0
nop
add esi, 1
cmp byte [r14], 0
jne 0x1000153ec
mov dword [0x1002943a0], esi
movsxd rax, esi
lea rdx, [rax + 1]
shl rdx, 3
lea rcx, [0x1002943b0]
call fcn.100012240
mov rax, qword [0x1002943b0]
movsxd rsi, esi
mov qword [rax + rsi*8], 0
nop
lea rsp, [rsp + 0x128]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret
Function at 0x10002d210
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov dword [rbp - 8], ecx
mov dword [rbp - 0x10], edx
mov byte [rbp - 0x18], r8b
lea r8, [rbp - 0x24]
mov edx, dword [rbp - 0x10]
mov ecx, dword [rbp - 8]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
mov dword [rbp - 0x28], eax
cmp eax, 2
jle 0x10002d2c2
mov eax, dword [rbp - 0x28]
sub eax, 2
test eax, eax
jl 0x10002d2df
mov dword [rbp - 0x2c], 0xffffffff
nop dword [rax]
mov edx, dword [rbp - 0x2c]
add edx, 1
mov dword [rbp - 0x2c], edx
mov dx, word [rbp + rdx*2 - 0x24]
mov word [rbp - 0x30], dx
mov edx, dword [rbp - 0x2c]
mov dx, word [rbp + rdx*2 - 0x24]
cmp dx, 0x20
jb 0x10002d2df
sub dx, 0x20
je 0x10002d2b8
sub dx, 0x80
je 0x10002d2b8
sub dx, 0x1f62
jb 0x10002d2df
sub dx, 1
jbe 0x10002d2b8
sub dx, 6
je 0x10002d2b8
sub dx, 0x26
jne 0x10002d2df
nop
jmp 0x10002d2b8
cmp eax, dword [rbp - 0x2c]
jg 0x10002d260
nop dword [rax]
jmp 0x10002d2df
cmp dword [rbp - 0x28], 2
jne 0x10002d2d2
mov ax, word [rbp - 0x24]
mov word [rbp - 0x30], ax
jmp 0x10002d2df
movzx ecx, byte [rbp - 0x18]
call fcn.10000be70
mov word [rbp - 0x30], ax
mov ax, word [rbp - 0x30]
sub ax, 0x7f
jbe 0x10002d35c
sub ax, 0x21
je 0x10002d370
sub ax, 0x17
je 0x10002d37c
sub ax, 0x222
je 0x10002d388
sub ax, 0x392
je 0x10002d390
sub ax, 1
je 0x10002d398
sub ax, 0x1996
je 0x10002d3a0
sub ax, 1
je 0x10002d3a8
sub ax, 6
je 0x10002d3b0
sub ax, 0xb
je 0x10002d3c0
sub ax, 0x1b
je 0x10002d3b8
sub ax, 0x367
je 0x10002d3c8
jmp 0x10002d3d0
movzx ecx, word [rbp - 0x30]
call fcn.10000bf20
mov byte [rbp - 0x1c], al
jmp 0x10002d3d8
mov byte [rbp - 0x1c], 0x20
jmp 0x10002d3d8
mov byte [rbp - 0x1c], 0x2e
jmp 0x10002d3d8
mov byte [rbp - 0x1c], 0x27
jmp 0x10002d3d8
mov byte [rbp - 0x1c], 0x2c
jmp 0x10002d3d8
mov byte [rbp - 0x1c], 0x27
jmp 0x10002d3d8
mov byte [rbp - 0x1c], 0x20
jmp 0x10002d3d8
mov byte [rbp - 0x1c], 0x20
jmp 0x10002d3d8
mov byte [rbp - 0x1c], 0x20
jmp 0x10002d3d8
mov byte [rbp - 0x1c], 0x20
jmp 0x10002d3d8
mov byte [rbp - 0x1c], 0x2d
jmp 0x10002d3d8
mov byte [rbp - 0x1c], 0x27
jmp 0x10002d3d8
mov al, byte [rbp - 0x18]
mov byte [rbp - 0x1c], al
nop
movzx eax, byte [rbp - 0x1c]
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x10005b780
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x2b0]
mov qword [rbp - 0x290], rbx
mov qword [rbp - 0x288], rdi
mov qword [rbp - 0x280], rsi
mov qword [rbp - 8], rcx
mov byte [rbp - 0x10], dl
mov bl, r8b
lea rdx, [0x1001da0d8]
lea rcx, [rbp - 0x278]
call fcn.10000f8e0
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
jne 0x10005b7cf
lea rcx, [0x100294460]
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x10005b812
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x10005b7ed
clc
jmp 0x10005b7f4
bt dword [0x1001d9328], eax
jb 0x10005b80a
mov rcx, rbp
call fcn.10005b8c0
test al, al
je 0x10005b80a
mov dil, 1
jmp 0x10005b890
xor dil, dil
jmp 0x10005b890
mov eax, esi
and eax, 0x10
movzx ecx, byte [rbp - 0x10]
lea rdx, [0x1001a6b30]
cmp eax, dword [rdx + rcx*4]
sete dil
and bl, dil
je 0x10005b890
and esi, 0x400
je 0x10005b890
lea rbx, [rbp - 0x278]
lea rdx, [0x1001da0d8]
mov rcx, rbx
call fcn.10000f9c0
mov rdx, rbx
mov rcx, qword [rbp - 8]
xor r8b, r8b
call fcn.10005b3b0
test eax, eax
je 0x10005b86c
sub eax, 1
je 0x10005b884
jmp 0x10005b88c
mov dl, byte [rbp - 0x10]
mov rcx, qword [rbp - 0x278]
xor r8b, r8b
call fcn.10005b780
mov dil, al
jmp 0x10005b890
mov dil, 1
jmp 0x10005b890
xor dil, dil
nop
nop
mov rcx, rbp
call fcn.10005b750
mov al, dil
mov rbx, qword [rbp - 0x290]
mov rdi, qword [rbp - 0x288]
mov rsi, qword [rbp - 0x280]
lea rsp, [rbp]
pop rbp
ret

Function at 0x10005bb10
Capabilities:
Get file attributes

Disassembly:
lea rsp, [rsp - 0x28]
test rcx, rcx
jne 0x10005bb21
lea rcx, [0x100294460]
call sub.kernel32.dll_GetFileAttributesW
nop
lea rsp, [rsp + 0x28]
ret

Function at 0x10005bbf0
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r13
mov rsi, rcx
mov edi, edx
mov r12d, r8d
mov r13, r9
mov qword [rbp - 8], 0
nop
mov edx, r12d
mov ecx, edi
xor r9d, r9d
xor r8, r8
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x10005bc71
movsxd rdx, ebx
sub rdx, 1
lea rcx, [rbp - 8]
call fcn.10000c300
cmp ebx, 1
jle 0x10005bc60
mov r8, qword [rbp - 8]
mov r9d, ebx
mov edx, r12d
mov ecx, edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
nop
mov rcx, rsi
mov rdx, qword [rbp - 8]
xor r8d, r8d
call fcn.10000b950
jmp 0x10005bc7c
mov rcx, rsi
mov rdx, r13
call fcn.100008e90
nop
mov rcx, rbp
call fcn.10005bbd0
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov r12, qword [rbp - 0x18]
mov r13, qword [rbp - 0x10]
lea rsp, [rbp]
pop rbp
ret
Function at 0x10005c140
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0
nop
xor ebx, ebx
nop dword [rax]
add ebx, 1
mov eax, ebx
lea rdx, [0x100295f90]
lea rcx, [rdx + rax*8 - 8]
xor edx, edx
call fcn.100008e90
mov eax, ebx
lea rdx, [0x100295fd0]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x10005c160
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
lea r8, [rbp - 0xc]
mov ecx, esi
mov r9d, 0xb
mov edx, 0x100b
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x10005c214
nop
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0xc]
xor r9d, r9d
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.1000099b0
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.100051240
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x10005c214
lea rcx, [0x10005bfe0]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x10005c090]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop dword [rax]
nop
mov rcx, rbp
call fcn.10005c120
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret

Function at 0x10005c8d0
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r12
mov rbx, rcx
mov rsi, rdx
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
mov rcx, rbx
xor edx, edx
call fcn.10000bb70
call sub.kernel32.dll_GetEnvironmentStringsW
mov rdi, rax
mov r12, rdi
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.100057be0
jmp 0x10005c9d1
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.10000bb00
mov rdx, qword [rbp - 8]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000c760
mov esi, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 8]
mov r8d, 1
lea rcx, [rbp - 0x20]
call fcn.10000c4e0
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x18]
call fcn.100057be0
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
call fcn.10000c2b0
test rax, rax
jne 0x10005c9bc
mov r9, qword [rbp - 8]
test r9, r9
je 0x10005c9a0
mov r9, qword [r9 - 8]
movsxd rax, esi
sub r9, rax
movsxd rax, esi
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, qword [rbp - 8]
call fcn.10000c4e0
jmp 0x10005c9de
mov rcx, r12
call fcn.100003fa0
shl rax, 1
add rax, r12
add rax, 2
mov r12, rax
cmp word [r12], 0
jne 0x10005c938
mov rcx, rdi
call sub.kernel32.dll_FreeEnvironmentStringsW
nop
mov rcx, rbp
call fcn.10005c890
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
mov r12, qword [rbp - 0x28]
lea rsp, [rbp]
pop rbp
ret
Function at 0x10005ca50
Capabilities:
Check os version

Disassembly:
lea rsp, [rsp - 0xb8]
mov qword [0x100296010], 0
mov dword [rsp + 0x20], 0x94
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetVersionExA
mov eax, dword [rsp + 0x30]
mov dword [0x100295e50], eax
mov eax, dword [rsp + 0x24]
mov dword [0x100295e60], eax
mov eax, dword [rsp + 0x28]
mov dword [0x100295e70], eax
mov eax, dword [rsp + 0x2c]
mov dword [0x100295e80], eax
lea rdx, [0x100295e91]
lea rcx, [rsp + 0x34]
mov r8d, pe_nt_image_headers64
call fcn.100002d70
lea rcx, [rsp + 0x34]
call fcn.100003f70
mov byte [0x100295e90], al
lea rcx, [0x1001d9458]
call sub.kernel32.dll_GetModuleHandleA
mov qword [0x100296020], rax
test rax, rax
je 0x10005caf8
mov rcx, qword [0x100296020]
lea rdx, [0x1001d9468]
call sub.kernel32.dll_GetProcAddress
mov qword [0x100296010], rax
nop
cmp dword [0x100295e60], 6
jae 0x10005cb0c
mov dword [0x1001a5da0], 0
nop
cmp dword [0x100295e60], 6
jb 0x10005cb28
cmp dword [0x100295e70], 1
jb 0x10005cb28
mov dword [0x1001a5db0], 2
nop
lea rsp, [rsp + 0xb8]
ret

Function at 0x1000a2260
Capabilities:
Hash data with crc32

Disassembly:
mov eax, 0xffffffff
nop dword [rax]
add eax, 1
mov ecx, eax
mov r8d, 0xffffffff
nop dword [rax + rax]
add r8d, 1
mov edx, ecx
and edx, 1
cmp edx, 1
jne 0x1000a2294
mov edx, ecx
shr edx, 1
xor edx, 0xedb88320
mov ecx, edx
jmp 0x1000a2296
shr ecx, 1
cmp r8d, 7
jl 0x1000a2278
mov edx, eax
lea r9, [0x1002966f0]
mov dword [r9 + rdx*4], ecx
cmp eax, 0xff
jl 0x1000a2268
ret

Function at 0x1000a22c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, ecx
lea ecx, [r8d - 1]
test ecx, ecx
jl 0x1000a2310
mov r8d, 0xffffffff
nop word [rax + rax]
add r8d, 1
mov r9b, al
xor r9b, byte [rdx]
and r9d, 0xff
mov r10d, r9d
and r9d, r9d
mov r11d, eax
shr r11d, 8
lea rbx, [0x1002966f0]
xor r11d, dword [rbx + r9*4]
mov eax, r11d
add rdx, 1
cmp ecx, r8d
jg 0x1000a22d8
nop dword [rax]
pop rbx
ret
Function at 0x1000a4000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x28]
mov rbx, rcx
mov r14d, dword [rbx + 0x34]
nop dword [rax]
mov rax, rbx
mov edx, dword [rax + 0x48]
mov ecx, dword [rax + 0x8c]
sub edx, ecx
sub edx, dword [rax + 0x84]
mov esi, edx
test edx, edx
jne 0x1000a404f
mov rax, rbx
cmp dword [rax + 0x84], 0
jne 0x1000a404f
cmp dword [rax + 0x8c], 0
jne 0x1000a404f
mov esi, r14d
jmp 0x1000a4128
cmp esi, 0xffffffff
jne 0x1000a405f
sub esi, 1
jmp 0x1000a4128
mov ecx, dword [rbx + 0x84]
mov eax, r14d
lea rdx, [rax - 0x106]
add rax, rdx
cmp rcx, rax
jl 0x1000a4128
mov rdx, qword [rbx + 0x40]
mov eax, r14d
lea rcx, [rdx + rax]
mov rdx, qword [rbx + 0x40]
mov r8d, r14d
call fcn.100002d70
sub dword [rbx + 0x88], r14d
sub dword [rbx + 0x84], r14d
mov eax, r14d
sub dword [rbx + 0x74], eax
mov edi, dword [rbx + 0x64]
mov rdx, qword [rbx + 0x58]
mov eax, edi
lea r12, [rdx + rax*2]
nop dword [rax + rax]
sub r12, 2
movzx eax, word [r12]
mov r13d, eax
cmp r14d, r13d
ja 0x1000a40d8
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000a40df
mov word [r12], 0
sub edi, 1
jne 0x1000a40b8
mov edi, r14d
mov rdx, qword [rbx + 0x50]
mov eax, edi
lea r12, [rdx + rax*2]
nop dword [rax]
sub r12, 2
movzx eax, word [r12]
mov r13d, eax
cmp r14d, r13d
ja 0x1000a4118
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000a411f
mov word [r12], 0
sub edi, 1
jne 0x1000a40f8
add esi, r14d
nop
mov rax, qword [rbx]
cmp dword [rax + 8], 0
je 0x1000a41c8
nop dword [rax]
mov rax, rbx
mov rcx, qword [rax + 0x40]
mov edx, dword [rax + 0x84]
mov eax, dword [rax + 0x8c]
add rax, rdx
lea rdx, [rcx + rax]
mov rcx, qword [rbx]
mov r8d, esi
call fcn.1000a3bd0
mov edi, eax
add dword [rbx + 0x8c], edi
cmp dword [rbx + 0x8c], 3
jb 0x1000a41ac
mov rax, rbx
mov rdx, qword [rax + 0x40]
mov eax, dword [rax + 0x84]
movzx eax, byte [rdx + rax]
mov dword [rbx + 0x60], eax
mov rax, rbx
mov rcx, qword [rax + 0x40]
mov edx, dword [rax + 0x84]
movzx r9d, byte [rcx + rdx + 1]
mov edx, dword [rax + 0x70]
mov r8d, dword [rax + 0x60]
mov ecx, edx
shl r8d, cl
xor r9d, r8d
and r9d, dword [rax + 0x6c]
mov dword [rbx + 0x60], r9d
mov rax, rbx
cmp dword [rax + 0x8c], 0x106
jae 0x1000a41c8
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x1000a4018
nop
lea rsp, [rsp + 0x28]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret
Function at 0x1000c70e0
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x80]
mov qword [rbp - 8], rcx
mov rcx, qword [rbp - 8]
call fcn.100008e60
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x48], 0
nop
mov byte [rbp - 0xc], 0
cmp qword [rbp - 8], 0
je 0x1000c7114
jmp 0x1000c711c
jmp 0x1000c7221
mov rax, qword [rbp - 8]
mov rcx, rax
call fcn.1000c6b70
mov byte [rbp - 0x28], al
cmp byte [rbp - 0x28], 0
jne 0x1000c7133
jmp 0x1000c7155
mov rcx, qword [rbp - 8]
call fcn.1000c6c00
test al, al
jne 0x1000c7142
jmp 0x1000c7155
mov rcx, qword [rbp - 8]
mov dl, 1
call fcn.1000c6d60
mov byte [rbp - 0xc], al
jmp 0x1000c7221
cmp byte [rbp - 0x28], 0
jne 0x1000c715d
jmp 0x1000c7180
mov rdx, qword [rbp - 8]
mov r8, 1
mov ecx, 0x20
call fcn.10000a030
cmp rax, 0
jg 0x1000c717a
jmp 0x1000c7180
mov byte [rbp - 0x24], 1
jmp 0x1000c7184
mov byte [rbp - 0x24], 0
cmp byte [rbp - 0x24], 0
jne 0x1000c718c
jmp 0x1000c71c4
lea rax, [0x1001f79d8]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x38], rax
lea rax, [0x1001f79d8]
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 8]
mov r9d, 0
mov r8, 2
call fcn.100009280
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x48]
call fcn.10000d480
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x18]
call fcn.10000ba60
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r8, qword [rbp - 0x18]
test r8, r8
jne 0x1000c71ff
lea r8, [0x100294460]
mov r9, 0
mov rdx, 0
mov rcx, 0
call sub.shell32.dll_ShellExecuteW
cmp rax, 0x20
seta byte [rbp - 0xc]
nop
mov rcx, rbp
call fcn.1000c70b0
mov al, byte [rbp - 0xc]
nop
lea rsp, [rbp]
pop rbp
ret

Function at 0x1000c77f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor eax, eax
lea rdx, [rcx + 1]
movzx r8d, byte [rcx]
add r8d, 1
and r8d, 0xff
add rcx, r8
jmp 0x1000c782b
mov r8d, eax
shl r8d, 5
mov r9d, eax
sub r8d, r9d
movzx r9d, byte [rdx]
xor r8d, r9d
mov eax, r8d
add rdx, 1
cmp rcx, rdx
ja 0x1000c7810
ret
Function at 0x1000d5cf0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov rbx, rcx
cmp dword [rbx + 0x24], 0xca
jne 0x1000d5d2c
mov rcx, rbx
call fcn.1000da770
cmp byte [rbx + 0x50], 0
je 0x1000d5d24
mov dword [rbx + 0x24], 0xcf
mov dil, 1
jmp 0x1000d5def
mov dword [rbx + 0x24], 0xcb
nop
cmp dword [rbx + 0x24], 0xcb
jne 0x1000d5dca
mov rax, qword [rbx + 0x208]
cmp byte [rax + 0x20], 0
je 0x1000d5dbc
nop word [rax + rax]
cmp qword [rbx + 0x10], 0
je 0x1000d5d60
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov rcx, rbx
mov rax, qword [rbx + 0x208]
call qword [rax]
mov esi, eax
test eax, eax
jne 0x1000d5d7c
xor dil, dil
jmp 0x1000d5def
cmp esi, 2
je 0x1000d5dba
nop dword [rax]
cmp qword [rbx + 0x10], 0
je 0x1000d5d50
cmp esi, 3
je 0x1000d5d95
cmp esi, 1
jne 0x1000d5d50
mov rax, qword [rbx + 0x10]
add dword [rax + 8], 1
mov rax, qword [rbx + 0x10]
mov edx, dword [rax + 8]
cmp edx, dword [rax + 0xc]
jl 0x1000d5d50
mov rdx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x16c]
add dword [rdx + 0xc], eax
nop
jmp 0x1000d5d50
nop
mov eax, dword [rbx + 0x84]
mov dword [rbx + 0x8c], eax
jmp 0x1000d5de4
cmp dword [rbx + 0x24], 0xcc
je 0x1000d5de4
mov r8d, dword [rbx + 0x24]
mov rcx, rbx
mov edx, 0x14
call fcn.1000d61e0
mov rcx, rbx
call fcn.1000d5e00
mov dil, al
mov al, dil
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x1000ff1a0
Capabilities:
Read clipboard data

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x40]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rdx
mov byte [rbp - 0x14], 0
mov rax, qword [rbp - 0x10]
mov ecx, dword [rax - 0x10]
call sub.user32.dll_GetClipboardData
mov rdx, qword [rbp - 0x10]
mov qword [rdx - 0x30], rax
mov rax, qword [rbp - 0x10]
cmp qword [rax - 0x30], 0
jne 0x1000ff1d6
jmp 0x1000ff23c
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax - 0x30]
call sub.kernel32.dll_GlobalSize
mov rdx, qword [rbp - 0x10]
mov dword [rdx - 0x3c], eax
mov rax, qword [rbp - 0x10]
cmp dword [rax - 0x3c], 0
jg 0x1000ff1f6
jmp 0x1000ff23c
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax - 0x30]
call sub.kernel32.dll_GlobalLock
mov rdx, qword [rbp - 0x10]
mov qword [rdx - 0x38], rax
nop
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax - 0x38]
mov rax, qword [rbp - 0x10]
mov r8d, dword [rax - 0x3c]
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 8]
mov rax, qword [rax]
call qword [rax + 0x108]
nop
mov rcx, rbp
call fcn.1000ff170
mov byte [rbp - 0x14], 1
nop
mov al, byte [rbp - 0x14]
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x1000ffa60
Capabilities:
Write clipboard data

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xf0]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x18], rcx
mov dword [rbp - 8], edx
mov qword [rbp - 0x10], r8
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x38], 0
nop
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x10]
mov rdx, qword [rdx]
mov rcx, rax
call qword [rdx + 0xe0]
mov rdx, rax
mov ecx, 2
call sub.kernel32.dll_GlobalAlloc
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x1000ffabd
jmp 0x1000ffbb8
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
call qword [rax + 0xe0]
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x38]
call fcn.100077c80
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.100077ce0
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x40], rax
call fcn.100078490
mov rbx, rax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, str._DataSize
mov r8, qword [rbp - 0x40]
lea rdx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
mov rcx, rbx
call fcn.100079e10
mov rax, qword [rbp - 0x18]
mov byte [rax - 0x24], 0
jmp 0x1000ffc04
mov rcx, qword [rbp - 0x20]
call sub.kernel32.dll_GlobalLock
mov qword [rbp - 0x28], rax
nop
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
call qword [rax + 0xe0]
mov r8, rax
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
call qword [rax + 0x100]
nop
mov rcx, rbp
call fcn.1000ffa10
mov rdx, qword [rbp - 0x20]
mov ecx, dword [rbp - 8]
call sub.user32.dll_SetClipboardData
nop
mov rcx, rbp
call fcn.1000ffa30
mov rbx, qword [rbp - 0x50]
lea rsp, [rbp]
pop rbp
ret
Function at 0x140001000
Capabilities:
Enumerate threads
Resume thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
mov esi, ecx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400010a2
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140001099
mov qword [rsp + 0x60], rbx
nop
cmp dword [rsp + 0x2c], esi
jne 0x140001082
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x140001082
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140001050
mov rbx, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001240
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1400010c0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rbp - 0x10], rax
movdqa xmm0, xmmword [0x1400022b0]
xor eax, eax
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x20], 0x1c
mov byte [rbp - 0x1e], 1
nop dword [rax]
lea ecx, [rax + 0x4a]
xor byte [rbp + rax - 0x30], cl
inc rax
cmp rax, 0x11
jb 0x140001100
lea rdx, [rbp - 0x30]
mov byte [rbp - 0x1e], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov dword [rbp - 0x40], 0x2b292d3d
xor ecx, ecx
mov rdi, rax
mov dword [rbp - 0x3c], 0x37343c2f
mov dword [rbp - 0x38], 0x33332137
mov word [rbp - 0x34], pe_nt_image_headers64
lea eax, [rcx + 0x4a]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xc
jb 0x140001140
lea rdx, [rbp - 0x40]
mov byte [rbp - 0x33], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
test rdi, rdi
jne 0x140001176
test rax, rax
jne 0x140001190
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [rbp - 0x18]
call section..text
test rbx, rbx
je 0x1400011a5
lea rdx, [rbp - 0x14]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [rbp - 0x14]
call section..text
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400010e0

Function at 0x140001200
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xb], 0
je 0x140001223
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa
jb 0x140001210
mov byte [rcx + 0xb], 0
mov rax, rcx
ret
Function at 0x140001b1c
Capabilities:
Parse pe header

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