joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b1e0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov rbp, rcx
call fcn.14001ac70
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x14001b3ef
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140018bd0
xor r14d, r14d
lea rbx, [r14 - 1]
test al, al
jne 0x14001b27a
test rdi, rdi
jne 0x14001b25f
mov r8d, r14d
jmp 0x14001b26c
mov r8, rbx
inc r8
cmp word [rdi + r8*2], r14w
jne 0x14001b262
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140018f70
nop
lea rcx, [rsp + 0x28]
call fcn.1400275f0
mov qword [rbp + 0xc8], rax
cmp rax, 0xffffffffffffffff
jne 0x14001b34c
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
call fcn.140044940
mov rcx, rax
lea r8, str.TEXT
lea rdx, str.TEXT_ARKERR_CANT_OPEN_FILE
call fcn.140048080
mov rsi, rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x14001b3e4
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140018bd0
test al, al
jne 0x14001b31b
test rsi, rsi
jne 0x14001b2ff
mov r8d, r14d
jmp 0x14001b30d
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x14001b302
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140018f70
nop
call fcn.1401285c0
lea rcx, [0x1402620b8]
lea r8, [0x1402620c0]
cmp dword [rax + 0x88], 0
cmovne r8, rcx
xor r9d, r9d
lea rdx, [rsp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.14005fae0
jmp 0x14001b35e
mov r8, rdi
mov edx, 0x49b
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea rdx, [rsp + 0x28]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14001b386
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14001b386
mov rcx, rbx
jmp 0x14001b391
mov ecx, dword [rsp + 0x28]
shl rcx, 0x20
or rcx, rsi
mov qword [rbp + 0xe0], rcx
lea rcx, [rbp + 0xc0]
test rdi, rdi
je 0x14001b3b1
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14001b3a4
mov r14, rbx
mov r8d, r14d
mov rdx, rdi
call fcn.140018f70
mov rcx, rbp
call fcn.14001a8c0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140019320
int3
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x14001e850
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, rdx
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [rax + 1]
test edi, edi
js 0x14001e8ef
mov rax, qword [rbx]
mov r9d, 1
mov r8d, dword [rax - 0xc]
sub r9d, dword [rax - 8]
sub r8d, edi
or r9d, r8d
jge 0x14001e898
mov edx, edi
mov rcx, rbx
call fcn.140018ec0
mov rdx, qword [rbx]
mov r8d, edi
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor esi, esi
mov edi, eax
cmp eax, 0xffffffff
jne 0x14001e8c5
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001e8bc
mov eax, esi
jmp 0x14001e8c9
movsxd rdx, dword [rcx - 0xc]
call fcn.1401fa6e8
test eax, eax
js 0x14001e8ef
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14001e8ef
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x30]
mov word [rax + rcx*2], si
mov eax, edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.140019320
int3

Function at 0x140021d30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
je 0x140021e3f
lea r11, [0x140266340]
not ecx
cmp r8, 8
jb 0x140021e0d
mov r10, r8
shr r10, 3
imul rax, r10, 0xfffffffffffffff8
add r8, rax
nop dword [rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x140021d60
test r8, r8
je 0x140021e3d
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r8, 1
jne 0x140021e20
not ecx
mov eax, ecx
ret
Function at 0x140021e50
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.140228900
sub rsp, rax
mov rax, qword [0x1402fa010]
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.1401f6840
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 0x140021ed8
xor eax, eax
jmp 0x14002205c
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 0x14002204c
mov qword [rsp + 0x1090], rbp
lea rbp, [0x140266340]
nop
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140022044
lea rdx, [rsp + 0x50]
mov r8d, eax
not ebx
cmp rax, 8
jb 0x140021ff5
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 0x140021f50
test r8, r8
je 0x14002201c
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 0x140022000
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 0x140021f20
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.1401f3bf0
mov rbx, qword [rsp + 0x1098]
add rsp, 0x1060
pop r14
pop rdi
pop rsi
ret
Function at 0x140022b70
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402fa010]
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 0x140022bda
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.1401f3bf0
add rsp, 0x50
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x50
pop rbx
ret

Function at 0x140022d90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1402fa010]
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 0x140022e39
call fcn.1400195b0
mov rdx, rax
test rax, rax
je 0x140022ec5
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbx], rax
lea rdi, [0x140262520]
mov rdx, rdi
mov rcx, rbx
call fcn.140018bd0
test al, al
jne 0x140022e37
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140022e20
mov rdx, rdi
mov rcx, rbx
call fcn.140018f70
nop
jmp 0x140022e99
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140022ec5
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140018bd0
test al, al
jne 0x140022e99
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140022e80
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140018f70
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019320
int3

Function at 0x140022ed0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1402fa010]
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.1400195b0
mov rcx, rax
test rax, rax
je 0x140022f8d
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140018bd0
test al, al
jne 0x140022f69
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140022f50
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140018f70
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x250
pop rbx
ret
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x1400247e0
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 [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002494e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x140024834
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jl 0x140024934
xor edi, edi
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140024973
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140018bd0
lea rbx, [rdi - 1]
test al, al
jne 0x1400248ad
test rsi, rsi
je 0x14002489c
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140024890
mov edi, eax
mov r8d, edi
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140018f70
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140023f80
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 0x140024907
test sil, 0x10
jne 0x140024907
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140024943
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov eax, 1
jmp 0x140024956
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14002492a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
cmp edi, 2
je 0x14002494a
cmp edi, 3
je 0x14002494a
cmp edi, 0x7b
je 0x14002494a
cmp edi, 0x35
je 0x14002494a
cmp edi, 0x43
je 0x14002494a
mov eax, 1
jmp 0x140024956
xor eax, eax
jmp 0x140024956
shr eax, 4
not eax
and eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019320
int3

Function at 0x140024ba0
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 0x140024bd6
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 0x140024c00
Capabilities:
Get file size

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x1402fa010]
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 0x140024c52
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401f3bf0
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.1401f3bf0
add rsp, 0x50
pop rdi
ret
Function at 0x140024ca0
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 [0x1402fa010]
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 0x140024d08
mov rdx, qword [r14]
sub rdx, 0x18
mov esi, 0xffffffff
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140024cfe
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov eax, 1
jmp 0x140024eab
mov qword [rsp + 0x38], rbx
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140024ece
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov rcx, qword [r14]
mov esi, 0xffffffff
cmp dword [rcx - 0x10], 0
jge 0x140024d46
mov eax, esi
jmp 0x140024d61
lea rdx, [0x1402624f4]
call fcn.1401f5a20
test rax, rax
jne 0x140024d5b
mov eax, esi
jmp 0x140024d61
sub rax, qword [r14]
sar rax, 1
lea edi, [rax + 1]
mov rcx, qword [r14]
test edi, edi
js 0x140024e52
cmp edi, dword [rcx - 0x10]
jg 0x140024e52
movsxd rax, edi
lea rcx, [rcx + rax*2]
lea rdx, [0x1402624f4]
call fcn.1401f5a20
mov rdi, rax
test rax, rax
je 0x140024e52
sub rdi, qword [r14]
sar rdi, 1
cmp edi, 0xffffffff
je 0x140024e52
mov r8d, edi
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.1400290e0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140024e16
cmp dword [rbx + 0x10], 0
jl 0x140024e07
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140024e07
call fcn.1400191a0
mov rbp, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140024dfc
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x38], rax
jmp 0x140024e16
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140018f70
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140024e3b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
xor edx, edx
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
inc edi
jmp 0x140024d64
xor edx, edx
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [r14]
call fcn.1400246b0
mov edi, eax
lea rdx, [rbx - 0x18]
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140024e88
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140024ea9
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401f3bf0
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.140019320
int3
Function at 0x140027d00
Capabilities:
Log keystrokes

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rsi
je 0x140027d71
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 0x140028850
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.1400195b0
mov rcx, rax
test rax, rax
je 0x140028984
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.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 0x1400288c2
mov edx, 0x104
mov rcx, rbx
call fcn.140018ec0
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 0x1400288e8
mov eax, edi
jmp 0x1400288f9
movsxd rdx, dword [rcx - 0xc]
call fcn.1401fa6e8
test eax, eax
js 0x14002898f
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14002898f
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.14001da50
nop
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 1
jne 0x140028939
cmp word [rcx], 0x5c
jne 0x140028939
xor dil, dil
jmp 0x14002893c
mov dil, 1
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028964
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
test dil, dil
je 0x140028976
mov edx, 0x5c
mov rcx, rbx
call fcn.140029ee0
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019320
int3
mov ecx, 0x80070057
call fcn.140019320
int3
Function at 0x140028c90
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 0x140028cd9
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 0x14002af80
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
mov eax, 0x10a8
call fcn.140228900
sub rsp, rax
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rax, r8
mov r14, rdx
mov r15, rcx
test dl, 7
je 0x14002afb8
xor eax, eax
jmp 0x14002b0f1
cmp r9d, 0xffffffff
jne 0x14002afcf
mov r9, 0xffffffffffffffff
inc r9
cmp byte [r8 + r9], 0
jne 0x14002afc5
mov r8d, r9d
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.14002aad0
xor r9d, r9d
shr r14, 2
test r14, r14
je 0x14002b0ec
mov qword [rsp + 0x10c8], rbx
mov edx, 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 eax, [r9 + 1]
mov ebx, InitCommonControls
mov ebp, dword [r15 + rax*4]
lea rdi, [r15 + rax*4]
mov eax, dword [r15 + rdx*4]
lea rsi, [r15 + rdx*4]
lea r10, [rsp + 0x20]
nop
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 0x14002b050
add r9d, 2
mov ecx, r12d
xor ecx, r11d
mov edx, r9d
mov dword [rsi], ecx
mov ecx, r13d
xor ecx, eax
mov dword [rdi], ecx
cmp rdx, r14
jb 0x14002b030
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.1401f3bf0
add rsp, 0x10a8
pop r15
pop r14
ret