joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008ff00
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, [0x140147000]
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 0x14008ff57
cmp word [rdx], r13w
jne 0x14008ff57
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14008ff5c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140090081
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400900a2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14008ff95
mov rdx, r9
mov word [rbx], cx
jmp 0x14008ffbc
cmp r9, r8
jae 0x14008ffcc
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 0x14008ff76
jmp 0x140090081
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 0x140090076
cmp dword [rsp + 0x80], esi
je 0x140090076
lea r8, [0x140147000]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14009004e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14009001e
mov word [rbx], r13w
jmp 0x14009007e
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 0x14009002b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14009007e
cmp word [rsp + 0x70], r13w
jne 0x14009005b
cmp rbx, r14
je 0x140090018
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14009f888
cmp word [rsp + 0x70], r13w
je 0x140090081
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, [0x140147000]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14009007b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140090081
Function at 0x140098360
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140098388
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140098388
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400a2438
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.14009bf84
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 0x1400a24d9
cmp ebx, dword [rsp + 0x30]
je 0x1400a24d2
test esi, esi
je 0x1400a24d2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400a24ad
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400a24ba
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400a2497
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400a24be
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400a24db
mov eax, 1
jmp 0x1400a24db
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a3500
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400a3530
xor eax, eax
jmp 0x1400a35f3
mov rbp, rbx
cmp word [rax], si
je 0x1400a3555
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400a353c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400a3538
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400a3420
movsxd r14, eax
test eax, eax
jne 0x1400a3593
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400a3529
mov rcx, r14
call fcn.14003db90
mov rdi, rax
test rax, rax
jne 0x1400a35ac
xor ecx, ecx
call fcn.14003d9e0
jmp 0x1400a3588
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400a3420
test eax, eax
jne 0x1400a35dd
mov rcx, rdi
call fcn.14003d9e0
jmp 0x1400a35e7
xor ecx, ecx
call fcn.14003d9e0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400a3610
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 0x1400a3697
mov rsi, rbx
cmp word [rax], bp
je 0x1400a3656
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400a3640
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400a363c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003db90
mov rdi, rax
test rax, rax
je 0x1400a3684
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400ae260
mov rbp, rdi
xor ecx, ecx
call fcn.14003d9e0
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 0x1400a6134
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400a614a
mov al, 1
jmp 0x1400a61aa
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400a615b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400a61a8
mov ecx, dword [rcx + 0x18]
nop
call fcn.14008e2bc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400a61a8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400a61a8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400a61a8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400a61aa
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400aa928
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.14008523c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400aa9b2
cmp byte [rbp - 0x21], r15b
je 0x1400aa9ad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400aa9e8
call fcn.14009c754
test eax, eax
jne 0x1400aa9d4
cmp byte [rbp - 0x21], r15b
je 0x1400aa9cc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400aa9e8
cmp byte [rbp - 0x21], r15b
je 0x1400aa9e5
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.14008a84c
test eax, eax
jne 0x1400aaa88
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14008523c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400aaa27
cmp byte [rbp - 0x21], r15b
je 0x1400aaa5c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400aaa5c
call fcn.14009c754
test eax, eax
jne 0x1400aaa48
cmp byte [rbp - 0x21], r15b
je 0x1400aaa41
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400aaa5c
cmp byte [rbp - 0x21], r15b
je 0x1400aaa59
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.14008a84c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400aaa88
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400aaa8b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400aaa99
mov rcx, rdi
call fcn.14003d9e0
cmp byte [rbp + 0x3f], r15b
je 0x1400aaaa8
mov rcx, qword [rbp + 0x27]
call fcn.14003d9e0
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 0x1400b05f0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x258
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov sil, 1
cmp qword [0x1401491b8], 0
je 0x1400b0634
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140079050
mov eax, esi
add rsp, 0x258
pop rdi
pop rsi
ret
mov rcx, qword [0x1401491c0]
test rcx, rcx
je 0x1400b06d2
test byte [0x140139160], 1
je 0x1400b0618
cmp byte [rcx + 0x17], 0
jns 0x1400b0656
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401491b8], rax
inc rax
cmp rax, 1
ja 0x1400b0618
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400ae900
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1400b07b2
xor esi, esi
jmp 0x1400b0618
mov ecx, 0x18
call fcn.140077cc4
mov rsi, rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400ae900
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x14010db00]
movups xmmword [rsi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rax
mov rcx, rsi
mov rdx, rdi
call fcn.140025308
movsx rcx, byte [rsi + 0x17]
test rcx, rcx
mov rax, qword [rsi]
mov r8, qword [rsi + 8]
mov r9, rcx
cmovs r9, r8
mov r10, rsi
cmovs r10, rax
test r9, r9
jne 0x1400b076f
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rsi
call fcn.14002fefe
mov qword [0x1401491c0], 0
jmp 0x1400b06cb
add r9, r9
test r9, r9
je 0x1400b074a
lea rdx, [r9 - 2]
cmp word [r10 + r9 - 2], 0x5c
mov r9, rdx
jne 0x1400b0772
cmp rdx, 0xfffffffffffffffe
je 0x1400b074a
sar rdx, 1
lea r9, [rdx + 1]
test cl, cl
jns 0x1400b0888
cmp r8, rdx
jbe 0x1400b08b0
mov qword [rsi + 8], r9
mov word [rax + rdx*2 + 2], 0
jmp 0x1400b074a
mov rcx, qword [0x1401491c0]
lea rdx, [rsp + 0x40]
call fcn.140055b22
mov rcx, qword [0x1401491c0]
movsx rax, byte [rcx + 0x17]
test rax, rax
jns 0x1400b087c
mov rax, qword [rcx + 8]
test rax, rax
je 0x1400b089d
mov rdx, qword [rcx]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400b0809
lea rdx, [0x140113b5a]
mov r8d, 1
call fcn.14002fefe
mov rcx, qword [0x1401491c0]
lea rdx, str.debug.log
mov r8d, 9
call fcn.14002fefe
mov rcx, qword [0x1401491c0]
cmp byte [rcx + 0x17], 0
jns 0x1400b082b
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401491b8], rax
inc rax
cmp rax, 1
ja 0x1400b0618
mov qword [0x1401491b8], 0
jmp 0x1400b06cb
test al, al
je 0x1400b089d
mov rdx, rcx
jmp 0x1400b07e8
cmp rdx, rcx
jae 0x1400b08b0
and r9b, 0x7f
mov byte [rsi + 0x17], r9b
mov rax, rsi
jmp 0x1400b07a9
lea rcx, [0x140110299]
lea rdx, str....._third_partylibc_srcinclude_string:1339:_assertion__empty___failed:_string::back__:_string_is_empty_n
call fcn.1400bde54
mov rcx, rsi
call fcn.1400bd97e
int3
Function at 0x1400b80b0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x1400b8127
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x140139dc0], rax
jne 0x1400b812a
mov rsi, rcx
call fcn.14004aab0
mov edx, 0x570
mov rcx, rax
xor r8d, r8d
call fcn.14001c4e0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.14006ecb0
mov ecx, dword [0x14014a5fc]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1401460a0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x140], rdi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
int3
int3
Function at 0x1400c0325
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x20
mov word [rsp + 0x1a], dx
mov qword [rsp + 0x10], rcx
movzx eax, word [rsp + 0x1a]
mov ecx, 2
cdq
idiv ecx
mov word [rsp + 0x1a], ax
cmp qword [rsp + 0x10], 0
jne 0x1400c035e
mov dword [rsp + 0x1c], 0
jmp 0x1400c03e0
mov dword [rsp + 0xc], 0x7a3f1b2e
mov word [rsp + 6], 0
movzx eax, word [rsp + 6]
movzx ecx, word [rsp + 0x1a]
cmp eax, ecx
jge 0x1400c03d8
mov rax, qword [rsp + 0x10]
movzx ecx, word [rsp + 6]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 0x41
jl 0x1400c03b2
cmp dword [rsp + 8], 0x5a
jg 0x1400c03b2
mov eax, dword [rsp + 8]
add eax, 0x20
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0xc]
shl eax, 5
add eax, dword [rsp + 0xc]
xor eax, dword [rsp + 8]
mov dword [rsp + 0xc], eax
mov ax, word [rsp + 6]
add ax, 1
mov word [rsp + 6], ax
jmp 0x1400c036d
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 0x1c]
add rsp, 0x20
ret

Function at 0x1400c0465
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x78
mov dword [rsp + 0x6c], edx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 0x88]
add rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x1c]
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x38], rax
mov word [rsp + 0x36], 0
movzx eax, word [rsp + 0x36]
mov rcx, qword [rsp + 0x50]
cmp eax, dword [rcx + 0x18]
jae 0x1400c0585
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
movzx edx, word [rsp + 0x36]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
movzx r8d, word [rsp + 0x36]
movzx edx, word [rdx + r8*2]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x28]
call fcn.1400c03f5
cmp eax, dword [rsp + 0x6c]
jne 0x1400c056d
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
jmp 0x1400c058e
jmp 0x1400c0572
mov ax, word [rsp + 0x36]
add ax, 1
mov word [rsp + 0x36], ax
jmp 0x1400c04f8
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
add rsp, 0x78
ret
Function at 0x1400c05a5
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
sub rsp, 0x58
mov dword [rsp + 0x4c], ecx
mov rax, qword gs:[0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
add rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
cmp rax, qword [rsp + 0x28]
je 0x1400c064a
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov dx, word [rax + 0x58]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x60]
call fcn.1400c0325
cmp eax, dword [rsp + 0x4c]
jne 0x1400c0633
cmp dword [rsp + 0x4c], 0
je 0x1400c0633
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x50], rax
jmp 0x1400c0653
jmp 0x1400c0638
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x1400c05da
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
add rsp, 0x58
ret
Function at 0x1400c2ab5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0xa0], rcx
mov rax, qword gs:[0x60]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 0x108
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
movzx ecx, word [rcx + 6]
cmp rax, rcx
ja 0x1400c2bf2
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x2f0]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
mov r8d, 8
call rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
movzx ecx, word [rcx + 6]
sub ecx, 1
movsxd rcx, ecx
cmp rax, rcx
jne 0x1400c2bd1
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0xc]
add rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x58], rax
jmp 0x1400c2bf2
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
add rax, 1
mov qword [rsp + 0x50], rax
jmp 0x1400c2b52
mov byte [rsp + 0x3a], 0x89
mov byte [rsp + 0x3b], 0x50
mov byte [rsp + 0x3c], 0x4e
mov byte [rsp + 0x3d], 0x47
mov byte [rsp + 0x3e], 0xd
mov byte [rsp + 0x3f], 0xa
mov byte [rsp + 0x40], 0x1a
mov byte [rsp + 0x41], 0xa
mov byte [rsp + 0x42], 0x47
mov byte [rsp + 0x43], 0x49
mov byte [rsp + 0x44], 0x46
mov byte [rsp + 0x45], 0x38
mov byte [rsp + 0x46], 0x37
mov byte [rsp + 0x47], 0x61
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
sub rcx, 0xe
cmp rax, rcx
ja 0x1400c2cb7
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x2f8]
lea rdx, [rsp + 0x3a]
mov rcx, qword [rsp + 0x60]
add rcx, qword [rsp + 0x28]
mov r8d, 0xe
call rax
cmp eax, 0
jne 0x1400c2c9f
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
jmp 0x1400c2cb7
jmp 0x1400c2ca4
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
jmp 0x1400c2c4a
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
add rcx, 0xe
sub rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x308]
mov rcx, qword [rsp + 0x20]
shl rcx, 0
call rax
mov rcx, rax
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x2f0]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
add rcx, 0xe
add rdx, rcx
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x40]
call rax
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x48], rcx
add rsp, 0xa8
ret
Function at 0x1400ccde0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400ccf2e
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x1400ccf91
mov edi, dword [rsi + 0x5c]
test bl, bl
je 0x1400ccf6a
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140079050
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edi, 0xffffffff
jmp 0x1400ccf6a
cmp byte [rsi + 0x61], 0
je 0x1400ccfc7
mov rcx, qword [rsi + 0x40]
call fcn.140095c00
cmp eax, 0xffffffff
je 0x1400ccf8a
test bl, bl
je 0x1400ccfb1
movzx edi, al
mov dword [rsi + 0x5c], edi
jmp 0x1400ccf6a
mov rdx, qword [rsi + 0x40]
movzx edi, al
mov ecx, edi
call fcn.140097848
cmp eax, 0xffffffff
cmove edi, eax
jmp 0x1400ccf6a
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], rdi
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov r15d, 1
cmovge r15d, eax
xor r14d, r14d
mov rcx, qword [rsi + 0x40]
call fcn.140095c00
cmp eax, 0xffffffff
je 0x1400ccf8a
mov byte [rsp + r14 + 0x58], al
inc r14
cmp r15, r14
jne 0x1400ccfe9
lea rax, [rsp + 0x58]
mov byte [rax - 1], 0xaa
lea rax, [rsp + 0x48]
mov qword [rax], rdi
lea rbp, [rsp + 0x40]
mov qword [rbp], rdi
mov edi, 0xffffffff
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r14d, dword [rdx]
movzx r12d, word [rdx + 4]
movzx r13d, word [rdx + 6]
lea r9, [rsp + r15 + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x57]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x58]
call qword [0x14012a4d0]
cmp eax, 1
jne 0x1400cd0b1
mov rax, qword [rsi + 0x50]
mov dword [rax], r14d
mov word [rax + 4], r12w
mov word [rax + 6], r13w
cmp r15d, 8
je 0x1400ccf6a
mov rcx, qword [rsi + 0x40]
call fcn.140095c00
cmp eax, 0xffffffff
je 0x1400ccf6a
mov byte [rsp + r15 + 0x58], al
inc r15
jmp 0x1400cd023
cmp eax, 2
je 0x1400ccf6a
cmp eax, 3
jne 0x1400cd0c7
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test bl, bl
je 0x1400cd0df
movzx edi, byte [rsp + 0x57]
jmp 0x1400ccfac
movzx edi, byte [rsp + 0x57]
jmp 0x1400ccf6a
test r15, r15
jle 0x1400cd0d5
mov rdx, qword [rsi + 0x40]
movzx ecx, byte [rsp + r15 + 0x57]
dec r15
call fcn.140097848
cmp eax, 0xffffffff
jne 0x1400cd0df
jmp 0x1400ccf6a

Function at 0x1400cd9d0
Capabilities:
Encode data using xor

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

Function at 0x1400cda80
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400cdab8
movabs rcx, 0xf000000000000000
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x1400cda91
ret