joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402c87e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov eax, dword [rsp + 0x88]
shl eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax*4]
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.1402c7e30
mov dword [rsp + 0x20], 4
mov eax, dword [rsp + 0x88]
lea eax, [rax*4 - 4]
mov dword [rsp + 0x24], eax
jmp 0x1402c8847
mov eax, dword [rsp + 0x20]
add eax, 4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
sub eax, 4
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jae 0x1402c88c8
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movdqu xmm0, xmmword [rcx + rax*4]
aesimc xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
movdqu xmm0, xmmword [rcx + rax*4]
aesimc xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movdqa xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rcx + rax*4], xmm0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
movdqa xmm0, xmmword [rsp + 0x50]
movdqu xmmword [rcx + rax*4], xmm0
jmp 0x1402c8831
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movdqu xmm0, xmmword [rcx + rax*4]
aesimc xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movdqa xmm0, xmmword [rsp + 0x60]
movdqu xmmword [rcx + rax*4], xmm0
add rsp, 0x78
ret
Function at 0x1402dda4c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1402dd878

Function at 0x1402eff00
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1402eff20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1402dc790
or eax, 0xffffffff
jmp 0x1402eff22
xor eax, eax
add rsp, 0x28
ret
Function at 0x140006cd0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140040090]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rdx
mov qword [rsp + 0x68], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rdx], r12
mov qword [rdx + 8], r12
call fcn.140007260
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140006ed3
test rax, rax
je 0x140006ee1
mov dword [rbp - 0x80], 0x130
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140006ed3
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
lea rax, [rbp - 0x54]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140006d90
lea rcx, [rsp + 0x38]
cmp rbx, 0xf
ja 0x140006dbc
mov qword [rsp + 0x48], rbx
mov r8, rbx
lea rdx, [rbp - 0x54]
call fcn.14000cf80
mov byte [rsp + rbx + 0x38], 0
jmp 0x140006dc9
lea r9, [rbp - 0x54]
mov rdx, rbx
call fcn.140006640
nop
xor eax, eax
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140007290
mov rbx, qword [rsp + 0x70]
cmp rbx, qword [rdi]
je 0x140006e42
lea rdx, [rbx + 0x20]
cmp qword [rbx + 0x38], 0x10
jb 0x140006dfb
mov rdx, qword [rbx + 0x20]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
mov rsi, qword [rbx + 0x30]
mov r14, qword [rsp + 0x48]
mov r8, r14
cmp rsi, r14
cmovb r8, rsi
call fcn.14000d880
test eax, eax
jne 0x140006e3b
cmp r14, rsi
jae 0x140006e32
or eax, 0xffffffff
jmp 0x140006e3b
mov eax, r12d
cmp r14, rsi
seta al
shr eax, 0x1f
test al, al
je 0x140006e77
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.140007350
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400073a0
mov rbx, qword [rsp + 0x58]
mov eax, dword [rbp - 0x78]
mov dword [rbx + 0x40], eax
mov rax, qword [rsp + 0x50]
cmp rax, 0x10
jb 0x140006ebb
mov rcx, qword [rsp + 0x38]
inc rax
cmp rax, 0x1000
jb 0x140006eb6
test cl, 0x1f
jne 0x140006ecd
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140006ecd
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x140006ecd
mov rcx, rax
call fcn.14000b954
lea rdx, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x140006d67
call fcn.140011f3c
int3
test r15, r15
je 0x140006ee1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14000b5d0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400082f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x140040090]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r15d, edx
mov rsi, rcx
mov qword [r11 - 0x48], rcx
xor r12d, r12d
mov dword [r11 - 0x68], r12d
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140042af4], eax
jle 0x140008393
lea rcx, [0x140042af4]
call fcn.14000b7c8
cmp dword [0x140042af4], 0xffffffff
jne 0x140008393
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042ae8], rax
lea rcx, [0x140042af4]
call fcn.14000b768
mov rdi, r12
mov dword [rsp + 0x68], r12d
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x50], r12
mov rax, qword [0x140042ae8]
test rax, rax
je 0x14000850c
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x10]
call rax
test eax, eax
je 0x140008438
cmp eax, 0xc0000004
jne 0x1400084f4
test rdi, rdi
je 0x140008403
mov edx, dword [rsp + 0x68]
mov r8d, 0x4000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x68]
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x68]
mov rdx, rax
mov ecx, 0x10
call qword [0x140042ae8]
test eax, eax
jne 0x1400083e0
mov ebp, r12d
cmp dword [rdi], r12d
jbe 0x1400084f4
lea rbx, [rdi + 0xe]
nop dword [rax + rax]
mov r8d, dword [rbx - 6]
xor edx, edx
lea ecx, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rax
movzx edx, word [rbx]
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400084c8
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
cmp eax, r15d
jne 0x1400084c8
mov eax, dword [rbx + 0xa]
and eax, 0x38
cmp al, 0x38
jne 0x1400084c8
mov eax, dword [rbx - 6]
mov dword [rsp + 0x48], eax
movzx eax, word [rbx]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.140008540
test r14, r14
je 0x1400084d6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400084e6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebp
add rbx, 0x18
cmp ebp, dword [rdi]
jb 0x140008450
test rdi, rdi
je 0x14000850c
mov edx, dword [rsp + 0x68]
mov r8d, 0x4000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rsi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000b5d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000946c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140040090]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rcx
xor r15d, r15d
cmp qword [rcx + 0x68], r15
je 0x14000961a
cmp byte [rcx + 0x71], r15b
je 0x14000961a
mov rax, qword [rcx]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.14000bfbc
or edx, 0xffffffff
mov rcx, r12
call rbx
cmp eax, 0xffffffff
jne 0x1400094de
xor al, al
jmp 0x14000961f
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140002de0
nop
mov r13d, 1
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, rdx
lea r14, [rbp - 0x30]
cmovae r14, rdx
mov rsi, qword [r12 + 0x68]
mov rdx, qword [rsi]
mov rbx, qword [rbp - 0x20]
add rbx, rcx
mov rdi, qword [rdx + 0x40]
mov rcx, rdi
call fcn.14000bfbc
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
lea rdx, [r12 + 0x74]
mov rcx, rsi
call rdi
mov ecx, eax
test eax, eax
je 0x14000954f
sub ecx, r13d
jne 0x1400095bd
jmp 0x140009554
mov byte [r12 + 0x71], r15b
lea rax, [rbp - 0x30]
mov rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x18]
cmp r8, 0x10
cmovae rax, rdx
mov rbx, qword [rbp - 0x40]
sub rbx, rax
je 0x140009599
lea rcx, [rbp - 0x30]
cmp r8, 0x10
cmovae rcx, rdx
mov r9, qword [r12 + 0x80]
mov r8, rbx
mov rdx, r13
call fcn.140012ec8
mov rdx, qword [rbp - 0x30]
cmp rbx, rax
jne 0x1400095cb
cmp byte [r12 + 0x71], r15b
je 0x1400095c8
test rbx, rbx
jne 0x1400094f9
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.140004120
jmp 0x1400094f5
mov rdx, qword [rbp - 0x30]
cmp ecx, 2
jne 0x1400095d1
jmp 0x1400095ce
mov r15b, r13b
mov r13b, r15b
mov r15b, r13b
mov r8, qword [rbp - 0x18]
cmp r8, 0x10
jb 0x140009615
lea rax, [r8 + 1]
cmp rax, 0x1000
jb 0x14000960d
test dl, 0x1f
jne 0x140009607
mov rax, qword [rdx - 8]
cmp rax, rdx
jae 0x140009607
sub rdx, rax
sub rdx, 8
cmp rdx, 0x1f
ja 0x140009607
mov rdx, rax
jmp 0x14000960d
call fcn.140011f3c
int3
mov rcx, rdx
call fcn.14000b954
mov al, r15b
jmp 0x14000961f
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000b5d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x14000c034
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
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]
Function at 0x14000db20
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x14002f478]
xor ecx, ecx
lea r8, [0x14002f470]
lea rdx, str.FlsAlloc
call fcn.14000d948
mov rbx, rax
test rax, rax
je 0x14000db60
mov rcx, rax
call fcn.14000bfbc
mov rcx, rdi
call rbx
jmp 0x14000db66
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000dbc8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14002f488]
mov ecx, 2
lea r8, [0x14002f480]
lea rdx, str.FlsGetValue
call fcn.14000d948
mov rdi, rax
test rax, rax
je 0x14000dc09
mov rcx, rax
call fcn.14000bfbc
mov ecx, ebx
call rdi
jmp 0x14000dc11
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000dc1c
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14002f490]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14002f488]
call fcn.14000d948
mov rsi, rax
test rax, rax
je 0x14000dc68
mov rcx, rax
call fcn.14000bfbc
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x14000dc73
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140017a74
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140017848
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140017848
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140017848
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140017848
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140017848
cmp dword [rcx + 0x84], 0xe
jbe 0x140017848
cmp dword [rcx + 0xf8], esi
je 0x140017848
mov ecx, r14d
call fcn.140017990
mov ecx, 2
call fcn.140011ffc
nop
cmp byte [0x140042318], 0
jne 0x140017912
mov r15d, 1
mov eax, r15d
xchg dword [0x140042308], eax
test ebx, ebx
jne 0x1400178bb
mov rdi, qword [0x140040090]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140042310]
cmp rcx, rax
je 0x1400178b2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140006bf0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140042358]
jmp 0x1400178c7
cmp ebx, r15d
jne 0x1400178cd
lea rcx, [0x140042370]
call fcn.140019204
nop
test ebx, ebx
jne 0x1400178e4
lea rdx, [0x14002a480]
lea rcx, [0x14002a460]
call fcn.140017708
lea rdx, [0x14002a490]
lea rcx, [0x14002a488]
call fcn.140017708
movzx eax, byte [0x140042318]
test esi, esi
cmove eax, r15d
mov byte [0x140042318], al
jmp 0x140017912
mov ecx, 2
call fcn.140012050
test esi, esi
jne 0x140017929
mov ecx, r14d
call fcn.140017944
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400177d8
Function at 0x1800920c0
Capabilities:
Capture microphone audio
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x50
cmp byte [rcx + 0x28], 0
mov rsi, rdx
je 0x1800920e8
xor ebx, ebx
mov byte [rcx + 0x28], 0
mov dword [rdx], ebx
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
cmp byte [rcx + 0x18], 0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r14
jne 0x1800920ff
mov byte [rcx + 0x13b8], 1
mov byte [rcx + 0x1195], 0
lea rdi, [rcx - 0x78]
xor ebx, ebx
mov dword [rsp + 0x30], 0x20001
xor ecx, ecx
mov word [rsp + 0x40], bx
xor r9d, r9d
mov dword [rsp + 0x34], 0xac44
xor r8d, r8d
mov dword [rsp + 0x38], 0x2b110
xor edx, edx
mov dword [rsp + 0x3c], 0x100004
mov r14d, 1
call qword [0x1802fe230]
mov qword [rdi + 0x88], rax
test rax, rax
jne 0x18009215b
lea ebx, [rax + 0xa]
jmp 0x180092207
mov edx, dword [rdi + 0x14a0]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x28], 0x50000
lea rcx, [rdi + 0x98]
mov r9, rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x60], rbp
call qword [sym.imp.WINMM.dll_waveInOpen]
mov dword [rdi + 0x94], eax
test eax, eax
je 0x1800921d8
cmp dword [rdi + 0x14a0], ebx
jne 0x1800921c9
mov r9, qword [rdi + 0x88]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x28], 0x50000
lea rcx, [rdi + 0x98]
mov edx, r14d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WINMM.dll_waveInOpen]
mov dword [rdi + 0x94], eax
cmp dword [rdi + 0x94], ebx
je 0x1800921d8
mov ebx, 3
jmp 0x180092202
mov r8, rdi
lea rcx, [0x180094970]
xor edx, edx
call fcn.1802aa0cc
mov qword [rdi + 0x14a8], rax
cmp rax, 0xffffffffffffffff
jne 0x180092202
mov qword [rdi + 0x14a8], rbx
mov ebx, 0xb
mov rbp, qword [rsp + 0x60]
mov dword [rsi], ebx
xor eax, eax
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
Function at 0x1800a4ab0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push r13
sub rsp, 0x58
mov esi, r9d
mov r13, rdx
mov rbx, rcx
test r9d, r9d
jle 0x1800a4cf3
test rcx, rcx
je 0x1800a4cf3
movzx eax, word [rcx]
test ax, ax
je 0x1800a4cf3
mov rbp, rcx
nop dword [rax]
cmp ax, 0x20
je 0x1800a4afc
cmp ax, 0x2b
jne 0x1800a4b16
add rbx, 2
mov rax, rbx
sub rax, rbp
sar rax, 1
cmp eax, esi
jge 0x1800a4cf3
movzx eax, word [rbx]
jmp 0x1800a4af0
mov byte [rsp + 0x90], 0
cmp ax, 0x2d
je 0x1800a4b2e
mov ecx, 0xe2
cmp ax, cx
jne 0x1800a4b4b
add rbx, 2
mov byte [rsp + 0x90], 1
mov rax, rbx
sub rax, rbp
sar rax, 1
cmp eax, esi
jge 0x1800a4cf3
movzx ecx, word [rbx]
xor r8b, r8b
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r14
xor r14d, r14d
mov qword [rsp + 0x40], r15
mov r15d, r14d
movaps xmmword [rsp + 0x30], xmm6
mov r12d, r14d
mov edi, r14d
test cx, cx
je 0x1800a4c66
movzx r13d, byte [rsp + 0xa0]
mov r9d, 0xffdf
mov edx, 0xfffd
lea eax, [rcx - 0x2c]
test dx, ax
je 0x1800a4bf1
test r13b, r13b
je 0x1800a4bac
lea eax, [rcx - 0x45]
test r9w, ax
je 0x1800a4c22
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x1800a4c5e
movzx edx, cx
test r8b, r8b
je 0x1800a4be3
lea r12, [r12 + r12*4]
lea r12, [r12 - 0x18]
lea r12, [rdx + r12*2]
test rdi, rdi
jne 0x1800a4bda
mov edi, 0xa
jmp 0x1800a4c04
lea rdi, [rdi + rdi*4]
add rdi, rdi
jmp 0x1800a4c04
lea r15, [r15 + r15*4]
lea r15, [r15 - 0x18]
lea r15, [rdx + r15*2]
jmp 0x1800a4c04
test r8b, r8b
jne 0x1800a4c5e
call fcn.1800a4820
mov r8b, 1
mov r9d, 0xffdf
add rbx, 2
mov rax, rbx
sub rax, rbp
sar rax, 1
cmp eax, esi
jge 0x1800a4c5e
movzx ecx, word [rbx]
test cx, cx
je 0x1800a4c5e
jmp 0x1800a4b91
lea rcx, [rbx + 2]
mov dword [rsp + 0x98], r14d
mov r9d, 0x7fffffff
mov byte [rsp + 0x20], 1
mov r8b, 1
lea rdx, [rsp + 0x98]
call fcn.1800a4ab0
mov eax, dword [rsp + 0x98]
inc eax
movsxd rcx, eax
cvttsd2si r14d, xmm0
lea rbx, [rbx + rcx*2]
mov r13, qword [rsp + 0x88]
xorps xmm6, xmm6
cvtsi2sd xmm6, r15
mov r15, qword [rsp + 0x40]
test rdi, rdi
jle 0x1800a4c90
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, r12
cvtsi2sd xmm0, rdi
divsd xmm1, xmm0
addsd xmm6, xmm1
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x80]
test r14d, r14d
je 0x1800a4cbc
movsd xmm0, qword [0x18037e498]
movd xmm1, r14d
cvtdq2pd xmm1, xmm1
call fcn.1802b6700
mulsd xmm6, xmm0
mov r14, qword [rsp + 0x48]
test r13, r13
je 0x1800a4cd0
sub rbx, rbp
sar rbx, 1
mov dword [r13], ebx
cmp byte [rsp + 0x90], 0
je 0x1800a4ce1
xorps xmm6, xmmword [0x18037eab0]
movaps xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x58
pop r13
pop rsi
pop rbp
pop rbx
ret
xorps xmm0, xmm0
add rsp, 0x58
pop r13
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800a7700
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r15
sub rsp, 0x38
movsxd rdi, r8d
movzx r15d, r9b
mov r13, rdx
mov r12, rcx
test r8d, r8d
jg 0x1800a7732
add rsp, 0x38
pop r15
pop r13
pop r12
pop rdi
jmp fcn.1800a09f0
mov qword [rsp + 0x68], rbx
lea ecx, [rdi + 2]
mov qword [rsp + 0x30], rbp
mov eax, 0x55555556
imul ecx
xor ebx, ebx
mov qword [rsp + 0x28], rsi
mov ebp, edx
mov qword [rsp + 0x20], r14
shr ebp, 0x1f
add ebp, edx
shl ebp, 2
mov dword [rsp + 0x70], ebp
test r15b, r15b
je 0x1800a777e
lea eax, [rbp + 0x3f]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
dec eax
test eax, eax
cmovle eax, ebx
add ebp, eax
mov dword [rsp + 0x70], ebp
mov r9b, 1
xor r8d, r8d
mov edx, ebp
mov rcx, r12
mov esi, ebx
mov r14d, ebx
call fcn.1800a0830
mov r11, rax
mov rcx, rdi
test edi, edi
je 0x1800a7889
dec rcx
lea r9, [r13 + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
lea rbp, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mul rcx
mov r10d, 2
mov r8, rbx
mov r12, rdx
shr r12, 1
inc r12
lea r13d, [r10 + 8]
test r15b, r15b
je 0x1800a77eb
cmp r14d, 0x40
jl 0x1800a77eb
inc esi
mov word [r8 + r11], r13w
add r8, 2
mov r14d, ebx
lea eax, [r10 - 1]
cmp eax, edi
jge 0x1800a77fe
movzx eax, byte [r9 - 1]
shl rax, 8
jmp 0x1800a7801
mov rax, rbx
cmp r10d, edi
jge 0x1800a780c
movzx ecx, byte [r9]
jmp 0x1800a780f
mov rcx, rbx
movzx edx, byte [r9 - 2]
add esi, 4
shl rdx, 0x10
add r14d, 4
add rdx, rax
add r10d, 3
add rdx, rcx
add r9, 3
mov rax, rdx
shr rax, 0x12
movsx eax, byte [rax + rbp]
mov word [r8 + r11], ax
mov rax, rdx
shr rax, 0xc
and eax, 0x3f
movsx eax, byte [rax + rbp]
mov word [r8 + r11 + 2], ax
mov rax, rdx
shr rax, 6
and edx, 0x3f
and eax, 0x3f
movsx eax, byte [rax + rbp]
mov word [r8 + r11 + 4], ax
movsx eax, byte [rdx + rbp]
mov word [r8 + r11 + 6], ax
add r8, 8
sub r12, 1
jne 0x1800a77d2
mov ebp, dword [rsp + 0x70]
mov r12, qword [rsp + 0x60]
mov r14, qword [rsp + 0x20]
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [rdx + rdx*2]
cmp edi, ecx
je 0x1800a78bb
sub ecx, edi
add ecx, 3
test ecx, ecx
jle 0x1800a78bb
sub esi, ecx
movsxd rax, esi
lea rdi, [r11 + rax*2]
mov eax, 0x3d
movzx eax, ax
rep stosw word [rdi], ax
mov rdx, qword [r12]
mov rsi, qword [rsp + 0x28]
cmp ebp, 0xffffffff
jne 0x1800a78e8
test rdx, rdx
je 0x1800a78f1
mov rax, rdx
movzx ecx, word [rax]
add rax, 2
test cx, cx
jne 0x1800a78d1
sub rax, rdx
sar rax, 1
lea ebx, [rax - 1]
jmp 0x1800a78f1
movsxd rax, ebp
mov word [rdx + rax*2], bx
mov ebx, ebp
mov rax, 0xfffffffffffffff0
mov rcx, rdx
mov dword [rdx + rax], ebx
mov eax, dword [rdx - 8]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x68]
cmp eax, 0xffffffff
jne 0x1800a7918
mov eax, 1
xchg dword [rdx - 8], eax
add rsp, 0x38
pop r15
pop r13
pop r12
pop rdi
ret
Function at 0x1800b4240
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov ebx, edx
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
call fcn.180001e40
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x30]
mov qword [rdi], rax
mov esi, 1
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x80], rbp
bts ebx, 0xc
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x1800b43db
mov rbx, qword [rdi]
mov rcx, qword [rbx - 0x18]
mov eax, dword [rbx - 8]
cmp eax, esi
jle 0x1800b4317
mov rax, qword [rcx]
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x28], sil
mov byte [rsp + 0x20], sil
mov r9d, 0x820
mov r8d, dword [rbx - 0x10]
mov rdx, qword [rdi]
call qword [rax + 0x28]
mov qword [rdi], rax
mov edx, 0xffffffff
mov ecx, edx
xchg dword [rax - 8], ecx
mov eax, dword [rbx - 8]
cmp eax, 0x7ffffc17
je 0x1800b438f
mov eax, dword [rbx - 8]
cmp eax, edx
je 0x1800b4307
lock xadd dword [rbx - 8], edx
sub edx, esi
jg 0x1800b438f
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + 8]
jmp 0x1800b438f
mov edx, 0x820
cmp dword [rbx - 0xc], edx
jg 0x1800b4387
mov r9d, esi
add r9d, r9d
shr edx, 1
jne 0x1800b4324
mov rdx, qword [rdi]
mov eax, dword [rbx - 8]
mov r10, qword [rcx]
cmp eax, 0xffffffff
setne al
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], 0
mov r8d, dword [rbx - 0x10]
call qword [r10 + 0x28]
mov qword [rdi], rax
mov edx, 0xffffffff
mov ecx, edx
xchg dword [rax - 8], ecx
mov eax, dword [rbx - 8]
cmp eax, 0x7ffffc17
je 0x1800b438f
mov eax, dword [rbx - 8]
cmp eax, edx
je 0x1800b4377
lock xadd dword [rbx - 8], edx
sub edx, esi
jg 0x1800b438f
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + 8]
jmp 0x1800b438f
mov edx, 0xffffffff
xchg dword [rbx - 8], edx
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rdx, qword [rdi]
test rdx, rdx
je 0x1800b43c5
mov rcx, rdx
nop dword [rax + rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x1800b43b0
sub rcx, rdx
sar rcx, 1
lea ebp, [rcx - 1]
mov dword [rdx - 0x10], ebp
mov eax, dword [rdx - 8]
cmp eax, 0xffffffff
jne 0x1800b43d3
xchg dword [rdx - 8], esi
mov rcx, rdi
call fcn.1800aa8f0
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1800b43ee
call qword [0x1802feb80]
mov rcx, rdi
call fcn.1800b9020
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret