joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4cbffc
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 0x2fc4cc07a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cc071
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 0x2fc4cc071
mov rax, qword [rbp - 8]
jmp 0x2fc4cc08f
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 0x2fc4cc044
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400089b0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400087ac
Function at 0x14000e780
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 0x14000e7b0
xor eax, eax
jmp 0x14000e873
mov rbp, rbx
cmp word [rax], si
je 0x14000e7d5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000e7bc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000e7b8
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.14000e6a0
movsxd r14, eax
test eax, eax
jne 0x14000e813
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000e7a9
mov rcx, r14
call fcn.14000b788
mov rdi, rax
test rax, rax
jne 0x14000e82c
xor ecx, ecx
call fcn.140009944
jmp 0x14000e808
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.14000e6a0
test eax, eax
jne 0x14000e85d
mov rcx, rdi
call fcn.140009944
jmp 0x14000e867
xor ecx, ecx
call fcn.140009944
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 0x140011d20
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140011d36
mov al, 1
jmp 0x140011d96
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140011d47
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140011d94
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000f2a0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140011d94
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140011d94
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140011d94
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140011d96
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140014a10
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.14000d770
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140014a9a
cmp byte [rbp - 0x21], r15b
je 0x140014a95
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140014ad0
call fcn.140009b94
test eax, eax
jne 0x140014abc
cmp byte [rbp - 0x21], r15b
je 0x140014ab4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140014ad0
cmp byte [rbp - 0x21], r15b
je 0x140014acd
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.14000cd50
test eax, eax
jne 0x140014b70
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000d770
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140014b0f
cmp byte [rbp - 0x21], r15b
je 0x140014b44
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140014b44
call fcn.140009b94
test eax, eax
jne 0x140014b30
cmp byte [rbp - 0x21], r15b
je 0x140014b29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140014b44
cmp byte [rbp - 0x21], r15b
je 0x140014b41
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.14000cd50
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140014b70
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140014b73
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140014b81
mov rcx, rdi
call fcn.140009944
cmp byte [rbp + 0x3f], r15b
je 0x140014b90
mov rcx, qword [rbp + 0x27]
call fcn.140009944
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 0x140014fb0
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, [0x140025940]
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 0x140015007
cmp word [rdx], r13w
jne 0x140015007
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001500c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140015131
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140015152
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140015045
mov rdx, r9
mov word [rbx], cx
jmp 0x14001506c
cmp r9, r8
jae 0x14001507c
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 0x140015026
jmp 0x140015131
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 0x140015126
cmp dword [rsp + 0x80], esi
je 0x140015126
lea r8, [0x140025940]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400150fe
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400150ce
mov word [rbx], r13w
jmp 0x14001512e
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 0x1400150db
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001512e
cmp word [rsp + 0x70], r13w
jne 0x14001510b
cmp rbx, r14
je 0x1400150c8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140014ed0
cmp word [rsp + 0x70], r13w
je 0x140015131
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, [0x140025940]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001512b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140015131
Function at 0x140015920
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.140014ed0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140014ed0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140015a70
cmp rax, 0xffffffffffffffff
je 0x140015a70
xor edi, edi
test rbp, rbp
jle 0x140015a1b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400098cc
mov rbx, rax
test rax, rax
jne 0x1400159a8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140015a11
mov edx, 0x8000
mov ecx, r14d
call fcn.140008a2c
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.140010c38
cmp eax, 0xffffffff
je 0x1400159f1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400159b8
mov edx, r15d
mov ecx, r14d
call fcn.140008a2c
jmp 0x140015a11
cmp byte [rsi + 0x38], dil
je 0x140015a08
cmp dword [rsi + 0x34], 5
jne 0x140015a08
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140015a11
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140009944
jmp 0x140015a84
jns 0x140015a84
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140014ed0
cmp rax, 0xffffffffffffffff
jne 0x140015a3c
cmp byte [rsi + 0x30], dil
je 0x140015a84
mov edi, dword [rsi + 0x2c]
jmp 0x140015a84
mov ecx, r14d
call fcn.14000f2a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140015a84
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 0x140015a84
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140015a7d
mov eax, dword [rsi + 0x2c]
jmp 0x140015a82
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140014ed0
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 0x140c083d8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140c083e2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140c0840b
pop rbp
sub rbp, 0x33
sub rbp, 0xc083d8
sub rsp, 0x20
jmp 0x140c0842a
mov rax, 0xc083d8
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0xffffffffce769eb1
xor byte [rax], dl
inc rax
dec rcx
jne 0x140c08449
jmp 0x140c08460
stc
cmp byte [rax + 0x3a], bl
cmp byte [rbp - 0x64e4e4f], cl
xor byte [rax - 0x47], dh
mov al, 0xb1
mov cl, 0xf9
mov al, 0x58
stc
jbe 0x140c084e7
mov eax, 0xf9b1b1b1
jbe 0x140c084f0
cdq
mov cl, 0xb1
mov cl, 0xf9
push rbx
stc
mov al, 0x70
cmp dh, byte [rax]
mov ebp, 0xf9b1b1b1
mov cl, 0xb1
stc
mov al, 0x59
loope 0x140c08473
stc
or dword [rcx - 0x4e4e5819], ebp
mov cl, 0xb1
mov cl, 0xf9
or byte [rsi], cl
pushfq
sbb esi, dword [rcx - 0x4e4e4e4f]
stc
mov al, 0x58
stc
or edx, dword [rbp - 0x73]
and cl, byte [rcx + rsi*4 - 0x4f]
mov cl, 0xb1
pop rcx
mov ah, 0xb1
mov cl, 0xb1
pop rax
cmpsd dword [rsi], dword [rdi]
mov cl, 0xb1
mov cl, 0x70
pop rcx
jo 0x140c08518
mov bl, 0x80
movabs al, byte [0xf9b1b1b1b57030f9]
jns 0x140c0848b
xor al, 0x5f
jb 0x140c084bd
jmp 0x140c084b9
mov cl, 0xb1
mov cl, 0xb1
stc
mov al, 0x58
pop rcx
mov ah, 0xb1
mov cl, 0xb1
pop rax
mov cl, 0xb1
mov cl, 0x58
cmp al, 0xb3
mov cl, 0xb1
jrcxz 0x140c08553
int3
mov cl, 0xb1
mov cl, 0xd7
cmp ch, byte [rbp + 0x594a3188]
mov esi, 0xb1b1ad35
mov cl, 0x31
pop rax
mov esi, 0xb1b1a235
mov cl, 0xd7
xor byte [rdx + 0x4e], cl
xchg esp, eax
mov esi, 0xb1b1ae35
mov cl, 0xf9
jo 0x140c08598
jns 0x140c08590
cdqe
std
mov byte [rax - 0x4b8fcf07], dh
mov cl, 0xb1
mov cl, 0xf9
xor byte [rcx - 0x4b], bl
mov ch, 0xb1
mov cl, 0xb1
pop rax
mov cl, 0xb1
mov cl, 0x58
add byte [rsi + 0x4e], cl
cdqe
in eax, 0x88
mov bl, 0xf9
xor byte [rax - 0x49], dh
mov cl, 0xb1
mov cl, 0xf9
xor byte [rbx - 0x4b], bl
mov cl, 0xb1
mov cl, 0xf9
xor byte [rcx - 0x4c], bl
mov cl, 0xb1
mov cl, 0x58
and cl, byte [rsi + 0x4e]
out dx, al
out dx, al
jb 0x140c08563
out 0xe4, al
jrcxz 0x140c08579
cmp byte [rsi - 7], ah
cmp byte [rdi + 0x4d], bh
add esi, dword [rcx]
cmp esi, dword [rdi - 0x4f88cf07]
mov cl, 0xb1
mov cl, 0x39
mov dh, 0xf9
xor byte [rsi - 0x50], dh
mov cl, 0xb1
mov cl, 0xf9
mov cl, 0xb1
stc
jbe 0x140c0860f
mov bl, 0xb1
mov cl, 0xb1
mov bl, 0x63
mov esi, 0xb1b1b634
mov cl, 0x3b
cmpsd dword [rsi], dword [rdi]
stc
ja 0x140c08552
invalid
cmp esp, dword [rdi - 0x5c88b107]
invalid
Function at 0x14002b1b8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x14003fda0], eax
call fcn.14002b940
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14003fda0], 0
jne case.default.0x14002b20e
mov ecx, 1
call fcn.14002b940
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp al, 0x6b
invalid
pop rsi
cld
std
lodsb al, byte [rsi]
lodsb al, byte [rsi]
invalid
mov bl, 0x3d
rol byte [rdx], 1
stc
fdivr dword [rdx - 0x3b]
ja 0x14006faeb
ja 0x14006fa83
mov edi, 0x5ff79c14
jmp 0x14006fa6c
cmp ebp, dword [rdi + rbx*8]
pop rdi
cmc
jrcxz 0x14006fb1b
nop
mov esp, 0x3ed1cfef
scasb al, byte [rdi]
push rcx
jns 0x14006fb45
sub bh, 0x5f
dec dword [0x15484cec4]
sti
jl 0x14006fb56
cmp eax, 0xb63904ea
or eax, 0x35af00e1
and eax, 0x31bd1ea8
mov esp, 0x41eba652
invalid
push rdx
cmpsb byte [rsi], byte [rdi]
jmp 0x14006fb60
sbb bh, cl
std
xchg ecx, eax
push rcx
push rsp
pop rcx
invalid
add eax, 0xb5a3df20
jle 0x14006fb6b
int3
invalid
iretd
Function at 0x140002630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov al, byte [rsp + 0x67]
mov r10b, al
xor r10b, 1
mov byte [rsp + 0x67], r10b
cmp r9d, 0
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r9d
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x2f], al
jne 0x140002687
xor eax, eax
xor ecx, ecx
mov edx, ecx
mov ecx, dword [rsp + 0x44]
mov r8d, ecx
mov r9d, r8d
mov r8d, eax
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x10], rdx

Function at 0x140002730
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, qword [rsp + 0x58]
imul rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov r8d, 0x100
add ecx, 1
mov qword [rsp + 8], rax
mov byte [rsp + 0x67], al
mov ecx, r8d
mov r9d, ecx
mov al, byte [r10 + r9]
mov r9, qword [rsp + 0x38]
mov rdi, qword [rsp + 8]
xor al, byte [r9 + rdi]
mov r14, qword [rsp + 0x48]
mov byte [r14 + rdi], al
add rdi, 1
mov r15, qword [rsp + 0x18]
cmp rdi, r15
mov ecx, dword [rsp]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x10], rdi
je 0x14000266a
jmp 0x1400026ad

Function at 0x140002780
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x20
lea rax, [fcn.140002780]
mov qword [rsp + 0x18], 0x330210ae
Function at 0x140002be4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov dword [rsp + 0x58], 0x7828dad1
mov qword [rsp + 0x38], 0x55c2e32
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x2c], r8d
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x1c], eax
mov qword [rsp + 0x10], r10
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x1c]
mov edx, 0x55c2e33
mov r8d, edx
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x38]
mov r11b, cl
sub r8, r9
add r10, 0xfffffffffaa3d2ce
mov r9, qword [rsp + 0x20]
mov byte [r9 + rax], r11b
add ecx, 1
add rax, r8
cmp rax, r10
mov dword [rsp + 0x1c], ecx
mov qword [rsp + 0x10], rax
mov dword [rsp + 0x10], eax
jne 0x140002b6d
xor eax, eax
mov ecx, eax
xor eax, eax
imul dx, word [rsp + 0x46], 0x5264
mov word [rsp + 0x46], dx
mov qword [rsp + 8], rcx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rdx
mov r8w, word [rsp + 0x46]
xor r8w, 0xffff
mov rdx, qword [rsp + 0x20]
mov r9b, byte [rdx + rcx]
movzx r10d, r9b
mov word [rsp + 0x46], r8w
mov r11d, ecx
mov dword [rsp], eax
and al, 0x44
mov eax, ebx
xor edx, edx
mov r11d, dword [rsp + 0x2c]
pop rsp
and al, 0x2c
div r11d
mov edx, edx
mov esi, edx
mov rdi, qword [rsp + 0x30]
movzx edx, byte [rdi + rsi]
mov ebx, dword [rsp + 0x58]
add ebx, 0x87d7262f
mov ebp, dword [rsp]
add ebp, r10d
add ebp, edx
mov eax, ebp
cdq
idiv ebx
movsxd rsi, edx
mov r14, qword [rsp + 0x20]
mov r15b, byte [r14 + rsi]
mov byte [r14 + rcx], r15b
mov byte [r14 + rsi], r9b
or al, 0x36
mov r8w, word [rsp + 0x46]
add rcx, 1
and r8w, 0xe
mov word [rsp + 0x46], r8w
cmp rcx, 0x100
mov qword [rsp + 8], rcx
mov dword [rsp + 4], edx
jne 0x140002bcd
mov eax, dword [rsp + 0x5c]
add eax, 0x1d76967a
mov dword [rsp + 0x5c], eax
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140002c10
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
mov dword [rsp + 0x58], 0x7828dad1
mov qword [rsp + 0x38], 0x55c2e32
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x2c], r8d
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x1c], eax
mov qword [rsp + 0x10], r10
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x1c]
mov edx, 0x55c2e33
mov r8d, edx
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x38]
mov r11b, cl
sub r8, r9
add r10, 0xfffffffffaa3d2ce
mov r9, qword [rsp + 0x20]
mov byte [r9 + rax], r11b
add ecx, 1
add rax, r8
cmp rax, r10
mov dword [rsp + 0x1c], ecx
mov qword [rsp + 0x10], rax
mov dword [rsp + 0x10], eax
jne 0x140002b6d
xor eax, eax
mov ecx, eax
xor eax, eax
imul dx, word [rsp + 0x46], 0x5264
mov word [rsp + 0x46], dx
mov qword [rsp + 8], rcx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rdx
mov r8w, word [rsp + 0x46]
xor r8w, 0xffff
mov rdx, qword [rsp + 0x20]
mov r9b, byte [rdx + rcx]
movzx r10d, r9b
mov word [rsp + 0x46], r8w
mov r11d, ecx
mov dword [rsp], eax
and al, 0x44
mov eax, ebx
xor edx, edx
mov r11d, dword [rsp + 0x2c]
pop rsp
and al, 0x2c
div r11d
mov edx, edx
mov esi, edx
mov rdi, qword [rsp + 0x30]
movzx edx, byte [rdi + rsi]
mov ebx, dword [rsp + 0x58]
add ebx, 0x87d7262f
mov ebp, dword [rsp]
add ebp, r10d
add ebp, edx
mov eax, ebp
cdq
idiv ebx
movsxd rsi, edx
mov r14, qword [rsp + 0x20]
mov r15b, byte [r14 + rsi]
mov byte [r14 + rcx], r15b
mov byte [r14 + rsi], r9b
or al, 0x36
mov r8w, word [rsp + 0x46]
add rcx, 1
and r8w, 0xe
mov word [rsp + 0x46], r8w
cmp rcx, 0x100
mov qword [rsp + 8], rcx
mov dword [rsp + 4], edx
jne 0x140002bcd
mov eax, dword [rsp + 0x5c]
add eax, 0x1d76967a
mov dword [rsp + 0x5c], eax
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14062d160
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14062d2e7
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 0x14062d191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062d177
add dl, dl
jne 0x14062d19e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062d1fe
xor eax, eax
add dl, dl
jne 0x14062d1ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062d2b5
add dl, dl
jne 0x14062d1be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062d1cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062d1d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062d1e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14062d1f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14062d186
mov eax, 1
add dl, dl
jne 0x14062d20e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062d21b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062d203
sub eax, ebx
mov ebx, 1
jne 0x14062d254
mov ecx, 1
add dl, dl
jne 0x14062d236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14062d243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062d22b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062d186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14062d270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14062d27d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062d265
cmp eax, 0x7d00
jae 0x14062d2a3
cmp eax, 0x500
jb 0x14062d29e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062d186
cmp eax, 0x7f
ja 0x14062d2a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062d186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14062d2da
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 0x14062d186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011082
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x1400117a0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
mov rax, qword [0x14001d008]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x1400220f3]
call fcn.14001136b
mov dword [rbp + 4], 0
lea r9, [rbp + 4]
mov r8d, 4
mov rdx, qword [rbp + 0x110]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140011820
xor eax, eax
jmp 0x140011865
mov r8, qword [rbp + 0x110]
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call fcn.1400111b3
lea r9, [rbp + 4]
mov r8d, 0x40
mov rdx, qword [rbp + 0x110]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140011860
xor eax, eax
jmp 0x140011865
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140019c00]
call fcn.140011302
mov rax, rdi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.1400111ae
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f90
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 0x1400142e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014300
xor al, al
jmp 0x140014381
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014313
xor al, al
jmp 0x140014381
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 0x14001433d
xor al, al
jmp 0x140014381
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014351
xor al, al
jmp 0x140014381
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014363
xor al, al
jmp 0x140014381
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001437f
xor al, al
jmp 0x140014381
mov al, 1
add rsp, 0x38
ret