joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003360
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x180007040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edi, edi
mov esi, 1
test edx, edx
je 0x180003418
cmp edx, esi
jne 0x1800034c7
mov ecx, 8
call fcn.180003590
lea rcx, [0x180003160]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x180003530]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180003408
cmp dword [rsp + 0x38], edi
je 0x1800033ff
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1800033ff
jmp 0x1800034c7
mov ecx, esi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rbx, rdi
xor eax, eax
lock cmpxchg dword [0x180007968], esi
je 0x180003448
cmp rbx, 0x20
jae 0x180003431
xor ecx, ecx
jmp 0x180003433
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180007968], esi
jne 0x180003427
cmp qword [0x180007970], rdi
je 0x1800034c1
xor ecx, ecx
call fcn.180001fd0
test eax, eax
jne 0x1800034c1
mov rcx, qword [0x1800079c0]
mov qword [0x1800079c0], rdi
test rcx, rcx
je 0x180003489
nop
mov rbx, qword [rcx]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbx
test rbx, rbx
jne 0x180003470
mov r8, qword [0x1800079b0]
xor edx, edx
mov rcx, qword [0x180007970]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180007970]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [0x180007970], rdi
mov qword [0x1800079b0], rdi
mov qword [0x1800079b8], rdi
xchg dword [0x180007968], edi
mov eax, esi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180003570
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x14001d434
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x20
call fcn.14013b1b8
mov rsi, qword [rax]
call fcn.14013b1b0
mov ecx, dword [rax]
lea r8, [0x14001d460]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp 0x14001d5dc
cld
and rsp, 0xfffffffffffffff0
call fcn.14001d6a6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x14001d613
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14001d609
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
mov eax, dword [rax + 0x88]
test rax, rax
je 0x14001d69b
add rax, rdx
push rax
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x14001d69a
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x14001d651
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x14001d642
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x14001d5fd

Function at 0x14001d5dc
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x20
call fcn.14013b1b8
mov rsi, qword [rax]
call fcn.14013b1b0
mov ecx, dword [rax]
lea r8, [0x14001d460]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp 0x14001d5dc
cld
and rsp, 0xfffffffffffffff0
call fcn.14001d6a6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x14001d613
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14001d609
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
mov eax, dword [rax + 0x88]
test rax, rax
je 0x14001d69b
add rax, rdx
push rax
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x14001d69a
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x14001d651
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x14001d642
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x14001d5fd
Function at 0x14001fe98
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
xor edx, edx
call fcn.14001dc04
mov dword [rsi + 0x120], ebx
mov dword [rsi + 0x124], edi
movaps xmm0, xmmword [0x140175f60]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x28]
cmp eax, ecx
cmovb eax, ecx
mov qword [rsi + 0x128], rax
mov qword [rsi + 0x130], 0x20
mov qword [rsi + 0x138], 0x40
mov dword [rsi + 0x140], ebx
lea rax, [rsi + 8]
mov qword [rsi + 8], 0
xor rax, 0xffffffffb37cc16a
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rsi
mov dword [rsi + 0x28], ebx
lea rcx, [rsi + 0x30]
mov r8d, 0xf0
xor edx, edx
call fcn.140139f20
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140137110
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x140026fc0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm13
movdqa xmmword [rsp + 0x60], xmm12
movdqa xmmword [rsp + 0x50], xmm11
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x1400270f5
movabs rax, 0x154442bd4
movq xmm9, rax
movdqa xmm8, xmmword [0x14017ae80]
nop word cs:[rax + rax]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm9, 0
movdqa xmm12, xmm3
pclmulqdq xmm12, xmm9, 0
movdqa xmm11, xmm2
pclmulqdq xmm11, xmm9, 0
movdqa xmm10, xmm1
pclmulqdq xmm10, xmm9, 0
movdqa xmm4, xmm0
pclmulqdq xmm4, xmm8, 0x11
movdqa xmm5, xmm3
pclmulqdq xmm5, xmm8, 0x11
movdqa xmm7, xmm2
pclmulqdq xmm7, xmm8, 0x11
movdqa xmm13, xmm1
pclmulqdq xmm13, xmm8, 0x11
movdqu xmm0, xmmword [rcx]
pxor xmm0, xmm6
pxor xmm0, xmm4
movdqu xmm3, xmmword [rcx + 0x10]
pxor xmm3, xmm12
pxor xmm3, xmm5
movdqu xmm2, xmmword [rcx + 0x20]
pxor xmm2, xmm11
pxor xmm2, xmm7
movdqu xmm1, xmmword [rcx + 0x30]
pxor xmm1, xmm10
pxor xmm1, xmm13
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x140027050
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x14017ae90]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x14002718a
nop word [rax + rax]
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x140027160
movdqa xmm1, xmmword [0x14017ae90]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x14017aea0], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
add rsp, 0x88
ret

Function at 0x140028804
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp - 8], 0xfffffffffffffffe
call fcn.1401493f0
call qword [0x1401c1010]
mov ecx, 2
call fcn.14013aee8
lea rcx, str.terminate_handler_unexpectedly_returned_n
mov edx, 0x28
mov r8d, 1
mov r9, rax
call fcn.140150b24
call fcn.14014b720
int3
Function at 0x14002a440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x14002a56e
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x14002a5b5
mov edi, dword [rsi + 0x5c]
test r15b, r15b
je 0x14002a6e4
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
jmp 0x14002a6e4
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.140150f00
cmp eax, 0xffffffff
je 0x14002a6df
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x14002a5d3
mov byte [rsp + 0x57], 0xaa
cmp byte [rsi + 0x61], 0
je 0x14002a63b
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test r15b, r15b
je 0x14002a616
movzx edi, byte [rsp + 0x57]
mov dword [rsi + 0x5c], edi
jmp 0x14002a6e4
mov edi, edi
test edi, edi
jle 0x14002a704
mov rdx, qword [rsi + 0x40]
movzx ecx, byte [rsp + rdi + 0x57]
dec rdi
call fcn.14015344c
cmp eax, 0xffffffff
jne 0x14002a618
jmp 0x14002a6df
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x57]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [0x1401c1010]
cmp eax, 1
jne 0x14002a6cc
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp rdi, 8
je 0x14002a6df
mov rcx, qword [rsi + 0x40]
call fcn.140150f00
cmp eax, 0xffffffff
je 0x14002a6df
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x14002a64c
cmp eax, 2
je 0x14002a6df
cmp eax, 3
je 0x14002a5fc
jmp 0x14002a604
mov edi, 0xffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140137110
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx edi, byte [rsp + 0x57]
jmp 0x14002a6e4
Function at 0x14002a7b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x14002a8e2
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x5e], 0
je 0x14002a929
movzx edi, word [rsi + 0x5c]
test r15b, r15b
je 0x14002aa5f
mov word [rsi + 0x5c], 0xffff
mov byte [rsi + 0x5e], 0
jmp 0x14002aa5f
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.140150f00
cmp eax, 0xffffffff
je 0x14002aa5b
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x14002a947
mov word [rsp + 0x56], 0xaaaa
cmp byte [rsi + 0x5f], 0
je 0x14002a9b7
movsx eax, byte [rsp + 0x58]
mov word [rsp + 0x56], ax
test r15b, r15b
je 0x14002a98f
movzx edi, word [rsp + 0x56]
mov word [rsi + 0x5c], di
jmp 0x14002aa5f
mov edi, edi
test edi, edi
jle 0x14002aa7f
mov rdx, qword [rsi + 0x40]
movsx eax, byte [rsp + rdi + 0x57]
dec rdi
movzx ecx, ax
call fcn.14015344c
cmp eax, 0xffffffff
jne 0x14002a991
jmp 0x14002aa5b
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x56]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [0x1401c1010]
cmp eax, 1
jne 0x14002aa48
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp rdi, 8
je 0x14002aa5b
mov rcx, qword [rsi + 0x40]
call fcn.140150f00
cmp eax, 0xffffffff
je 0x14002aa5b
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x14002a9c8
cmp eax, 2
je 0x14002aa5b
cmp eax, 3
je 0x14002a972
jmp 0x14002a97c
mov di, 0xffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140137110
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx edi, word [rsp + 0x56]
jmp 0x14002aa5f
Function at 0x14002aae0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x40], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 - 8], r12
lea r13, [rsp + 0x30]
lea r15, [rsp + 0x38]
mov ebp, 0xffffffff
mov qword [rsp + 0x30], r12
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], r13
mov r8, r15
mov r9, r14
call qword [0x1401c1010]
mov edi, eax
mov rbx, qword [rsp + 0x30]
sub rbx, r15
mov r9, qword [rsi + 0x40]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.140150b24
cmp rax, rbx
jne 0x14002ab83
cmp edi, 1
je 0x14002ab24
cmp edi, 2
je 0x14002ab83
mov rcx, qword [rsi + 0x40]
call fcn.1401504a8
neg eax
sbb ebp, ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140137110
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14002abb0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x14002abe5
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140150b24
xor ebx, ebx
test rsi, rsi
jle 0x14002ac11
movzx edx, byte [r14 + rbx]
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1401c1010]
cmp eax, 0xffffffff
je 0x14002ac11
inc rbx
cmp rsi, rbx
jne 0x14002abec
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14002ac20
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp edx, 0xffffffff
je 0x14002ac8d
mov r15d, edx
mov rdi, rcx
mov byte [rsp + 0x57], r15b
cmp byte [rcx + 0x58], 0
je 0x14002ac98
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x57]
mov edx, 1
mov r8d, 1
call fcn.140150b24
mov esi, 0xffffffff
cmp rax, 1
je 0x14002ac90
jmp 0x14002ad54
xor r15d, r15d
mov esi, r15d
jmp 0x14002ad54
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x57]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [0x1401c1010]
cmp qword [rsp + 0x40], rsi
je 0x14002ad4f
mov ebp, eax
cmp eax, 3
je 0x14002ad2e
cmp ebp, 1
ja 0x14002ad4f
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.140150b24
cmp rax, rsi
jne 0x14002ad4f
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x14002acb0
jmp 0x14002ac90
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.140150b24
cmp rax, 1
je 0x14002ac90
mov esi, 0xffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140137110
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14002add0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x14002ae05
mov r9, qword [rdi + 0x40]
mov edx, 2
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140150b24
xor ebx, ebx
test rsi, rsi
jle 0x14002ae32
movzx edx, word [r14 + rbx*2]
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1401c1010]
cmp ax, 0xffff
je 0x14002ae32
inc rbx
cmp rsi, rbx
jne 0x14002ae0c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14002ae40
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp dx, 0xffff
je 0x14002aead
mov r15d, edx
mov rdi, rcx
mov word [rsp + 0x56], dx
cmp byte [rcx + 0x58], 0
je 0x14002aeb8
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x56]
mov edx, 2
mov r8d, 1
call fcn.140150b24
mov si, 0xffff
cmp rax, 1
je 0x14002aeb0
jmp 0x14002af73
xor r15d, r15d
mov esi, r15d
jmp 0x14002af73
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x56]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [0x1401c1010]
cmp qword [rsp + 0x40], rsi
je 0x14002af6f
mov ebp, eax
cmp eax, 3
je 0x14002af4e
cmp ebp, 1
ja 0x14002af6f
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.140150b24
cmp rax, rsi
jne 0x14002af6f
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x14002aed0
jmp 0x14002aeb0
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.140150b24
cmp rax, 1
je 0x14002aeb0
mov si, 0xffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140137110
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14002b0a0
Capabilities:
Encode data using xor

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

Function at 0x14002b1d0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x14002b208
movabs r9, 0xf000000000000000
shl rax, 4
movzx r10d, word [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
add rdx, 2
cmp rdx, r8
jne 0x14002b1e1
ret
Function at 0x140031240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x140031291
mov dl, byte [rbp + 0x60]
movzx ebx, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x20], dl
mov rdx, r14
mov r8, rdi
call qword [0x1401c1010]
jmp 0x140031380
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.1400293d6
lea rdx, [0x1401ab720]
mov rcx, rbx
call fcn.14003e590
mov rsi, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x1400312d1
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1401c1010]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbp - 0x10], rax
movaps xmm0, xmmword [0x140175f60]
movaps xmmword [rbp - 0x20], xmm0
mov rax, qword [rsi]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, rsi
mov rdx, rbx
call qword [0x1401c1010]
mov al, byte [rbp - 9]
test al, al
jns 0x140031360
mov rbx, qword [rbp - 0x20]
jmp 0x140031360
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x18]
add rax, rcx
cmp rbx, rax
je 0x140031378
test rdi, rdi
je 0x140031358
mov al, byte [rbx]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x140031340
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
jmp 0x14003135a
movzx edx, al
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1401c1010]
cmp eax, 0xffffffff
jne 0x14003135a
xor edi, edi
inc rbx
mov al, byte [rbp - 9]
test al, al
js 0x140031313
movzx eax, al
add rax, rbp
add rax, 0xffffffffffffffe0
cmp rbx, rax
jne 0x140031323
mov qword [r14], rdi
jmp 0x140031380
mov qword [r14], rdi
call fcn.140136864
mov rax, r14
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
Function at 0x140033080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x1400330d3
movzx edx, word [rbp + 0x60]
movzx ebx, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], ebx
mov word [rsp + 0x20], dx
mov rdx, r14
mov r8, rdi
call qword [0x1401c1010]
jmp 0x1400331d1
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.1400293d6
lea rdx, [0x1401ab730]
mov rcx, rbx
call fcn.14003e590
mov rsi, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x140033113
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1401c1010]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbp - 0x10], rax
movaps xmm0, xmmword [0x140175f60]
movaps xmmword [rbp - 0x20], xmm0
mov rax, qword [rsi]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, rsi
mov rdx, rbx
call qword [0x1401c1010]
mov al, byte [rbp - 9]
test al, al
jns 0x1400331ad
mov rbx, qword [rbp - 0x20]
jmp 0x1400331ad
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
lea rdx, [rcx + rdx*2]
cmp rbx, rdx
je 0x1400331c9
test rdi, rdi
je 0x140033185
movzx eax, word [rbx]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x140033189
lea rdx, [rcx + 2]
mov qword [rdi + 0x30], rdx
mov word [rcx], ax
jmp 0x14003319e
xor edi, edi
jmp 0x1400331a9
mov rcx, qword [rdi]
mov rsi, qword [rcx + 0x60]
mov rcx, rdi
mov edx, eax
mov rax, rsi
call qword [0x1401c1010]
cmp ax, 0xffff
jne 0x1400331a6
xor edi, edi
mov al, byte [rbp - 9]
add rbx, 2
test al, al
js 0x140033155
movzx ecx, al
lea rcx, [rcx*2 - 0x20]
add rcx, rbp
cmp rbx, rcx
jne 0x140033166
mov qword [r14], rdi
jmp 0x1400331d1
mov qword [r14], rdi
call fcn.140136864
mov rax, r14
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret