joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021f80
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
mov eax, 0x1060
call fcn.14022c7f0
sub rsp, rax
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x1050], rax
xor r14d, r14d
mov rsi, rdx
mov dword [rdx], r14d
mov rdi, rcx
xor edx, edx
mov dword [rsp + 0x40], r14d
mov r8d, 0x1000
lea rcx, [rsp + 0x50]
call fcn.14022eb00
mov qword [rsp + 0x30], r14
lea r8d, [r14 + 1]
mov dword [rsp + 0x28], 0x8000000
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov ebx, r14d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140022008
xor eax, eax
jmp 0x14002218c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r14
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002217c
mov qword [rsp + 0x1090], rbp
lea rbp, [0x14026b380]
nop
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140022174
lea rdx, [rsp + 0x50]
mov r8d, eax
not ebx
cmp rax, 8
jb 0x140022125
mov r9d, eax
shr r9, 3
imul rax, r9, 0xfffffffffffffff8
add r8, rax
nop
movzx ecx, byte [rdx]
mov eax, ebx
xor rcx, rax
shr ebx, 8
movzx eax, cl
movzx ecx, byte [rdx + 1]
xor ebx, dword [rbp + rax*4]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [rdx + 2]
xor ebx, dword [rbp + rax*4]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [rdx + 3]
xor ebx, dword [rbp + rax*4]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [rdx + 4]
xor ebx, dword [rbp + rax*4]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [rdx + 5]
xor ebx, dword [rbp + rax*4]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [rdx + 6]
xor ebx, dword [rbp + rax*4]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [rdx + 7]
add rdx, 8
xor ebx, dword [rbp + rax*4]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
xor ebx, dword [rbp + rax*4]
sub r9, 1
jne 0x140022080
test r8, r8
je 0x14002214c
nop word [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
xor ebx, dword [rbp + rax*4]
sub r8, 1
jne 0x140022130
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r14
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rdi
not ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140022050
mov rbp, qword [rsp + 0x1090]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov dword [rsi], ebx
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1401f74b0
mov rbx, qword [rsp + 0x1098]
add rsp, 0x1060
pop r14
pop rdi
pop rsi
ret
Function at 0x140022c70
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
lea rax, [rsp + 0x3c]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x140022cda
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
imul rcx, rax
mov eax, dword [rsp + 0x38]
imul rcx, rax
mov eax, 1
mov qword [rbx], rcx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401f74b0
add rsp, 0x50
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401f74b0
add rsp, 0x50
pop rbx
ret

Function at 0x140022e90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x140022f39
call fcn.140019590
mov rdx, rax
test rax, rax
je 0x140022fc5
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbx], rax
lea rdi, [0x140267540]
mov rdx, rdi
mov rcx, rbx
call fcn.140018bb0
test al, al
jne 0x140022f37
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140022f20
mov rdx, rdi
mov rcx, rbx
call fcn.140018f50
nop
jmp 0x140022f99
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x140022fc5
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140018bb0
test al, al
jne 0x140022f99
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140022f80
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140018f50
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401f74b0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019300
int3

Function at 0x140022fd0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x14002308d
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140018bb0
test al, al
jne 0x140023069
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140023050
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140018f50
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401f74b0
add rsp, 0x250
pop rbx
ret
mov ecx, 0x80004005
call fcn.140019300
int3
Function at 0x1400248e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140024a4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x140024934
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jl 0x140024a34
xor edi, edi
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x140024a73
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140018bb0
lea rbx, [rdi - 1]
test al, al
jne 0x1400249ad
test rsi, rsi
je 0x14002499c
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140024990
mov edi, eax
mov r8d, edi
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140018f50
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140024080
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp esi, 0xffffffff
je 0x140024a07
test sil, 0x10
jne 0x140024a07
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140024a43
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov eax, 1
jmp 0x140024a56
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140024a2a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
cmp edi, 2
je 0x140024a4a
cmp edi, 3
je 0x140024a4a
cmp edi, 0x7b
je 0x140024a4a
cmp edi, 0x35
je 0x140024a4a
cmp edi, 0x43
je 0x140024a4a
mov eax, 1
jmp 0x140024a56
xor eax, eax
jmp 0x140024a56
shr eax, 4
not eax
and eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401f74b0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019300
int3

Function at 0x140024ca0
Capabilities:
Get file size

Disassembly:
push rdi
sub rsp, 0x40
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140024cd6
add rsp, 0x40
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x50], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140024d00
Capabilities:
Get file size

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140024d52
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401f74b0
add rsp, 0x50
pop rdi
ret
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x68]
cmovne rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401f74b0
add rsp, 0x50
pop rdi
ret
Function at 0x140024da0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x140024e08
mov rdx, qword [r14]
sub rdx, 0x18
mov esi, 0xffffffff
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140024dfe
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov eax, 1
jmp 0x140024fab
mov qword [rsp + 0x38], rbx
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x140024fce
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov rcx, qword [r14]
mov esi, 0xffffffff
cmp dword [rcx - 0x10], 0
jge 0x140024e46
mov eax, esi
jmp 0x140024e61
lea rdx, [0x140267514]
call fcn.1401f92c8
test rax, rax
jne 0x140024e5b
mov eax, esi
jmp 0x140024e61
sub rax, qword [r14]
sar rax, 1
lea edi, [rax + 1]
mov rcx, qword [r14]
test edi, edi
js 0x140024f52
cmp edi, dword [rcx - 0x10]
jg 0x140024f52
movsxd rax, edi
lea rcx, [rcx + rax*2]
lea rdx, [0x140267514]
call fcn.1401f92c8
mov rdi, rax
test rax, rax
je 0x140024f52
sub rdi, qword [r14]
sar rdi, 1
cmp edi, 0xffffffff
je 0x140024f52
mov r8d, edi
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.140029210
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140024f16
cmp dword [rbx + 0x10], 0
jl 0x140024f07
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140024f07
call fcn.140019180
mov rbp, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140024efc
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
mov rax, qword [r8 + 8]
call qword [case.0x140038ca6.0]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x38], rax
jmp 0x140024f16
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140018f50
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140024f3b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
xor edx, edx
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
inc edi
jmp 0x140024e64
xor edx, edx
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [r14]
call fcn.1400247b0
mov edi, eax
lea rdx, [rbx - 0x18]
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140024f88
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140024fa9
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401f74b0
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140019300
int3
Function at 0x140027e10
Capabilities:
Log keystrokes

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rsi
je 0x140027e81
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x38], rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edx, edx
mov rcx, rsi
mov edi, eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, 1
mov ecx, edi
mov edx, eax
mov ebx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_BringWindowToTop]
xor r8d, r8d
mov edx, ebx
mov ecx, edi
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret
Function at 0x140028980
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
xor eax, eax
mov qword [rcx], rax
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x140028ab4
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x30], 1
mov rax, qword [rbx]
mov r8d, 1
sub r8d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, 0x104
or ecx, r8d
jge 0x1400289f2
mov edx, 0x104
mov rcx, rbx
call fcn.140018ea0
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140028a18
mov eax, edi
jmp 0x140028a29
movsxd rdx, dword [rcx - 0xc]
call fcn.1401fe5d0
test eax, eax
js 0x140028abf
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140028abf
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], di
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14001dba0
nop
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 1
jne 0x140028a69
cmp word [rcx], 0x5c
jne 0x140028a69
xor dil, dil
jmp 0x140028a6c
mov dil, 1
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028a94
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
test dil, dil
je 0x140028aa6
mov edx, 0x5c
mov rcx, rbx
call fcn.14002a010
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019300
int3
mov ecx, 0x80070057
call fcn.140019300
int3
Function at 0x140028dc0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov r8d, ecx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140028e09
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
ret
Function at 0x14002b090
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
mov eax, 0x10a8
call fcn.14022c7f0
sub rsp, rax
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rax, r8
mov r14, rdx
mov r15, rcx
test dl, 7
je 0x14002b0c8
xor eax, eax
jmp 0x14002b201
cmp r9d, 0xffffffff
jne 0x14002b0df
mov r9, 0xffffffffffffffff
inc r9
cmp byte [r8 + r9], 0
jne 0x14002b0d5
mov r8d, r9d
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.14002abe0
xor r9d, r9d
shr r14, 2
test r14, r14
je 0x14002b1fc
mov qword [rsp + 0x10c8], rbx
mov eax, r9d
mov qword [rsp + 0x10a0], rbp
mov qword [rsp + 0x1098], rsi
mov qword [rsp + 0x1090], rdi
mov qword [rsp + 0x1088], r12
mov r12d, dword [rsp + 0x64]
mov qword [rsp + 0x1080], r13
mov r13d, dword [rsp + 0x60]
nop dword [rax]
lea rdi, [r15 + rax*4]
mov ebx, InitCommonControls
mov eax, dword [rdi]
lea ecx, [r9 + 1]
mov ebp, dword [r15 + rcx*4]
lea rsi, [r15 + rcx*4]
lea r10, [rsp + 0x20]
nop dword [rax]
xor eax, dword [r10]
lea r10, [r10 + 4]
mov ecx, eax
mov r8d, eax
mov r11d, eax
shr ecx, 8
mov edx, ecx
shr rcx, 8
mov rax, rcx
movzx ecx, cl
shr rax, 8
mov eax, dword [rsp + rax*4 + 0x68]
add eax, dword [rsp + rcx*4 + 0x468]
movzx ecx, dl
xor eax, dword [rsp + rcx*4 + 0x868]
movzx ecx, r8b
add eax, dword [rsp + rcx*4 + 0xc68]
xor eax, ebp
mov ebp, r11d
sub rbx, 1
jne 0x14002b160
add r9d, 2
mov ecx, r12d
xor ecx, r11d
mov dword [rdi], ecx
mov ecx, r13d
xor ecx, eax
mov eax, r9d
mov dword [rsi], ecx
cmp rax, r14
jb 0x14002b140
mov r13, qword [rsp + 0x1080]
mov r12, qword [rsp + 0x1088]
mov rdi, qword [rsp + 0x1090]
mov rsi, qword [rsp + 0x1098]
mov rbp, qword [rsp + 0x10a0]
mov rbx, qword [rsp + 0x10c8]
mov eax, 1
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.1401f74b0
add rsp, 0x10a8
pop r15
pop r14
ret
Function at 0x14002b220
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
mov eax, 0x10a8
call fcn.14022c7f0
sub rsp, rax
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rax, r8
mov rbp, rdx
mov r15, rcx
test rdx, rdx
je 0x14002b3a4
test bpl, 7
jne 0x14002b3a4
cmp r9d, 0xffffffff
jne 0x14002b27a
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [r8 + r9], 0
jne 0x14002b270
mov r8d, r9d
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.14002abe0
xor r9d, r9d
shr rbp, 2
test rbp, rbp
je 0x14002b39d
mov qword [rsp + 0x10c8], rbx
mov eax, r9d
mov qword [rsp + 0x10a0], rsi
mov qword [rsp + 0x1098], rdi
mov qword [rsp + 0x1090], r12
mov r12d, dword [rsp + 0x24]
mov qword [rsp + 0x1088], r13
mov r13d, dword [rsp + 0x20]
mov qword [rsp + 0x1080], r14
nop word [rax + rax]
lea rdi, [r15 + rax*4]
mov ebx, InitCommonControls
mov eax, dword [rdi]
lea ecx, [r9 + 1]
mov r14d, dword [r15 + rcx*4]
lea rsi, [r15 + rcx*4]
lea r10, [rsp + 0x64]
nop dword [rax]
xor eax, dword [r10]
lea r10, [r10 - 4]
mov ecx, eax
mov r8d, eax
mov r11d, eax
shr ecx, 8
mov edx, ecx
shr rcx, 8
mov rax, rcx
movzx ecx, cl
shr rax, 8
mov eax, dword [rsp + rax*4 + 0x68]
add eax, dword [rsp + rcx*4 + 0x468]
movzx ecx, dl
xor eax, dword [rsp + rcx*4 + 0x868]
movzx ecx, r8b
add eax, dword [rsp + rcx*4 + 0xc68]
xor eax, r14d
mov r14d, r11d
sub rbx, 1
jne 0x14002b300
add r9d, 2
mov ecx, r13d
xor ecx, r11d
mov dword [rdi], ecx
mov ecx, r12d
xor ecx, eax
mov eax, r9d
mov dword [rsi], ecx
cmp rax, rbp
jb 0x14002b2e0
mov r14, qword [rsp + 0x1080]
mov r13, qword [rsp + 0x1088]
mov r12, qword [rsp + 0x1090]
mov rdi, qword [rsp + 0x1098]
mov rsi, qword [rsp + 0x10a0]
mov rbx, qword [rsp + 0x10c8]
mov eax, 1
jmp 0x14002b3a6
xor eax, eax
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.1401f74b0
add rsp, 0x10a8
pop r15
pop rbp
ret
Function at 0x14002c620
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x120
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rbp], rax
xor eax, eax
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x60], rax
mov r8, 0xffffffffffffffff
mov dword [rbp - 0x70], 0x67452301
mov dword [rbp - 0x6c], 0xefcdab89
mov dword [rbp - 0x68], 0x98badcfe
mov dword [rbp - 0x64], 0x10325476
inc r8
cmp byte [rcx + r8], al
jne 0x14002c677
mov rdx, rcx
lea rcx, [rbp - 0x70]
call fcn.14002bb20
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x10]
call fcn.14002bc30
movzx eax, byte [rbp - 1]
movzx edx, byte [rbp - 2]
movzx r10d, byte [rbp - 3]
movzx r11d, byte [rbp - 4]
movzx ecx, byte [rbp - 0xc]
movzx ebx, byte [rbp - 5]
movzx edi, byte [rbp - 6]
movzx esi, byte [rbp - 7]
movzx r14d, byte [rbp - 8]
movzx r15d, byte [rbp - 9]
movzx r12d, byte [rbp - 0xa]
movzx r13d, byte [rbp - 0xb]
movzx r9d, byte [rbp - 0xf]
movzx r8d, byte [rbp - 0x10]
mov dword [rsp + 0x88], eax
movzx eax, byte [rbp - 0xd]
mov dword [rsp + 0x80], edx
lea rdx, str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
mov dword [rsp + 0x78], r10d
mov dword [rsp + 0x70], r11d
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp - 0x80]
mov dword [rsp + 0x28], eax
movzx eax, byte [rbp - 0xe]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1401f74b0
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002ce80
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx]
cmp dword [rcx - 0x10], esi
je 0x14002cefc
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rbx]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], esi
je 0x14002cefc
cmp dword [rdx + 0x10], esi
jge 0x14002cec6
cmp dword [rax - 0xc], esi
jl 0x14002cf29
mov dword [rax - 0x10], esi
mov rax, qword [rbx]
mov word [rax], si
jmp 0x14002cefc
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002cee5
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbx], rax
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002cf19
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
mov qword [rbx + 8], rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.140019300
int3
Function at 0x14002d880
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x401
xor eax, eax
mov qword [rcx], rax
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x14002d95b
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbx], rax
mov r8d, 1
mov dword [rsp + 0x20], r8d
mov rax, qword [rbx]
sub r8d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, 0x401
or r8d, ecx
jge 0x14002d906
mov edx, 0x401
mov rcx, rbx
call fcn.140029ac0
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002d92c
movsxd rdx, dword [rcx - 0xc]
call fcn.1401fe480
mov rdi, rax
test eax, eax
js 0x14002d966
mov rcx, qword [rbx]
cmp edi, dword [rcx - 0xc]
jg 0x14002d966
mov dword [rcx - 0x10], edi
mov edx, edi
mov rcx, qword [rbx]
mov byte [rdx + rcx], 0
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401f74b0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019300
int3
mov ecx, 0x80070057
call fcn.140019300
int3
Function at 0x14002efc0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0xa8
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xd0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x54], xmm0
xor edx, edx
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
mov qword [r11 - 0x24], rdx
mov dword [r11 - 0x1c], edx
mov qword [rsp + 0x20], 0x70
mov qword [r11 - 0x80], rcx
lea rcx, str.runas
mov qword [r11 - 0x78], rcx
lea rcx, [rsp + 0x20]
mov qword [r11 - 0x70], r8
mov qword [r11 - 0x68], r9
mov qword [r11 - 0x60], rax
mov dword [rsp + 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401f74b0
add rsp, 0xa8
ret