joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e6fe0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x1401b3658]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rax, qword [0x1401b8ec8]
mov r15, rdx
mov qword [rbp - 1], rdx
test rax, rax
jne 0x1400e7036
lea rcx, str.Rpcrt4.dll
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov qword [0x1401b8ec8], rax
test rax, rax
je 0x1400e70de
lea rdx, str.UuidCreate
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400e70de
lea rcx, [rbp + 7]
call rax
test eax, eax
je 0x1400e7067
cmp eax, 0x720
je 0x1400e7067
cmp eax, 0x6cb
jne 0x1400e70de
movzx edx, byte [rbp + 0x15]
mov rcx, r15
movzx r8d, byte [rbp + 0x14]
movzx r9d, byte [rbp + 0x13]
movzx eax, byte [rbp + 0x16]
movzx r10d, byte [rbp + 0x12]
movzx r11d, byte [rbp + 0x11]
movzx ebx, byte [rbp + 0x10]
movzx edi, byte [rbp + 0xf]
movzx esi, word [rbp + 0xd]
movzx r14d, word [rbp + 0xb]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], edx
mov edx, 0x25
mov dword [rsp + 0x58], r8d
lea r8, str._08lX__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
mov dword [rsp + 0x50], r9d
mov r9d, dword [rbp + 7]
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
call fcn.1400df210
jmp 0x1400e720e
mov qword [rsp + 0x120], r12
xor ecx, ecx
mov qword [rsp + 0x130], r13
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp - 9], rax
mov qword [rbp - 0x19], rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
lea rdx, [rbp - 0x11]
mov dword [rbp - 0x11], 0x10
lea rcx, [rbp + 0x17]
mov r14d, eax
call qword [sym.imp.kernel32.dll_GetComputerNameA]
mov r9, qword [rbp - 9]
lea rax, [rbp - 0x19]
shr rax, 8
lea rcx, [rbp - 0x19]
movzx r15d, al
lea rax, [rbp - 0x19]
movzx esi, al
mov eax, r14d
sar eax, 0x18
movzx edi, al
mov eax, r14d
sar eax, 0x10
movzx ebx, al
mov eax, r14d
sar eax, 8
movzx r10d, al
mov rax, r9
sar rax, 0x18
movzx r8d, al
mov rax, r9
sar rax, 0x10
movzx edx, al
mov rax, r9
shr rcx, 0x18
movzx r13d, cl
lea rcx, [rbp - 0x19]
sar rax, 8
shr rcx, 0x10
movzx r12d, cl
movzx ecx, al
movzx eax, byte [rbp + 0x1a]
mov dword [rsp + 0x90], eax
movzx eax, byte [rbp + 0x19]
mov dword [rsp + 0x88], eax
movzx eax, byte [rbp + 0x18]
mov dword [rsp + 0x80], eax
movzx eax, byte [rbp + 0x17]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x70], r13d
mov dword [rsp + 0x68], r12d
mov dword [rsp + 0x60], r15d
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], r10d
movzx r11d, r14b
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], r8d
lea r8, str._02X_02X_02X_02X__02X_02X__02X_02X__02X_02X__02X_02X_02X_02X_02X_02X
mov dword [rsp + 0x28], edx
mov edx, 0x25
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp - 1]
movzx r9d, r9b
call fcn.1400df210
mov r13, qword [rsp + 0x130]
mov r12, qword [rsp + 0x120]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14012cd90
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e7390
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, r8
mov rdi, rdx
test r8, r8
je 0x1400e73ba
movsxd rdx, r9d
lea r8, str.open__s
mov r9, rdi
mov rcx, rax
call fcn.1400df210
xor ebx, ebx
mov dword [rsp + 0x28], 5
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8, rdi
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.shell32.dll_ShellExecuteA]
cmp rax, 0x20
seta bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400e7430
Capabilities:
Get common file path

Disassembly:
push rbx
push r14
sub rsp, 0x38
mov rax, qword [0x1401b8ed0]
mov r14, r9
mov ebx, r8d
test rax, rax
jne 0x1400e745c
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [0x1401b8ed0], rax
mov edx, 0x23
mov qword [rsp + 0x20], rax
mov ecx, 0x1a
test bl, bl
cmovne edx, ecx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.shell32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400e748c
xor eax, eax
add rsp, 0x38
pop r14
pop rbx
ret
mov qword [rsp + 0x50], rbp
mov rbp, qword [0x1401b8ed0]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov rdi, 0xffffffffffffffff
mov rsi, rdi
mov qword [rsp + 0x30], r15
inc rsi
cmp word [rbp + rsi*2], 0
jne 0x1400e74b1
mov r9d, esi
mov r8, rbp
xor edx, edx
xor ecx, ecx
call fcn.1400dd0b0
xor ecx, ecx
lea ebx, [rax + 1]
mov edx, ebx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r9d, esi
mov r8, rbp
mov rcx, rax
mov edx, ebx
mov r15, rax
call fcn.1400dd0b0
mov rdx, qword [0x1401b8ed0]
mov rsi, qword [rsp + 0x58]
sub rdx, r15
mov rbp, qword [rsp + 0x50]
mov ecx, eax
mov byte [rcx + r15], 0
mov rcx, r15
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400e7510
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [rsp + 0x30]
test r14, r14
je 0x1400e7537
cmp byte [r14], 0
jne 0x1400e753e
lea r14, str.unknown
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1400e754d
cmp byte [rdx], 0
jne 0x1400e7554
lea rdx, str.unknown
mov rcx, qword [0x1401b8ed0]
mov rax, rdi
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1400e7560
mov r10d, 0x800
sub r10, rax
inc rdi
cmp byte [rcx + rdi], 0
jne 0x1400e7572
mov qword [rsp + 0x20], rdx
lea r8, str.__s__s.prefs
mov rdx, r10
add rcx, rdi
mov r9, r14
call fcn.1400df210
mov rax, qword [0x1401b8ed0]
mov rdi, qword [rsp + 0x60]
mov rcx, rax
movzx edx, byte [rax]
test dl, dl
je 0x1400e75c3
nop dword [rax + rax]
cmp dl, 0x5c
jne 0x1400e75b8
mov byte [rcx], 0x2f
movzx edx, byte [rcx + 1]
inc rcx
test dl, dl
jne 0x1400e75b0
add rsp, 0x38
pop r14
pop rbx
ret
Function at 0x1400e7660
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, 0xffffffffffffffff
mov r14, r8
mov rsi, rbx
mov rbp, rdx
nop word [rax + rax]
inc rsi
cmp byte [rsi + rdx], 0
jne 0x1400e7690
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov rcx, rbp
call fcn.1400dd1a0
mov rcx, qword [0x1401b8e48]
lea edi, [rax + 1]
mov edx, edi
add rdx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r9d, edi
mov edx, esi
mov r8, rax
mov qword [0x1401b8e48], rax
mov rcx, rbp
call fcn.1400dd1a0
mov ecx, eax
xor esi, esi
mov rax, qword [0x1401b8e48]
mov word [rax + rcx*2], si
inc rbx
cmp byte [r14 + rbx], sil
jne 0x1400e76e4
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov rcx, r14
call fcn.1400dd1a0
mov rcx, qword [0x1401b8e50]
lea edi, [rax + 1]
mov edx, edi
add rdx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r9d, edi
mov edx, ebx
mov r8, rax
mov qword [0x1401b8e50], rax
mov rcx, r14
call fcn.1400dd1a0
mov ecx, eax
mov rax, qword [0x1401b8e50]
mov word [rax + rcx*2], si
mov rdx, qword [0x1401b8e50]
mov rcx, qword [0x1401b8e48]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]

Function at 0x1400e7770
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1400e7790
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov rcx, rsi
call fcn.1400dd1a0
mov rcx, qword [0x1401b8e48]
lea edi, [rax + 1]
mov edx, edi
add rdx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r9d, edi
mov edx, ebx
mov r8, rax
mov qword [0x1401b8e48], rax
mov rcx, rsi
call fcn.1400dd1a0
mov ecx, eax
xor edx, edx
mov rax, qword [0x1401b8e48]
mov word [rax + rcx*2], dx
mov rcx, qword [0x1401b8e48]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrmdir]

Function at 0x1400e7810
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1400e7830
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov rcx, rsi
call fcn.1400dd1a0
mov rcx, qword [0x1401b8e48]
lea edi, [rax + 1]
mov edx, edi
add rdx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r9d, edi
mov edx, ebx
mov r8, rax
mov qword [0x1401b8e48], rax
mov rcx, rsi
call fcn.1400dd1a0
mov ecx, eax
xor edx, edx
mov rax, qword [0x1401b8e48]
mov word [rax + rcx*2], dx
mov rcx, qword [0x1401b8e48]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wsystem]
Function at 0x1400e87f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x30
mov r13d, dword [rdx + 0x1c]
mov r14, rdx
mov ebp, dword [rdx + 0x20]
mov rbx, qword [rdx + 0x30]
mov dword [rdx + 0x48], r13d
mov dword [rdx + 0x4c], ebp
lea eax, [r13 + 7]
cdq
and edx, 7
lea edi, [rdx + rax]
lea eax, [r13 + 0xf]
sar edi, 3
cdq
and edx, 0xf
lea esi, [rdx + rax]
sar esi, 4
add esi, esi
mov ecx, esi
imul ecx, ebp
movsxd rcx, ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r15, rax
mov r8, rax
test ebp, ebp
jle 0x1400e88a2
sub esi, edi
mov r10d, ebp
movsxd r11, esi
lea rsi, [0x1401b3250]
test edi, edi
jle 0x1400e8899
mov r9, rdi
nop
movzx edx, byte [rbx]
inc rbx
mov eax, edx
shr rdx, 4
and eax, 0xf
movzx ecx, byte [rax + rsi]
movzx eax, cl
xor al, byte [rdx + rsi]
and al, 0xf
xor al, cl
mov byte [r8], al
inc r8
sub r9, 1
jne 0x1400e8870
add r8, r11
sub r10, 1
jne 0x1400e8867
mov r9d, 1
mov qword [rsp + 0x20], r15
mov r8d, r9d
mov edx, ebp
mov ecx, r13d
call qword [sym.imp.gdi32.dll_CreateBitmap]
mov rcx, r15
mov rbx, rax
call fcn.140098a60
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [r14 + 0x40], rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
Function at 0x1400ee960
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x1400ee996
call fcn.1400eeb90
cmp byte [rbx + 0x58], 0
je 0x1400ee98d
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x1400ee9a1
cmp eax, 0xcb
jne 0x1400eea25
mov rax, qword [rbx + 0x240]
cmp byte [rax + 0x20], 0
je 0x1400eea0c
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400ee9be
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x240]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x1400eea04
cmp eax, 2
je 0x1400eea0c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400ee9b0
dec eax
test eax, 0xfffffffd
jne 0x1400ee9b0
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x1400ee9b0
mov ecx, dword [rbx + 0x190]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x1400ee9b0
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400eea60
cmp eax, 0xcc
je 0x1400eea47
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400eea60
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor ebp, ebp
lea rsi, [rcx + 0x98]
cmp dword [rcx + 0x24], 0xcc
mov rbx, rcx
je 0x1400eea9c
mov rax, qword [rcx + 0x220]
call qword [rax]
mov dword [rsi], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x220]
mov qword [rsp + 0x30], rdi
cmp byte [rax + 0x10], bpl
je 0x1400eeb20
nop
mov eax, dword [rsi]
cmp eax, dword [rbx + 0x78]
jae 0x1400eeaf8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400eead6
mov dword [rcx + 8], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov rax, qword [rbx + 0x228]
xor r9d, r9d
mov edi, dword [rsi]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call qword [rax + 8]
mov eax, dword [rsi]
cmp eax, edi
je 0x1400eeb4e
cmp eax, dword [rbx + 0x78]
jb 0x1400eeab7
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
mov dword [rsi], ebp
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x10], bpl
jne 0x1400eeab0
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
xor al, al
jmp 0x1400eeb33
Function at 0x1400eea60
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x1400ee996
call fcn.1400eeb90
cmp byte [rbx + 0x58], 0
je 0x1400ee98d
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x1400ee9a1
cmp eax, 0xcb
jne 0x1400eea25
mov rax, qword [rbx + 0x240]
cmp byte [rax + 0x20], 0
je 0x1400eea0c
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400ee9be
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x240]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x1400eea04
cmp eax, 2
je 0x1400eea0c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400ee9b0
dec eax
test eax, 0xfffffffd
jne 0x1400ee9b0
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x1400ee9b0
mov ecx, dword [rbx + 0x190]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x1400ee9b0
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400eea60
cmp eax, 0xcc
je 0x1400eea47
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400eea60
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor ebp, ebp
lea rsi, [rcx + 0x98]
cmp dword [rcx + 0x24], 0xcc
mov rbx, rcx
je 0x1400eea9c
mov rax, qword [rcx + 0x220]
call qword [rax]
mov dword [rsi], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x220]
mov qword [rsp + 0x30], rdi
cmp byte [rax + 0x10], bpl
je 0x1400eeb20
nop
mov eax, dword [rsi]
cmp eax, dword [rbx + 0x78]
jae 0x1400eeaf8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400eead6
mov dword [rcx + 8], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov rax, qword [rbx + 0x228]
xor r9d, r9d
mov edi, dword [rsi]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call qword [rax + 8]
mov eax, dword [rsi]
cmp eax, edi
je 0x1400eeb4e
cmp eax, dword [rbx + 0x78]
jb 0x1400eeab7
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
mov dword [rsi], ebp
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x10], bpl
jne 0x1400eeab0
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
xor al, al
jmp 0x1400eeb33
Function at 0x1400fe060
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor eax, eax
mov rbx, r9
mov dword [r9], eax
mov edi, r8d
mov rbp, rdx
mov rsi, rcx
mov r14d, 0x40000000
mov ecx, dword [rsi + 0x1c]
mov r8d, edi
sub r8d, eax
mov edx, eax
cmp r8d, r14d
cmova r8d, r14d
add rdx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov edx, eax
test eax, eax
jle 0x1400fe0bc
mov eax, dword [rbx]
add eax, edx
mov dword [rbx], eax
cmp eax, edi
jb 0x1400fe091
test edx, edx
jns 0x1400fe0e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov edx, 0xffffffff
mov rcx, rsi
mov r8, rax
call fcn.1400fd790
mov eax, 0xffffffff
jmp 0x1400fe0f0
jne 0x1400fe0ee
mov dword [rsi + 0x50], 1
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400fe2d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
je 0x1400fe43b
xor r12d, r12d
cmp dword [rcx + 0x70], r12d
je 0x1400fe31d
mov rdx, qword [rcx + 0x68]
mov dword [rcx + 0x70], r12d
call fcn.1400fe460
cmp eax, 0xffffffff
je 0x1400fe43b
mov r15, r12
mov r13d, 0x40000000
mov eax, 0xffffffff
cmp rbp, rax
mov esi, eax
mov eax, dword [rbx]
cmovb esi, ebp
test eax, eax
je 0x1400fe35a
mov rdx, qword [rbx + 8]
cmp eax, esi
mov rcx, r14
cmovae eax, esi
mov r8d, eax
mov edi, eax
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 8], rdi
sub dword [rbx], edi
jmp 0x1400fe3e5
cmp dword [rbx + 0x50], r12d
je 0x1400fe36d
cmp dword [rbx + 0x88], r12d
je 0x1400fe411
mov ecx, dword [rbx + 0x44]
test ecx, ecx
je 0x1400fe3f6
mov eax, dword [rbx + 0x28]
add eax, eax
cmp esi, eax
jb 0x1400fe3f6
cmp ecx, 1
jne 0x1400fe3c6
mov edi, r12d
nop dword [rax]
mov ecx, dword [rbx + 0x1c]
mov r8d, esi
sub r8d, edi
mov edx, edi
cmp r8d, r13d
cmova r8d, r13d
add rdx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
test eax, eax
jle 0x1400fe3b7
add edi, eax
cmp edi, esi
jb 0x1400fe390
test eax, eax
js 0x1400fe41d
test eax, eax
jne 0x1400fe3e5
mov dword [rbx + 0x50], 1
jmp 0x1400fe3e5
mov rcx, rbx
mov dword [rbx + 0x98], esi
mov qword [rbx + 0x90], r14
call fcn.1400fde50
cmp eax, 0xffffffff
je 0x1400fe43b
mov edi, dword [rbx]
mov dword [rbx], r12d
mov eax, edi
sub rbp, rax
add r14, rax
add r15, rax
add qword [rbx + 0x10], rax
jmp 0x1400fe403
mov rcx, rbx
call fcn.1400fdfb0
cmp eax, 0xffffffff
je 0x1400fe43b
test rbp, rbp
jne 0x1400fe326
mov rax, r15
jmp 0x1400fe43d
mov dword [rbx + 0x54], 1
mov rax, r15
jmp 0x1400fe43d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov edx, 0xffffffff
mov rcx, rbx
mov r8, rax
call fcn.1400fd790
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140101ba0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, edx
call fcn.140101bc0
mov ecx, eax
call qword [sym.imp.user32.dll_GetKeyState]
cwde
and eax, 0xfffffffe
add rsp, 0x28
ret

Function at 0x140101c60
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x130
mov rax, qword [0x1401b3658]
xor rax, rsp
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x20]
mov ebx, edx
call qword [sym.imp.user32.dll_GetKeyboardState]
mov ecx, ebx
call fcn.140101bc0
movsxd rcx, eax
movzx eax, byte [rsp + rcx + 0x20]
and eax, 0xfffffffe
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14012cd90
add rsp, 0x130
pop rbx
ret
Function at 0x140103b70
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rbx, rcx
mov qword [rcx + 8], rsi
call fcn.140095b60
mov edx, 0xa0
mov dword [rsp + 0x38], eax
mov rcx, rbx
call fcn.14011c990
mov rdi, rax
test rax, rax
jne 0x140103bc6
mov rcx, rbx
call fcn.140097ca0
mov rcx, qword [rbx]
mov dword [rcx + 0x28], 0x38
mov rcx, qword [rbx]
mov dword [rcx + 0x2c], esi
mov rcx, rbx
mov rdx, qword [rbx]
call qword [rdx]
mov dword [rdi + 0x5c], 0x3b9aca00
lea rax, [fcn.1401039e0]
mov qword [rdi], rax
lea rcx, str.JPEGMEM
lea rax, [fcn.140103800]
mov qword [rdi + 8], rax
lea rax, [fcn.1401038f0]
mov qword [rdi + 0x10], rax
lea rax, [fcn.140103710]
mov qword [rdi + 0x18], rax
lea rax, [0x1401040b0]
mov qword [rdi + 0x20], rax
lea rax, [0x140104000]
mov qword [rdi + 0x28], rax
lea rax, [0x140103e30]
mov qword [rdi + 0x30], rax
lea rax, [0x1401034b0]
mov qword [rdi + 0x38], rax
lea rax, [0x140103240]
mov qword [rdi + 0x40], rax
lea rax, [0x140103ce0]
mov qword [rdi + 0x48], rax
lea rax, [0x140104160]
mov qword [rdi + 0x50], rax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x58], eax
mov qword [rdi + 0x68], rsi
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x60], rsi
mov qword [rdi + 0x70], rsi
mov qword [rdi + 0x80], rsi
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x90], 0xa0
mov qword [rbx + 8], rdi
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140103ccf
lea r9, [rsp + 0x30]
mov byte [rsp + 0x30], 0x78
lea r8, [rsp + 0x38]
mov rcx, rax
lea rdx, str._ld_c
call fcn.1400ab1d0
test eax, eax
jle 0x140103ccf
movzx eax, byte [rsp + 0x30]
sub al, 0x4d
test al, 0xdf
jne 0x140103cc2
imul eax, dword [rsp + 0x38], 0x3e8
jmp 0x140103cc6
mov eax, dword [rsp + 0x38]
imul eax, eax, 0x3e8
mov dword [rdi + 0x58], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14010b850
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r13
push r15
sub rsp, 0x30
mov r13d, dword [rcx + 0x64]
mov rdi, rcx
mov rbx, qword [rcx + 0x270]
cmp r13d, 1
mov r8d, 0x2fe
mov qword [rsp + 0x68], rbx
sete al
mov edx, 1
mov byte [rbx + 0x38], al
mov rax, qword [rcx + 8]
mov ecx, 0x100
mov r9d, dword [rdi + 0x7c]
cmovne r8d, ecx
mov rcx, rdi
call qword [rax + 0x10]
mov ebp, dword [rbx + 0x28]
xor r15d, r15d
mov qword [rbx + 0x30], rax
cmp dword [rdi + 0x7c], r15d
jle 0x14010b9d1
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x28], r12
lea r12, [rbx + 0x3c]
mov qword [rsp + 0x20], r14
xor r14d, r14d
nop dword [rax]
mov esi, dword [r12]
mov eax, ebp
cdq
idiv esi
mov ebp, eax
cmp r13d, 1
jne 0x14010b8ed
mov rax, qword [rbx + 0x30]
add qword [r14 + rax], 0xff
mov rax, qword [rbx + 0x30]
lea r11d, [rsi*2 - 2]
xor r8d, r8d
xor r10d, r10d
mov rdi, qword [r14 + rax]
lea eax, [rsi + 0xfe]
cdq
idiv r11d
xor ebx, ebx
mov r9d, eax
cmp r10d, r9d
jle 0x14010b947
imul ecx, r8d, 0x1fe
add ecx, 0xfe
add ecx, esi
nop word [rax + rax]
add ecx, 0x1fe
inc r8d
mov eax, ecx
cdq
idiv r11d
mov r9d, eax
cmp r10d, eax
jg 0x14010b930
movzx eax, r8b
inc r10d
movzx ecx, bpl
imul ecx, eax
mov byte [rbx + rdi], cl
inc rbx
cmp rbx, 0xff
jle 0x14010b912
cmp r13d, 1
jne 0x14010b9a3
mov ecx, r13d
lea rdx, [rdi - 1]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rdx], al
lea rdx, [rdx - 1]
movzx eax, byte [rdi + 0xff]
mov byte [rdi + rcx + 0xff], al
inc rcx
cmp rcx, 0xff
jle 0x14010b980
mov rax, qword [rsp + 0x60]
inc r15d
mov rbx, qword [rsp + 0x68]
add r12, 4
add r14, 8
cmp r15d, dword [rax + 0x7c]
jl 0x14010b8d0
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret