joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020024
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000f250
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400200ae
cmp byte [rbp - 0x21], r15b
je 0x1400200a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400200e4
call fcn.140015284
test eax, eax
jne 0x1400200d0
cmp byte [rbp - 0x21], r15b
je 0x1400200c8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400200e4
cmp byte [rbp - 0x21], r15b
je 0x1400200e1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000f3d8
test eax, eax
jne 0x140020184
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000f250
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140020123
cmp byte [rbp - 0x21], r15b
je 0x140020158
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140020158
call fcn.140015284
test eax, eax
jne 0x140020144
cmp byte [rbp - 0x21], r15b
je 0x14002013d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140020158
cmp byte [rbp - 0x21], r15b
je 0x140020155
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000f3d8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140020184
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140020187
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140020195
mov rcx, rdi
call fcn.140014958
cmp byte [rbp + 0x3f], r15b
je 0x1400201a4
mov rcx, qword [rbp + 0x27]
call fcn.140014958
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400207f0
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.140016e7c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140016e7c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140020940
cmp rax, 0xffffffffffffffff
je 0x140020940
xor edi, edi
test rbp, rbp
jle 0x1400208eb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140014f44
mov rbx, rax
test rax, rax
jne 0x140020878
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400208e1
mov edx, 0x8000
mov ecx, r14d
call fcn.140010be4
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.140014650
cmp eax, 0xffffffff
je 0x1400208c1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140020888
mov edx, r15d
mov ecx, r14d
call fcn.140010be4
jmp 0x1400208e1
cmp byte [rsi + 0x38], dil
je 0x1400208d8
cmp dword [rsi + 0x34], 5
jne 0x1400208d8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400208e1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140014958
jmp 0x140020954
jns 0x140020954
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140016e7c
cmp rax, 0xffffffffffffffff
jne 0x14002090c
cmp byte [rsi + 0x30], dil
je 0x140020954
mov edi, dword [rsi + 0x2c]
jmp 0x140020954
mov ecx, r14d
call fcn.14001b710
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140020954
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 0x140020954
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002094d
mov eax, dword [rsi + 0x2c]
jmp 0x140020952
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140016e7c
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 0x140021810
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140021838
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140021838
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180002a60
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov rax, qword gs:[0x60]
mov r10, qword [rax + 0x18]
add r10, 0x10
mov eax, dword [0x180020a8c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a90], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a70]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a6c], 0xa
setl r9b
or r9b, al
mov eax, dword [0x180020a94]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a98], 0xa
setl r14b
or r14b, al
lea rax, [rcx - 1]
mov r15, r10
test r8b, r8b
je 0x180002b90
mov r15, qword [r15]
cmp r15, r10
je 0x180002bb2
mov rdi, rax
test r9b, r9b
je 0x180002ba0
nop word cs:[rax + rax]
nop
cmp byte [rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x180002b10
test r14b, r14b
je 0x180002bb0
sub rdi, rcx
je 0x180002b78
mov r12, qword [r15 + 0x60]
xor edx, edx
nop
movzx esi, word [r12 + rdx*2]
lea ebx, [rsi - 0x41]
lea ebp, [rsi + 0x20]
cmp bx, 0x1a
cmovae ebp, esi
movsx ebx, byte [rcx + rdx]
lea r13d, [rbx - 0x41]
lea r11d, [rbx + 0x20]
cmp r13b, 0x1a
cmovae r11d, ebx
sub ebp, r11d
test esi, esi
je 0x180002b70
test ebp, ebp
jne 0x180002b70
add rdx, 1
cmp rdi, rdx
jne 0x180002b30
jmp 0x180002b78
test ebp, ebp
jne 0x180002ae4
mov rax, qword [r15 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002b90
jmp 0x180002ba0
jmp 0x180002bb0
xor eax, eax
jmp 0x180002b7c
Function at 0x140c27058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140c271df
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 0x140c27089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c2706f
add dl, dl
jne 0x140c27096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c270f6
xor eax, eax
add dl, dl
jne 0x140c270a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c271ad
add dl, dl
jne 0x140c270b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c270c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c270d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c270dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c270ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c2707e
mov eax, 1
add dl, dl
jne 0x140c27106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c27113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c270fb
sub eax, ebx
mov ebx, 1
jne 0x140c2714c
mov ecx, 1
add dl, dl
jne 0x140c2712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c2713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c27123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c2707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c27168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c27175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c2715d
cmp eax, 0x7d00
jae 0x140c2719b
cmp eax, 0x500
jb 0x140c27196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c2707e
cmp eax, 0x7f
ja 0x140c2719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c2707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c271d2
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 0x140c2707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001b50
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rcx
mov rbp, qword [rcx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rbp
cmp rax, 0x2b
jb 0x140001d9c
cmp qword [rsi + 0x18], 0xf
jbe 0x140001b9c
mov rsi, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea r14, [rbp + 0x2b]
mov ebx, 0xf
lea rdi, [rsp + 0x20]
cmp r14, rbx
jbe 0x140001c3a
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001bfc
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140003b50
test rax, rax
je 0x140001d0f
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001c35
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140001c15
xor edi, edi
jmp 0x140001c35
cmp rcx, 0x1000
jb 0x140001c2d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001da2
jmp 0x140001bdd
call fcn.140003b50
mov rdi, rax
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rbx
movups xmm0, xmmword [str.netsh_advfirewall_firewall_show_rule_name_]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x140005728]
movups xmmword [rdi + 0x10], xmm1
movsd xmm0, qword [0x140005738]
movsd qword [rdi + 0x20], xmm0
movzx eax, word [0x140005740]
mov word [rdi + 0x28], ax
movzx eax, byte [0x140005742]
mov byte [rdi + 0x2a], al
lea rcx, [rdi + 0x2b]
mov r8, rbp
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov r8d, 0xb
lea rdx, str.___nul_2_1
lea rcx, [rsp + 0x20]
call fcn.140001230
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140001d1b
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003b8c
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140001d77
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d72
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003b8c
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140003b30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400011b0
int3
call fcn.140001110
int3
Function at 0x1400044b8
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c5c7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c5c71
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c5c71
mov rax, qword [rbp - 8]
jmp 0x2fc4c5c8f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c5c44
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140014fe0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011271
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012cf0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012d10
xor al, al
jmp 0x140012d91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012d23
xor al, al
jmp 0x140012d91
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140012d4d
xor al, al
jmp 0x140012d91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012d61
xor al, al
jmp 0x140012d91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012d73
xor al, al
jmp 0x140012d91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012d8f
xor al, al
jmp 0x140012d91
mov al, 1
add rsp, 0x38
ret
Function at 0x140011172
Capabilities:
Create thread

Disassembly:
jmp 0x140015090
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x1400290c0]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14002f107]
call fcn.140011753
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140011226
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.1400113b1
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.140011195
nop
lea rcx, [rbp + 0x108]
call fcn.140011307
nop
lea rax, [0x14001150a]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.140011528
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140015193
lea rcx, [rbp + 8]
call fcn.14001132a
nop
jmp 0x1400151ac
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1400111a9
nop
lea rcx, [rbp + 8]
call fcn.140011307
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140024920]
call fcn.140011645
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.140011393
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x14001141a
Capabilities:
Terminate process

Disassembly:
jmp 0x14001cd90
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14001152d
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
jmp 0x140019990
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400290c0]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x14002f113]
call fcn.140011753
nop
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
lea rax, [0x1400117df]
mov qword [rbp + 0x18], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x28], rax
lea rax, str.MainWindow
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_RegisterClassW]
nop
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea r9, str.https:__t.me_Don4ik_Scripts
lea r8, str.opera.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea r9, str.https:__t.me_Don4ik_Scripts
lea r8, str.firefox.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, str._c_start_https:__t.me_Don4ik_Scripts
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x12c
mov dword [rsp + 0x30], 0x159
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, str.FREE_DON4IK_STIKER_CATCHING
lea rdx, str.MainWindow
mov ecx, 8
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbp + 0x78], rax
mov edx, 9
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
nop
lea rax, [rbp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x98]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140019b6f
lea rcx, [rbp + 0x98]
call qword [sym.imp.USER32.dll_TranslateMessage]
nop
lea rcx, [rbp + 0x98]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop
jmp 0x140019b38
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x1400242b0]
call fcn.140011645
mov eax, edi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.140011393
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x140011541
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001bc20
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001bc40
xor al, al
jmp 0x14001bcc1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001bc53
xor al, al
jmp 0x14001bcc1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001bc7d
xor al, al
jmp 0x14001bcc1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001bc91
xor al, al
jmp 0x14001bcc1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001bca3
xor al, al
jmp 0x14001bcc1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001bcbf
xor al, al
jmp 0x14001bcc1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001af20
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001179e
movzx eax, al
test eax, eax
jne 0x14001af40
mov ecx, 7
call fcn.140011654
nop
mov byte [rsp + 0x20], 0
call fcn.140011686
mov byte [rsp + 0x21], al
cmp dword [0x140029610], 1
jne 0x14001af64
mov ecx, 7
call fcn.140011654
nop
jmp 0x14001afbc
cmp dword [0x140029610], 0
jne 0x14001afb7
mov dword [0x140029610], 1
lea rdx, [0x140023790]
lea rcx, [0x140023460]
call fcn.14001137a
test eax, eax
je 0x14001af98
mov eax, 0xff
jmp 0x14001b0c1
lea rdx, [0x140023350]
lea rcx, [section..rdata]
call fcn.14001166d
mov dword [0x140029610], 2
jmp 0x14001afbc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001163b
call fcn.14001157d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001b019
mov rcx, qword [rsp + 0x30]
call fcn.1400112cb
movzx eax, al
test eax, eax
je 0x14001b019
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140030020]
nop
call fcn.1400115cd
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001b04d
mov rcx, qword [rsp + 0x38]
call fcn.1400112cb
movzx eax, al
test eax, eax
je 0x14001b04d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001171c
nop
call fcn.14001b130
mov dword [rsp + 0x28], eax
call fcn.140011541
movzx eax, al
test eax, eax
jne 0x14001b06c
mov ecx, dword [rsp + 0x28]
call fcn.14001108c
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001b07b
call fcn.140011730
nop
xor edx, edx
mov cl, 1
call fcn.1400112a8
mov eax, dword [rsp + 0x28]
jmp 0x14001b0c1
add rsp, 0x68
ret
Function at 0x14001537c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400153fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400153f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400153f1
mov rax, qword [rbp - 8]
jmp 0x14001540f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400153c4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62