joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019ad8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
call fcn.140001bf0
xor r10d, r10d
test eax, eax
js 0x140019d05
mov ecx, dword [rbx + 0xf0]
mov eax, ecx
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x140019b62
lea rdx, [rbx + 8]
lea rdx, [rdx + r9*4]
lea r8, [rbx + 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov eax, dword [rdx - 8]
sub r9, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
lea r8, [r8 + 0x10]
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
lea rdx, [rdx - 0x10]
mov ecx, dword [r8 - 0xc]
mov dword [r8 - 0xc], eax
mov dword [rdx + 0x14], ecx
cmp r10, r9
jl 0x140019b13
mov ecx, dword [rbx + 0xf0]
mov r11d, 1
cmp ecx, r11d
jle 0x140019d03
lea r10, [rbx + 2]
lea rdi, [0x140000000]
lea r10, [r10 + 0x10]
inc r11d
mov r8d, dword [r10 - 2]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x5e9e0]
movzx eax, byte [r10 - 1]
mov r9d, dword [rdi + rdx*4 + 0x5e5e0]
movzx ecx, byte [rdi + rax*4 + 0x5e9e0]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x5dde0]
movzx ecx, byte [rdi + rax*4 + 0x5e9e0]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x5d9e0]
movzx ecx, byte [rdi + rax*4 + 0x5e9e0]
xor r9d, dword [rdi + rcx*4 + 0x5e1e0]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x5e9e0]
movzx eax, byte [r10 + 3]
mov r8d, dword [rdi + rdx*4 + 0x5e5e0]
movzx ecx, byte [rdi + rax*4 + 0x5e9e0]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x5dde0]
movzx ecx, byte [rdi + rax*4 + 0x5e9e0]
movzx eax, r9b
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x5e1e0]
movzx ecx, byte [rdi + rax*4 + 0x5e9e0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x5d9e0]
movzx edx, byte [rdi + rax*4 + 0x5e9e0]
movzx eax, byte [r10 + 7]
mov dword [r10 + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x5e5e0]
movzx ecx, byte [rdi + rax*4 + 0x5e9e0]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x5dde0]
movzx ecx, byte [rdi + rax*4 + 0x5e9e0]
movzx eax, r9b
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x5e1e0]
movzx ecx, byte [rdi + rax*4 + 0x5e9e0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x5d9e0]
movzx edx, byte [rdi + rax*4 + 0x5e9e0]
movzx eax, byte [r10 + 0xb]
mov dword [r10 + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x5e5e0]
movzx ecx, byte [rdi + rax*4 + 0x5e9e0]
movzx eax, byte [r10 + 0xc]
xor r8d, dword [rdi + rcx*4 + 0x5dde0]
movzx ecx, byte [rdi + rax*4 + 0x5e9e0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x5e1e0]
movzx ecx, byte [rdi + rax*4 + 0x5e9e0]
xor r8d, dword [rdi + rcx*4 + 0x5d9e0]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x140019b7c
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002015c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x1030]
mov eax, 0x1130
call fcn.14002a0e0
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1150], rbx
mov qword [rsp + 0x1158], rsi
mov rax, qword [0x140071080]
xor rax, rsp
mov qword [rbp + 0x1020], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x50]
call fcn.140023f08
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14001f9e8
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400201fd
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400201f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400203d2
call fcn.140029444
mov esi, 0x400
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x420]
call fcn.14002b4c0
xor r9d, r9d
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
sub rdx, r8
je 0x14002024a
lea rcx, [rbp + 0x420]
lea rax, [rbp + 0x420]
sub r8, rax
mov al, byte [r8 + rcx]
mov byte [rcx], al
inc r9d
inc rcx
movsxd rax, r9d
cmp rax, rdx
jb 0x140020236
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0xc20]
call fcn.14002b4c0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x820]
call fcn.14002b4c0
mov word [rbp + 0x40e], 0x3939
mov dword [rbp + 0x3f0], 0x37383843
mov dword [rbp + 0x3ff], 0x42324436
mov dword [rbp + 0x3f5], 0x44433234
mov word [rbp + 0x408], 0x4342
mov dword [rbp + 0x403], 0x42413436
mov word [rbp + 0x3fc], 0x3945
mov word [rbp + 0x3f9], 0x4132
mov byte [rbp + 0x410], 0
mov byte [rbp + 0x3fb], 0x37
mov byte [rbp + 0x3f4], 0x44
mov word [rbp + 0x40b], 0x3836
mov byte [rbp + 0x40a], 0x46
mov byte [rbp + 0x407], 0x43
mov byte [rbp + 0x3fe], 0x46
mov byte [rbp + 0x40d], 0x46
lea r8, [rbp + 0x3f0]
mov rdx, rsi
lea rcx, [rbp + 0x820]
call fcn.14002da64
lea rax, vtable.CRijndael.0
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x820]
lea rcx, [rsp + 0x70]
call fcn.140016398
mov r9, qword [rsp + 0x38]
sub r9, qword [rsp + 0x30]
lea r8, [rbp + 0xc20]
lea rdx, [rbp + 0x420]
lea rcx, [rsp + 0x70]
call fcn.140006a44
lea rdx, [rbp + 0xc30]
mov rcx, rbx
call fcn.140023f08
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400203a5
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400203a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400203cc
call fcn.140029444
mov rax, rbx
mov rcx, qword [rbp + 0x1020]
xor rcx, rsp
call fcn.140029420
lea r11, [rsp + 0x1130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14002d914
nop
call fcn.14002d914
nop
Function at 0x140036658
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400363bc
Function at 0x1400484b8
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
push rbp
push rdi
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140071080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rcx
xor ebx, ebx
lea rdx, [0x140064ed0]
lea rcx, [rbp + 0x1f]
call fcn.1400010e0
nop
movups xmm0, xmmword [rbp + 0x1f]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rbp + 0x2f]
movups xmmword [rbp + 0xf], xmm1
movdqa xmm0, xmmword [0x140066580]
movdqu xmmword [rbp + 0x2f], xmm0
mov byte [rbp + 0x1f], bl
lea r15d, [rbx + 1]
mov r9d, r15d
lea r8d, [rbx + 0x50]
lea rdx, [rbp - 1]
mov rcx, rsi
call fcn.1400493c8
nop
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x140048571
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004856c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048679
call fcn.140029444
cmp byte [rsi + 0x20], bl
je 0x140048645
lea rcx, [rbp + 0x1f]
call fcn.1400491ec
nop
cmp qword [rax + 0x18], 0x10
jb 0x14004858e
mov rax, qword [rax]
mov dword [rsp + 0x30], 0x4080000
lea r8, [0x140064f70]
mov rdx, rax
mov rcx, qword [rsi + 0x30]
call fcn.140008a84
mov rdi, rax
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x1400485e7
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400485e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048673
call fcn.140029444
movdqa xmm0, xmmword [0x140066580]
movdqu xmmword [rbp + 0x2f], xmm0
mov byte [rbp + 0x1f], bl
test rdi, rdi
je 0x14004863d
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400213a0
mov dword [rbp - 0x19], ebx
mov dword [rbp - 0x11], 4
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x19]
mov edx, 0x20000013
mov rcx, rdi
call fcn.140016b4c
movzx ebx, bl
cmp dword [rbp - 0x19], 0xc8
cmove ebx, r15d
mov rcx, rdi
call fcn.1400210a8
mov rcx, rsi
call fcn.14004938c
mov al, bl
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140029420
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
call fcn.14002d914
int3
call fcn.14002d914
int3
Function at 0x140001000
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rax, qword gs:[0x60]
mov rdi, rcx
xor esi, esi
mov rdx, qword [rax + 0x18]
mov rbx, qword [rdx + 0x20]
mov r8, rbx
mov rdx, qword [r8 + 0x40]
mov rcx, rsi
test rdx, rdx
je 0x140001053
jmp 0x140001049
cmp r9w, 0x5c
mov rax, rdx
cmovne rax, rcx
add rdx, 2
mov rcx, rax
movzx r9d, word [rdx]
test r9w, r9w
jne 0x140001036
lea r10, [rcx + 2]
cmp rdi, r10
je 0x1400010c1
mov r11, rdi
sub r11, r10
movzx ecx, word [r11 + r10]
movzx edx, word [r10]
lea r10, [r10 + 2]
lea eax, [rcx - 0x41]
cmp ax, 0x19
lea r9d, [rcx + 0x20]
lea eax, [rdx - 0x41]
cmova r9w, cx
cmp ax, 0x19
lea ecx, [rdx + 0x20]
cmova cx, dx
test r9w, r9w
je 0x140001099
cmp r9w, cx
je 0x140001062
cmp r9w, cx
mov eax, esi
seta al
or edx, 0xffffffff
cmp r9w, cx
cmovb eax, edx
test eax, eax
je 0x1400010c1
mov r8, qword [r8]
cmp r8, qword [rbx + 8]
jne 0x140001028
xor eax, eax
jmp 0x1400010c5
mov rax, qword [r8 + 0x20]
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x1400010d8
Capabilities:
Parse pe header

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 r14
sub rsp, 0xf0
mov eax, 0x5a4d
mov rsi, rdx
cmp word [rcx], ax
jne 0x140001211
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001211
movups xmm1, xmmword [rax + 0x28]
add rax, 0x18
lea r8, [rsp]
mov edx, 0x80
xor edi, edi
movups xmm0, xmmword [rax]
movups xmmword [r8], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r8 + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [r8 + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [r8 + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [r8 + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [r8 + 0x50], xmm1
movups xmmword [r8 + 0x60], xmm0
add r8, rdx
movups xmm0, xmmword [rax + 0x70]
add rax, rdx
movups xmmword [r8 - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [r8], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [r8 + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [r8 + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [r8 + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [r8 + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [r8 + 0x50], xmm0
movups xmmword [r8 + 0x60], xmm1
mov eax, dword [rsp + 0x70]
add rax, rcx
mov r11d, dword [rax + 0x20]
mov r14d, dword [rax + 0x1c]
add r11, rcx
mov ebx, dword [rax + 0x24]
add r14, rcx
mov ebp, dword [rax + 0x14]
add rbx, rcx
test ebp, ebp
je 0x140001211
movzx eax, word [rbx]
mov edx, dword [r11]
add rdx, rcx
mov r9d, dword [r14 + rax*4]
mov rax, rsi
add r9, rcx
sub rdx, rsi
movzx r8d, byte [rax]
movzx r10d, byte [rax + rdx]
sub r8d, r10d
jne 0x1400011fe
inc rax
test r10d, r10d
jne 0x1400011e8
test r8d, r8d
je 0x140001231
inc edi
add rbx, 2
add r11, 4
cmp edi, ebp
jb 0x1400011d2
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rax, r9
jmp 0x140001213
Function at 0x1400a51e0
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140128e20
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.140128570
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140128e62
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1400a7652
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x140128e71
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x1400a521c
Capabilities:
Query environment variable

Disassembly:
jmp 0x1401d1d7c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1401d1e66
mov rsi, rax
cmp word [rax], r14w
je 0x1401d1dcf
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1401d1db7
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1401d1db3
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x1401d1e66
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov rcx, rbp
lea edx, [r9 - 0x64]
call fcn.1400a7b11
mov rdi, rax
test rax, rax
je 0x1401d1e54
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1401d1e54
mov rsi, rdi
mov rdi, r14
jmp 0x1401d1e57
mov rsi, r14
mov edx, 2
mov rcx, rdi
call fcn.1400a641e
jmp 0x1401d1e69
mov rsi, r14
test rbx, rbx
je 0x1401d1e77
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400a5613
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140128dc0
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.140128530
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140128df8
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1400a7652
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x140128e02
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret
Function at 0x1400a6441
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401b06a0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1401af760
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401b06f7
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov r9d, dword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x1401b0719
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400a7832
mov r9d, dword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x38
ret

Function at 0x1400a67a2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14018f350
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140257090]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
jmp 0x14018f39b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x20
jge 0x14018f3c7
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x20
jae 0x14018f3b6
jmp 0x14018f3bb
call fcn.1400a66d0
mov rax, qword [rsp + 0x38]
mov byte [rsp + rax + 0x40], 0
jmp 0x14018f391
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
test eax, eax
je 0x14018f41c
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
movzx eax, byte [rsp + rax + 0x40]
or eax, ecx
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
sar ecx, 3
movsxd rcx, ecx
mov byte [rsp + rcx + 0x40], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x14018f3c7
mov dword [rsp + 0x20], 0
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x40]
or eax, 1
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x40], al
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
sar eax, 3
cdqe
movzx eax, byte [rsp + rax + 0x40]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
and eax, ecx
test eax, eax
jne 0x14018f487
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x14018f442
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a9b50
add rsp, 0x78
ret
Function at 0x1400a67c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1401ea480
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140257090]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x1401ea4cb
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x20
jge 0x1401ea4f7
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x20
jae 0x1401ea4e6
jmp 0x1401ea4eb
call fcn.1400a66d0
mov rax, qword [rsp + 0x38]
mov byte [rsp + rax + 0x40], 0
jmp 0x1401ea4c1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
test eax, eax
je 0x1401ea54c
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
movzx eax, byte [rsp + rax + 0x40]
or eax, ecx
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
sar ecx, 3
movsxd rcx, ecx
mov byte [rsp + rcx + 0x40], al
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x1401ea4f7
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
test eax, eax
je 0x1401ea59a
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
sar eax, 3
cdqe
movzx eax, byte [rsp + rax + 0x40]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
and eax, ecx
test eax, eax
je 0x1401ea58b
mov rax, qword [rsp + 0x28]
jmp 0x1401ea59c
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x1401ea54c
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a9b50
add rsp, 0x78
ret
Function at 0x1400a6e82
Capabilities:
Clear file content

Disassembly:
jmp 0x1401ec2d0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov r8d, 1
xor edx, edx
mov ecx, dword [rsp + 0x90]
call fcn.1400aaa00
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x1401ec30d
call fcn.1400a7c15
mov eax, dword [rax]
jmp 0x1401ec538
mov r8d, 2
xor edx, edx
mov ecx, dword [rsp + 0x90]
call fcn.1400aaa00
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x1401ec33a
call fcn.1400a7c15
mov eax, dword [rax]
jmp 0x1401ec538
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x98]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jle 0x1401ec49c
mov dword [rsp + 0x20], 0x35
lea r9, str.minkernelcrtsucrt_src_appcrtlowiochsize.cpp
mov r8d, 2
mov edx, 1
mov ecx, 0x1000
call fcn.1400a9088
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400a55b9
lea rcx, [rsp + 0x40]
call fcn.1400a92b8
movzx eax, al
test eax, eax
jne 0x1401ec3c9
call fcn.1400a7c15
mov dword [rax], 0xc
call fcn.1400a7c15
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x40]
call fcn.1400a6d42
mov eax, dword [rsp + 0x50]
jmp 0x1401ec538
mov edx, 0x8000
mov ecx, dword [rsp + 0x90]
call fcn.1400a6365
mov dword [rsp + 0x48], eax
cmp qword [rsp + 0x30], 0x1000
jl 0x1401ec3f3
mov dword [rsp + 0x3c], 0x1000
jmp 0x1401ec3fb
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x40]
call fcn.1400a96aa
mov r8d, dword [rsp + 0x54]
mov rdx, rax
mov ecx, dword [rsp + 0x90]
call fcn.1400a7080
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xffffffff
jne 0x1401ec45f
call fcn.1400a9cf4
cmp dword [rax], 5
jne 0x1401ec441
call fcn.1400a7c15
mov dword [rax], 0xd
call fcn.1400a7c15
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x40]
call fcn.1400a6d42
mov eax, dword [rsp + 0x4c]
jmp 0x1401ec538
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jg 0x1401ec3de
mov edx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x90]
call fcn.1400a6365
lea rcx, [rsp + 0x40]
call fcn.1400a6d42
jmp 0x1401ec513
cmp qword [rsp + 0x30], 0
jge 0x1401ec513
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x90]
call fcn.1400aaa00
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x1401ec4d1
call fcn.1400a7c15
mov eax, dword [rax]
jmp 0x1401ec538
mov ecx, dword [rsp + 0x90]
call fcn.1400a6ee1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401ec513
call fcn.1400a7c15
mov dword [rax], 0xd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
call fcn.1400a9cf4
mov ecx, dword [rsp + 0x58]
mov dword [rax], ecx
call fcn.1400a7c15
mov eax, dword [rax]
jmp 0x1401ec538
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x90]
call fcn.1400aaa00
cmp rax, 0xffffffffffffffff
jne 0x1401ec536
call fcn.1400a7c15
mov eax, dword [rax]
jmp 0x1401ec538
xor eax, eax
add rsp, 0x88
ret
Function at 0x1400a734b
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401c1b80
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x1400a735f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1401d305c
jmp fcn.1400a7c38