joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180055f20
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x18006edb4], ebp
je 0x180055f77
cmp rbx, 0x20
jae 0x180055f60
xor ecx, ecx
jmp 0x180055f62
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18006edb4], ebp
jne 0x180055f56
cmp qword [0x18006edb8], r15
je 0x180056073
test rdi, rdi
jne 0x180055f97
mov ecx, esi
call fcn.180055af0
mov edi, eax
jmp 0x180056078
mov ecx, dword [0x18006ef7c]
mov ebx, r15d
test ecx, ecx
je 0x180055fbf
mov rdx, qword [0x18006ef70]
mov rax, rdx
nop
cmp rdi, qword [rax]
je 0x180055fc9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180055fb0
mov edi, 4
jmp 0x180056078
cmp ebx, 0xffffffff
je 0x180055fbf
mov eax, ebx
imul rcx, rax, 0x38
movzx eax, byte [rcx + rdx + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18005606a
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180055800
mov edi, eax
test eax, eax
jne 0x180056078
mov edx, esi
mov ecx, ebx
call fcn.1800559e0
mov edi, eax
cmp qword [rsp + 0x20], r15
je 0x180056078
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180056054
mov rbx, qword [rsp + 0x20]
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18005604a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180056020
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18006edb8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180056078
neg esi
sbb edi, edi
add edi, 6
jmp 0x180056078
mov edi, 2
xchg dword [0x18006edb4], r15d
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, 0x30
pop r15
ret
Function at 0x140001310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov byte [rsp + 0x2f], r8b
mov qword [rsp + 0x30], rdx
mov rdi, rcx
mov rsi, qword [rcx + 0x80]
mov r15, qword [rcx + 0x88]
xor r14d, r14d
mov r13, qword [sym.imp.kernel32.dll_SwitchToThread]
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
xor ebp, ebp
jmp 0x140001367
call r13
cmp ebp, 0xb
adc ebp, 0
mov rsi, qword [rdi + 0x80]
mov r15, qword [rdi + 0x88]
mov r12d, esi
shr r12d, 1
and r12d, 0x1f
cmp r12d, 0x1f
jne 0x1400013a0
cmp ebp, 6
ja 0x140001350
mov eax, 1
nop word cs:[rax + rax]
pause
mov edx, eax
mov ecx, ebp
shr edx, cl
inc eax
test edx, edx
je 0x140001390
jmp 0x140001353
mov rax, r12
xor rax, 0x1e
or rax, r14
jne 0x1400013db
movzx eax, byte [0x140090238]
mov edx, 0x2f0
xor ecx, ecx
call fcn.14002f440
test rax, rax
je 0x14000154e
mov r14, rax
mov r8d, 0x2f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
test r15, r15
je 0x14000142d
lea rcx, [rsi + 2]
mov rax, rsi
lock cmpxchg qword [rdi + 0x80], rcx
je 0x1400014ae
mov r15, qword [rdi + 0x88]
cmp ebp, 6
mov ecx, 6
cmovb ecx, ebp
mov edx, 1
nop dword [rax]
pause
mov r8d, edx
shr r8d, cl
inc edx
test r8d, r8d
je 0x140001410
cmp ebp, 7
adc ebp, 0
mov rsi, rax
jmp 0x140001367
movzx eax, byte [0x140090238]
mov edx, 0x2f0
xor ecx, ecx
call fcn.14002f440
test rax, rax
je 0x14000154e
mov r15, rax
mov r8d, 0x2f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor eax, eax
lock cmpxchg qword [rdi + 0x88], r15
jne 0x140001485
mov qword [rdi + 8], r15
lea rcx, [rsi + 2]
mov rax, rsi
lock cmpxchg qword [rdi + 0x80], rcx
jne 0x1400013f6
jmp 0x1400014ae
test r14, r14
je 0x140001498
mov rcx, qword [0x1400901d8]
xor edx, edx
mov r8, r14
call rbx
mov rsi, qword [rdi + 0x80]
mov r14, r15
mov r15, qword [rdi + 0x88]
jmp 0x140001367
cmp r12d, 0x1e
jne 0x1400014f5
test r14, r14
je 0x14000155d
add rsi, 4
mov qword [rdi + 0x88], r14
mov qword [rdi + 0x80], rsi
mov qword [r15], r14
mov rax, qword [rsp + 0x30]
mov qword [r15 + 0x2d8], rax
movzx eax, byte [rsp + 0x2f]
mov byte [r15 + 0x2e0], al
lock or qword [r15 + 0x2e8], 1
jmp 0x14000153c
lea rax, [r12 + r12*2]
mov rcx, qword [rsp + 0x30]
mov qword [r15 + rax*8 + 8], rcx
movzx ecx, byte [rsp + 0x2f]
mov byte [r15 + rax*8 + 0x10], cl
lock or qword [r15 + rax*8 + 0x18], 1
test r14, r14
je 0x14000153c
mov rcx, qword [0x1400901d8]
xor edx, edx
mov r8, r14
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x2f0
call fcn.140033580
lea rcx, str.C:Users.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrossbeam_queue_0.3.11_src_seg_queue.rs
call fcn.140033ae0
int3
Function at 0x140023150
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140023175
cmp rax, rcx
je 0x14002317b
cmp rdx, 4
jae 0x14002317f
xor eax, eax
xor r8d, r8d
jmp 0x140023210
pop rbp
jmp fcn.140012510
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140035520]
movdqa xmm3, xmmword [0x140035530]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400231a0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140023227
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140023210
pop rbp
ret
Function at 0x14002c200
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
add byte [rax], al
Function at 0x14002d410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm6
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x14002d481
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x14002d481
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x14002d481
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x14002d55c
cmp byte [rdx], 0xed
jne 0x14002d565
movzx r15d, byte [rdx + 1]
mov r8d, r15d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x14002d565
cmp rbx, 3
jb 0x14002d4c1
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
movzx r12d, byte [rdx + 2]
shl r15d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
mov rcx, rax
sub rcx, rbx
cmp rcx, r8
jb 0x14002d64f
and r15d, 0x3c0
or r15d, r14d
or r12d, r15d
lea r8d, [r12 + 0x10000]
mov r9d, r8d
shr r9d, 0x12
shr r8d, 4
and r8d, 0xff00
or r8d, r9d
shl r15d, 0xa
and r15d, 0xff0000
or r15d, r8d
shl r12d, 0x18
or r12d, r15d
movd xmm6, r12d
pand xmm6, xmmword [str._a___]
por xmm6, xmmword [0x1400355a0]
cmp rcx, 3
jbe 0x14002d681
add rdx, 3
mov rcx, qword [rsi + 8]
movd dword [rcx + rbx], xmm6
add rbx, 4
mov qword [rsi + 0x10], rbx
add rdi, 0xfffffffffffffffd
jmp 0x14002d5f3
test rdi, rdi
je 0x14002d5f0
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x14002d588
add r9, 2
cmp r8, rax
cmovne r8, r9
nop dword [rax]
mov r9, r8
cmp r8, rax
je 0x14002d5f0
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x14002d580
cmp r10b, 0xe0
jb 0x14002d56e
cmp r10b, 0xed
jne 0x14002d5bf
cmp r8, rax
je 0x14002d5f0
lea r8, [r9 + 2]
cmp r8, rax
je 0x14002d5f0
cmp byte [r9 + 1], 0x9f
ja 0x14002d5ec
add r9, 3
mov r8, r9
jmp 0x14002d580
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
add r8, r9
cmp r10b, 0xf0
jb 0x14002d580
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x14002d580
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x14002d622
add rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rdi
mov qword [rsi + 0x10], rbx
movaps xmm6, xmmword [rbp - 0x10]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call fcn.140034880
mov rdx, r14
mov edx, esi
mov rcx, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
jmp 0x14002d5fb
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r13, rdx
mov rdx, rbx
call fcn.140034880
mov rdx, r13
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
pop rsi
adc byte [rax - 0x77], cl
ror dword [rax + 0x29], 0xd9
jmp 0x14002d4e0
mov qword [rsp + 0x20], 1
mov r8d, 4
mov r9d, 1
mov rcx, rsi
mov ecx, esi
mov r14, rdx
mov rdx, rbx
call fcn.140034880
mov rdx, r14
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
adc cl, ch
mov edi, esi
invalid
invalid
Function at 0x140032f34
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x140032f7e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140032f7e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140032f7e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140032f7e
cmp dword [rcx + 0x84], 0xe
jbe 0x140032f7e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140032f80
xor al, al
add rsp, 0x28
ret
Function at 0x140011195
Capabilities:
Get token membership

Disassembly:
jmp 0x140012290
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400250f4]
call fcn.14001144c
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov byte [rbp + 0x44], 0
mov byte [rbp + 0x45], 0
mov byte [rbp + 0x46], 0
mov byte [rbp + 0x47], 0
mov byte [rbp + 0x48], 0
mov byte [rbp + 0x49], 5
lea rax, [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 0x44]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140012366
lea r8, [rbp + 4]
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop
cmp dword [rbp + 4], 0
je 0x140012375
mov byte [rbp + 0x114], 1
jmp 0x14001237c
mov byte [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x14001bca0]
call fcn.1400113d4
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.14001122b
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140011271
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1400158e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015900
xor al, al
jmp 0x140015981
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015913
xor al, al
jmp 0x140015981
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 0x14001593d
xor al, al
jmp 0x140015981
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015951
xor al, al
jmp 0x140015981
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015963
xor al, al
jmp 0x140015981
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001597f
xor al, al
jmp 0x140015981
mov al, 1
add rsp, 0x38
ret
Function at 0x1400137b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011474
movzx eax, al
test eax, eax
jne 0x1400137d0
mov ecx, 7
call fcn.1400113de
nop
mov byte [rsp + 0x20], 0
call fcn.1400113f2
mov byte [rsp + 0x21], al
cmp dword [0x14001f868], 1
jne 0x1400137f4
mov ecx, 7
call fcn.1400113de
nop
jmp 0x14001384c
cmp dword [0x14001f868], 0
jne 0x140013847
mov dword [0x14001f868], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.140011217
test eax, eax
je 0x140013828
mov eax, 0xff
jmp 0x140013951
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.1400113e8
mov dword [0x14001f868], 2
jmp 0x14001384c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400113ca
call fcn.14001133e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400138a9
mov rcx, qword [rsp + 0x30]
call fcn.1400111b8
movzx eax, al
test eax, eax
je 0x1400138a9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140026020]
nop
call fcn.14001137a
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400138dd
mov rcx, qword [rsp + 0x38]
call fcn.1400111b8
movzx eax, al
test eax, eax
je 0x1400138dd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001142e
nop
call fcn.140013a00
mov dword [rsp + 0x28], eax
call fcn.140011311
movzx eax, al
test eax, eax
jne 0x1400138fc
mov ecx, dword [rsp + 0x28]
call fcn.14001106e
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001390b
call fcn.140011438
nop
xor edx, edx
mov cl, 1
call fcn.1400111a4
mov eax, dword [rsp + 0x28]
jmp 0x140013951
add rsp, 0x68
ret
Function at 0x1e68790
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1e6879d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1e687ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1e68795
lea eax, [rcx + 1]
jmp 0x1e687bb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1e687ce
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1e687b4
sub eax, 3
jb 0x1e687ee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1e6883d
sar eax, 1
movsxd rbp, eax
jb 0x1e68824
jmp 0x1e687fc
add ebx, ebx
jne 0x1e687fa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1e68824
inc ecx
add ebx, ebx
jne 0x1e6880a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1e68824
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1e6881d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1e6880c
add ecx, 2
jmp 0x1e68829
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01e68752
jmp 0x1e6879d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1a44000]
mov eax, dword [rdi]
or eax, eax
je 0x1e68899
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1a68000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1e68849
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1e68893
mov qword [rbx], rax
add rbx, 8
jmp 0x1e68869
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1e688dd
cmp al, 0xef
ja 0x1e688c5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1e688a5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1e688b4
mov eax, dword [rdi]
add rdi, 4
jmp 0x1e688b4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1e68931
sub rsp, 0xffffffffffffff80
jmp 0x483260
Function at 0x1400031d8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss xmm0, dword [r8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jp 0x1400031f4
jne 0x1400031f4
movss xmm0, dword [r8 + 4]
ucomiss xmm0, xmm1
jp 0x1400031f4
je 0x140003212
mov rax, qword [0x1401102b0]
movsd xmm0, qword [r8]
movsd qword [rax + 0x1af4], xmm0
mov dword [rax + 0x1acc], 4
comiss xmm3, xmm1
jb 0x140003230
mov rax, qword [0x1401102b0]
movss dword [rax + 0x1b28], xmm3
mov dword [rax + 0x1ae0], 1
mov r8d, dword [rsp + 0x28]
jmp fcn.14000323c
Function at 0x140009380
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.140009dd8

Function at 0x140009a68
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x140009a8f
and qword [r8], 0
call fcn.140009ba4
mov rbx, rax
test rax, rax
je 0x140009b88
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009b7f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009b7f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009b7f
mov rax, qword [0x1401102b0]
mov rbp, rdi
test rax, rax
je 0x140009af7
inc dword [rax + 0x3c8]
mov rdx, qword [0x1401102c0]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140009b7f
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x140009b56
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401102b0]
test rax, rax
je 0x140009b44
dec dword [rax + 0x3c8]
mov rdx, qword [0x1401102c0]
mov rcx, rdi
call qword [0x14004c008]
jmp 0x140009b88
test r15d, r15d
jle 0x140009b69
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140009b7a
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140009b8a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140009dd8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x1401102e4], 0
lea rsi, [0x1401102e0]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x140009e3f
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x140009e0d
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x140009e05
not ebx
mov edx, ebx
test edi, edi
jle 0x140009e61
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x140009e47
jmp 0x140009e9b
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x140009e9b
mov r9b, 0x23
cmp r8b, r9b
jne 0x140009e80
cmp byte [r10], r9b
jne 0x140009e80
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x140009e6f
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000fd54
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1401102b0]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000fdbd
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000fdc8
lea rdx, [0x140040a44]
mov rcx, rbx
mov rdi, rax
call fcn.140009ba4
mov rbx, rax
test rax, rax
je 0x14000fdbd
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001eb64
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x14001ed55
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, 0x100
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001ec06
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x14001ec28
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x140040bd0]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x14001ed48
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001ec76
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001ec7a
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001e2c8
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.14001e700
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x14001ec65
mov r11d, 0x100
add rbx, 0x28
sub rdi, r8
jne 0x14001ebb4
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret