joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140089800
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov rdx, qword [rcx + 0x298]
add rdx, 0xe44
lea rcx, [r11 - 0x128]
nop
nop
nop
movzx eax, byte [rdx]
mov byte [rcx], al
add rdx, 1
add rcx, 1
test al, al
jne 0x140089850
lea rcx, [rsp + 0x140]
call fcn.1400b3390
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x30]
nop
nop
movzx eax, byte [rdx]
mov byte [rcx], al
add rdx, 1
add rcx, 1
test al, al
jne 0x140089880
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str..drv]
mov dword [rdi - 1], eax
movzx eax, word [0x1400fd44c]
mov word [rdi + 3], ax
lea rcx, [rsp + 0x30]
call fcn.1400b6540
mov rcx, qword [rbx + 0x298]
add rcx, 0x1c8
lea rdx, [0x1400fd440]
call fcn.1400b3b50
test rax, rax
je 0x140089904
mov rcx, qword [rbx + 0x298]
add rcx, 0x1c8
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rbx + 0x298]
add rcx, 0x1c8
xor edx, edx
call fcn.1400b8880
mov rcx, qword [rbx + 0x298]
add rcx, 0x1c8
cmp byte [rcx], 0
je 0x14008992c
lea rdx, [0x1400fd440]
call fcn.1400b3b50
test rax, rax
je 0x1400899c1
lea rcx, [rsp + 0x140]
lea rdx, [rsp + 0x30]
nop
nop
movzx eax, byte [rcx]
mov byte [rdx], al
add rcx, 1
add rdx, 1
test al, al
jne 0x140089940
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
lea rsi, [rsp + rcx + 0x2f]
mov rcx, rsi
call fcn.1400b23b0
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str..dll]
mov dword [rdi - 1], eax
movzx eax, byte [0x1400fd43c]
mov byte [rdi + 3], al
lea rcx, [rsp + 0x30]
call fcn.1400b6a90
test eax, eax
jne 0x140089966
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0x298]
add rcx, 0x1c8
nop
movzx eax, byte [rdx]
mov byte [rcx], al
add rdx, 1
add rcx, 1
test al, al
jne 0x1400899b0
mov eax, 1
jmp 0x1400899cd
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14008a180
Capabilities:
Create directory

Disassembly:
test rcx, rcx
je 0x14008a1ee
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x298]
add rcx, 0xe44
cmp byte [rcx], 0
je 0x14008a1e9
call fcn.1400b6a90
test eax, eax
jne 0x14008a1bf
mov rcx, qword [rbx + 0x298]
xor edx, edx
add rcx, 0xe44
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rcx, qword [rbx + 0x298]
add rcx, 0xe44
call fcn.1400b6a90
test eax, eax
je 0x14008a1e9
mov rcx, qword [rbx + 0x298]
add rcx, 0xe44
call fcn.1400b7a30
add rsp, 0x20
pop rbx
ret 0

Function at 0x14008a200
Capabilities:
Check os version

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x94
call fcn.1400c2840
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x24], 5
jne 0x14008a269
cmp dword [rsp + 0x28], 0
jne 0x14008a269
mov eax, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400c2a20
add rsp, 0xd8
ret
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400c2a20
add rsp, 0xd8
ret
Function at 0x14008ab30
Capabilities:
Persist via run registry key

Disassembly:
push rdi
sub rsp, 0x470
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x490], rbx
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rdx
mov rbx, rcx
mov r8d, 0x200
lea rdx, [rsp + 0x260]
lea rcx, [0x1400fcf68]
call fcn.1400b31f0
mov r8, rax
lea rdx, str.CLSID_s
lea rcx, [rsp + 0x60]
call fcn.1400c2cf0
lea rcx, [rsp + 0x38]
call fcn.1400b23b0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000000
call fcn.14006eac0
mov qword [rsp + 0x20], 0
mov r9, rbx
lea r8, str.InprocServer32
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000000
call fcn.14006eac0
lea r11, str.ThreadingModel
mov qword [rsp + 0x20], r11
lea r9, str.Apartment
lea r8, str.InprocServer32
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000000
call fcn.14006eac0
lea r11, str.XmLdrStub
mov qword [rsp + 0x20], r11
mov r9, rdi
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call fcn.14006eac0
nop
xor eax, eax
jmp 0x14008ac37
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400c2a20
mov rbx, qword [rsp + 0x490]
add rsp, 0x470
pop rdi
ret
Function at 0x14008d1d0
Capabilities:
Delete file
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x610
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x648], rbx
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x600], rax
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x14008d44a
test rdx, rdx
je 0x14008d44a
mov ebx, 1
mov rdx, qword [0x140167898]
lea rcx, [rsp + 0x30]
call fcn.14001da20
nop
cmp dword [0x140167dec], 0
je 0x14008d267
nop
nop
xor r8d, r8d
lea rdx, [0x1401679a8]
lea rcx, [rsp + 0x30]
call fcn.140002ce0
mov ebx, eax
cmp eax, 1
je 0x14008d267
call fcn.140007860
mov ebx, eax
cmp eax, 1
je 0x14008d240
lea rcx, [rsp + 0x78]
lea rax, [rsp + 0x78]
sub rdi, rax
nop
nop
nop
movzx eax, byte [rcx]
mov byte [rdi + rcx], al
add rcx, 1
test al, al
jne 0x14008d280
cmp dword [0x140167dec], 0
jne 0x14008d43c
cmp dword [0x1401673d4], 0
je 0x14008d43c
mov rdx, qword [0x140167898]
lea rcx, [rsp + 0x180]
call fcn.14001e090
nop
cmp dword [0x140167ef4], 0
jne 0x14008d3f8
mov byte [rsp + 0x4f0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x4f1]
call fcn.1400c2840
mov byte [rsp + 0x3e0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x3e1]
call fcn.1400c2840
lea rdx, [rsp + 0x4f0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r9, [rsp + 0x3e0]
mov r8d, 0xabcd
lea rdx, [0x1400e5d10]
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x3e0]
repne scasb al, byte [rdi]
not rcx
lea rax, [rsp + 0x3e0]
mov byte [rcx + rax - 4], 0
lea rdi, [rsp + 0x3e0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str.html]
mov dword [rdi - 1], eax
movzx eax, byte [0x1400ef2a0]
mov byte [rdi + 3], al
xor r9d, r9d
mov r8d, 0xb0
lea rdx, [rsp + 0x3e0]
mov rcx, qword [0x140167678]
call fcn.1400b8c10
xor edx, edx
nop
movzx eax, byte [rsp + rdx + 0x3e0]
mov byte [rsp + rdx + 0x2d0], al
add rdx, 1
test al, al
jne 0x14008d3a0
cmp ebx, 1
jne 0x14008d3ea
nop
xor r8d, r8d
lea rdx, [0x1401679a8]
lea rcx, [rsp + 0x180]
call fcn.140002ce0
mov ebx, eax
cmp eax, 1
je 0x14008d3ea
call fcn.140007860
mov ebx, eax
cmp eax, 1
je 0x14008d3c0
lea rcx, [rsp + 0x3e0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [rsp + 0x1c4]
mov dword [rbp], eax
lea rcx, [rsp + 0x1cc]
lea rax, [rsp + 0x1cc]
sub rsi, rax
nop
nop
nop
movzx eax, byte [rcx]
mov byte [rsi + rcx], al
add rcx, 1
test al, al
jne 0x14008d420
lea rcx, [rsp + 0x180]
call fcn.140002850
nop
lea rcx, [rsp + 0x30]
call fcn.140002850
mov eax, ebx
jmp 0x14008d44f
mov eax, 2
mov rcx, qword [rsp + 0x600]
xor rcx, rsp
call fcn.1400c2a20
mov rbx, qword [rsp + 0x648]
add rsp, 0x610
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008d940
Capabilities:
Accept command line arguments

Disassembly:
test rcx, rcx
je 0x14008db9b
mov rax, rsp
push rdi
sub rsp, 0x480
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbp, rcx
cmp dword [0x140167dec], 0
jne 0x14008db73
cmp edx, 1
je 0x14008db73
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rsi, rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x140]
call fcn.1400c2840
xor ebx, ebx
mov r9d, ebx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
cmp rcx, 1
je 0x14008da06
lea rdx, [rsp + 0x140]
mov r8, rsi
movzx eax, byte [r8]
cmp al, 0x22
je 0x14008d9e4
mov byte [rdx], al
add rdx, 1
add r9d, 1
add r8, 1
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov eax, r9d
cmp rax, rcx
jb 0x14008d9d6
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x251]
call fcn.1400c2840
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x31]
call fcn.1400c2840
mov byte [rsp + 0x30], bl
mov byte [rsp + 0x250], bl
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 1
je 0x14008da80
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x250]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 1
je 0x14008da80
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x30]
call fcn.1400c2e00
test rax, rax
jne 0x14008db16
lea rdx, [0x1400e5fac]
lea rcx, [rsp + 0x30]
call fcn.1400c2e00
test rax, rax
je 0x14008daad
mov rcx, rbx
nop
nop
movzx eax, byte [rsp + rcx + 0x30]
add rcx, 1
test al, al
jne 0x14008daa0
cmp dword [0x140167ef4], ebx
jne 0x14008db16
mov rax, qword [0x140160e18]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400e4ec8]
lea rcx, [rsp + 0x20]
call fcn.14002d430
xor r8d, r8d
mov edx, 0xdbf0
lea rcx, [rsp + 0x20]
call fcn.14002e500
nop
mov r8, qword [rsp + 0x20]
mov edx, 0x24
mov rcx, qword [0x140167898]
call fcn.1400b5a00
mov edi, ebx
mov ecx, 1
cmp eax, 6
cmove edi, ecx
lea rcx, [rsp + 0x20]
call fcn.14002d2c0
test edi, edi
je 0x14008db73
cmp byte [0x140168bc0], 0
je 0x14008db43
lea rcx, [0x140168bc0]
nop
nop
nop
movzx eax, byte [rbx + rcx]
mov byte [rsp + rbx + 0x140], al
add rbx, 1
test al, al
jne 0x14008db30
mov rcx, qword [rbp + 0x298]
add rcx, 0x1ba4
mov r8d, 0x104
lea rdx, [rsp + 0x140]
call fcn.1400b85c0
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.1400b8880
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret 0
Function at 0x14008d949
Capabilities:
Accept command line arguments

Disassembly:
test rcx, rcx
je 0x14008db9b
mov rax, rsp
push rdi
sub rsp, 0x480
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbp, rcx
cmp dword [0x140167dec], 0
jne 0x14008db73
cmp edx, 1
je 0x14008db73
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rsi, rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x140]
call fcn.1400c2840
xor ebx, ebx
mov r9d, ebx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
cmp rcx, 1
je 0x14008da06
lea rdx, [rsp + 0x140]
mov r8, rsi
movzx eax, byte [r8]
cmp al, 0x22
je 0x14008d9e4
mov byte [rdx], al
add rdx, 1
add r9d, 1
add r8, 1
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov eax, r9d
cmp rax, rcx
jb 0x14008d9d6
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x251]
call fcn.1400c2840
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x31]
call fcn.1400c2840
mov byte [rsp + 0x30], bl
mov byte [rsp + 0x250], bl
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 1
je 0x14008da80
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x250]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 1
je 0x14008da80
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x30]
call fcn.1400c2e00
test rax, rax
jne 0x14008db16
lea rdx, [0x1400e5fac]
lea rcx, [rsp + 0x30]
call fcn.1400c2e00
test rax, rax
je 0x14008daad
mov rcx, rbx
nop
nop
movzx eax, byte [rsp + rcx + 0x30]
add rcx, 1
test al, al
jne 0x14008daa0
cmp dword [0x140167ef4], ebx
jne 0x14008db16
mov rax, qword [0x140160e18]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400e4ec8]
lea rcx, [rsp + 0x20]
call fcn.14002d430
xor r8d, r8d
mov edx, 0xdbf0
lea rcx, [rsp + 0x20]
call fcn.14002e500
nop
mov r8, qword [rsp + 0x20]
mov edx, 0x24
mov rcx, qword [0x140167898]
call fcn.1400b5a00
mov edi, ebx
mov ecx, 1
cmp eax, 6
cmove edi, ecx
lea rcx, [rsp + 0x20]
call fcn.14002d2c0
test edi, edi
je 0x14008db73
cmp byte [0x140168bc0], 0
je 0x14008db43
lea rcx, [0x140168bc0]
nop
nop
nop
movzx eax, byte [rbx + rcx]
mov byte [rsp + rbx + 0x140], al
add rbx, 1
test al, al
jne 0x14008db30
mov rcx, qword [rbp + 0x298]
add rcx, 0x1ba4
mov r8d, 0x104
lea rdx, [rsp + 0x140]
call fcn.1400b85c0
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.1400b8880
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret 0
Function at 0x14008fe60
Capabilities:
Delete file
Get common file path
Get file size
Read file on windows

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x290
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov ebx, ecx
xor esi, esi
mov qword [rsp + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
lea rdx, str._is_d
lea rcx, [rsp + 0x170]
call qword [sym.imp.USER32.dll_wsprintfA]
mov byte [rsp + 0x60], sil
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x61]
call fcn.1400c2840
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x14008fefe
lea rcx, [rsp + 0x60]
movzx eax, word [0x1400fdbd8]
mov word [rcx], ax
movzx eax, byte [0x1400fdbda]
mov byte [rcx + 2], al
lea rcx, [rsp + 0x60]
call fcn.1400b3390
lea rdi, [rsp + 0x60]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea r8, [rsp + 0x170]
xor edx, edx
nop
movzx eax, byte [r8 + rdx]
mov byte [rdi + rdx - 1], al
add rdx, 1
test al, al
jne 0x14008ff20
lea rdi, [rsp + 0x60]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [0x1400ea9f8]
mov dword [rdi - 1], eax
movzx eax, byte [0x1400ea9fc]
mov byte [rdi + 3], al
lea rdx, [rsp + 0x60]
mov ecx, ebx
call fcn.14008dc00
lea rcx, [rsp + 0x60]
call fcn.1400b6a90
test eax, eax
je 0x14008fff9
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14008fff9
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [rax + 1]
mov edi, ecx
call fcn.1400c7310
mov rsi, rax
mov qword [rsp + 0x40], rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1400c2840
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, ebx
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rax, rsi
jmp 0x14009000f
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x140092530
Capabilities:
Encode data using xor

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, 0x160
mov r11, rcx
lea r9, [rsp + 0x20]
lea rdx, [rcx + 8]
mov r10d, 0x10
mov rcx, r11
call fcn.140092500
add r9, 4
add rdx, 4
sub r10, 1
mov dword [r9 - 4], eax
jne 0x140092561
lea rdx, [rsp + 0x28]
lea r8d, [r10 + 0x40]
nop
nop
nop
mov ecx, dword [rdx + 0x2c]
add rdx, 4
xor ecx, dword [rdx + 0x14]
xor ecx, dword [rdx - 0xc]
xor ecx, dword [rdx - 4]
lea eax, [rcx + rcx]
shr ecx, 0x1f
or eax, ecx
sub r8, 1
mov dword [rdx + 0x34], eax
jne 0x140092590
mov r14d, dword [r11 + 0x4c]
mov r15d, dword [r11 + 0x50]
mov r8d, dword [r11 + 0x54]
mov ebx, dword [r11 + 0x58]
mov r12d, dword [r11 + 0x5c]
mov esi, SafeArrayGetElement
mov r13d, r14d
mov r9d, r15d
lea rdi, [rsp + 0x20]
mov rbp, rsi
nop
nop
mov eax, r8d
mov edx, r9d
mov ecx, r13d
and eax, r9d
not edx
shl ecx, 5
and edx, ebx
add rdi, 4
or edx, eax
mov eax, r13d
shr eax, 0x1b
or ecx, eax
add edx, ecx
add edx, dword [rdi - 4]
lea r10d, [rdx + r12 + 0x5a827999]
mov r12d, ebx
mov ebx, r8d
mov r8d, r9d
shr r9d, 2
shl r8d, 0x1e
or r8d, r9d
sub rbp, 1
mov r9d, r13d
mov r13d, r10d
jne 0x1400925e0
lea rdx, [rsp + 0x70]
mov rdi, rsi
nop
nop
nop
mov ecx, r10d
shr r10d, 0x1b
mov eax, ebx
xor eax, r8d
shl ecx, 5
add rdx, 4
or ecx, r10d
xor eax, r9d
add ecx, eax
add ecx, dword [rdx - 4]
lea r10d, [rcx + r12 + 0x6ed9eba1]
mov r12d, ebx
mov ebx, r8d
mov r8d, r9d
shr r9d, 2
shl r8d, 0x1e
or r8d, r9d
sub rdi, 1
mov r9d, r13d
mov r13d, r10d
jne 0x140092640
lea rdx, [rsp + 0xc0]
mov rdi, rsi
nop
nop
nop
nop
mov ecx, r8d
mov eax, r8d
add rdx, 4
or ecx, r9d
and eax, r9d
and ecx, ebx
or ecx, eax
mov eax, r10d
shr r10d, 0x1b
shl eax, 5
or eax, r10d
add ecx, eax
add ecx, dword [rdx - 4]
lea r10d, [rcx + r12 - 0x70e44324]
mov r12d, ebx
mov ebx, r8d
mov r8d, r9d
shr r9d, 2
shl r8d, 0x1e
or r8d, r9d
sub rdi, 1
mov r9d, r13d
mov r13d, r10d
jne 0x1400926a0
lea rdx, [rsp + 0x110]
nop
nop
nop
mov ecx, r10d
shr r10d, 0x1b
mov eax, ebx
xor eax, r8d
shl ecx, 5
add rdx, 4
or ecx, r10d
xor eax, r9d
add ecx, eax
add ecx, dword [rdx - 4]
lea r10d, [rcx + r12 - 0x359d3e2a]
mov r12d, ebx
mov ebx, r8d
mov r8d, r9d
shr r9d, 2
shl r8d, 0x1e
or r8d, r9d
sub rsi, 1
mov r9d, r13d
mov r13d, r10d
jne 0x140092700
lea eax, [r14 + r10]
mov dword [r11 + 0x4c], eax
lea eax, [r15 + r9]
mov dword [r11 + 0x50], eax
mov eax, dword [r11 + 0x54]
add eax, r8d
mov dword [r11 + 0x54], eax
mov eax, dword [r11 + 0x58]
add eax, ebx
mov dword [r11 + 0x58], eax
mov eax, dword [r11 + 0x5c]
add eax, r12d
mov dword [r11 + 0x5c], eax
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400927a0
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov dword [rcx + 0x4c], 0x67452301
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x58], 0x10325476
mov dword [rcx + 0x5c], 0xc3d2e1f0
mov dword [rcx], eax
mov dword [rcx + 4], eax
lea r8d, [rax + 0x40]
add rcx, 8
xor edx, edx
call fcn.1400c2840
xor eax, eax
mov word [rbx + 0x48], 0
mov qword [rbx + 0x60], rax
mov qword [rbx + 0x68], rax
mov dword [rbx + 0x70], eax
add rsp, 0x20
pop rbx
ret
Function at 0x140092d60
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x390
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x34], 1
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400c2840
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x170]
call fcn.1400c2840
lea rbx, [0x1400fdf40]
mov rcx, rbx
lea rdx, [rsp + 0x60]
nop
movzx eax, byte [rcx]
mov byte [rdx], al
add rcx, 1
add rdx, 1
test al, al
jne 0x140092de0
mov dword [rsp + 0x30], 0x104
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 1
jne 0x140092e41
lea rdx, [rsp + 0x60]
nop
nop
nop
movzx eax, byte [rbx]
mov byte [rdx], al
add rbx, 1
add rdx, 1
test al, al
jne 0x140092e30
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x208
lea r8, [rsp + 0x170]
lea rcx, [rsp + 0x60]
call fcn.1400929f0
lea rdx, [0x1400fdfa4]
lea rcx, [rsp + 0x170]
call fcn.1400c2e00
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140092e98
mov byte [rax], 0
lea rdi, [rsp + 0x170]
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x170]
call fcn.1400e23d0
movzx eax, byte [rdi]
test al, al
je 0x140092ed7
cmp al, 0x61
jl 0x140092ec1
cmp al, 0x7a
jle 0x140092ecc
cmp al, 0x30
jl 0x140092ec9
cmp al, 0x39
jle 0x140092ecc
mov byte [rdi], 0x6d
add rdi, 1
mov qword [rsp + 0x38], rdi
jmp 0x140092eb2
mov byte [rsp + 0x174], 0
lea r8, [rsp + 0x170]
lea rdx, str.ms_swin
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfA]
mov byte [rsi + 0xc], 0
mov eax, 1
jmp 0x140092f06
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140092f60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov r8d, edx
xor edx, edx
mov rdi, rcx
call fcn.1400c2840
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140095c10
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x170
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, r8
xor ebx, ebx
mov qword [rsp + 0x30], rbx
lea rsi, [0x140100cf8]
test rdx, rdx
cmovne rsi, rdx
cmp ecx, 2
jne 0x140095c97
mov ecx, 0x2a8
call fcn.14008c4a0
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140095c8d
mov qword [rsp + 0x20], rbx
lea r9, str.SOFTWAREClassesCLSID6A6A1EAE_13E1_4dc7_8014_B7677EF6D47AOLEShellCommands
lea r8d, [rbx + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1400959a0
mov rbx, rax
mov qword [rsp + 0x30], rbx
jmp 0x140095d68
cmp ecx, 1
jne 0x140095d29
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rcx + 0x28]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rcx, [rsp + 0x50]
call fcn.1400b3390
lea rdi, [rsp + 0x50]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, str.ocxdrv32.dll
xor ecx, ecx
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x140095ce0
mov ecx, 0x2a8
call fcn.14008c4a0
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140095d22
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
mov r8d, 1
mov rdx, rsi
mov rcx, rax
call fcn.1400959a0
mov rbx, rax
mov qword [rsp + 0x30], rbx
jmp 0x140095d68
cmp ecx, 4
jne 0x140095d68
test r8, r8
je 0x140095d68
mov ecx, 0x2a8
call fcn.14008c4a0
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140095d63
mov qword [rsp + 0x20], rbx
mov r9, rdi
mov r8d, 1
mov rdx, rsi
mov rcx, rax
call fcn.1400959a0
mov rbx, rax
mov qword [rsp + 0x30], rbx
mov rax, rbx
jmp 0x140095d72
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140096020
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, rdx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
test rdx, rdx
je 0x1400960eb
test r8, r8
je 0x1400960eb
mov qword [rsp + 0x28], rbx
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1400960b3
lea rcx, str.secur32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400960b3
lea rdx, str.GetUserNameExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400960b3
lea r8, [rsp + 0x60]
mov rdx, rsi
mov ecx, 2
call rax
movzx edi, al
mov dword [rsp + 0x20], edi
test al, al
jne 0x1400960c7
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edi, eax
mov dword [rsp + 0x20], eax
jmp 0x1400960d2
test rbx, rbx
je 0x1400960e1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
jmp 0x1400960e7
mov eax, edi
jmp 0x1400960ed
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret