joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140096f84
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x80
xor ebx, ebx
lea rax, [r11 + 0x20]
xor r9d, r9d
mov qword [r11 - 0x40], rbx
mov qword [r11 - 0x48], rbx
mov qword [r11 - 0x50], rbx
mov qword [r11 - 0x58], rbx
mov qword [r11 - 0x60], rbx
mov qword [r11 - 0x68], rbx
mov qword [r11 - 0x70], rax
lea rax, [r11 - 0x38]
xor r8d, r8d
xor edx, edx
mov rbp, rcx
mov dword [rsp + 0x60], ebx
mov qword [r11 - 0x78], rax
mov dword [r11 + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
cmp eax, ebx
jne 0x14009713d
mov eax, dword [rsp + 0xb8]
lea rcx, [rsp + 0x78]
lea edx, [rax*4 + 8]
call fcn.140063694
cmp dword [rsp + 0x60], ebx
mov esi, ebx
jle 0x140097131
mov rbx, qword [rsp + 0x78]
xor ecx, ecx
mov eax, dword [rsp + 0xb8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x28], rcx
shl eax, 2
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x20], rcx
mov word [rbx], cx
lea r9, [rsp + 0x64]
mov rcx, rbp
mov r8, rbx
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor ecx, ecx
mov edi, eax
cmp eax, ecx
jne 0x140097125
cmp word [rbx], cx
je 0x140097125
mov rax, qword [rsp + 0xb0]
lea rcx, [rsp + 0x68]
mov rdx, qword [rax]
call fcn.1400702b0
lea rdx, [0x14011cd04]
lea rcx, [rsp + 0x68]
call fcn.14006375c
lea rcx, [rsp + 0x68]
mov rdx, rbx
call fcn.14006375c
mov rax, qword [rsp + 0xa8]
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
lea eax, [r9 + 4]
mov r8d, eax
mov edx, eax
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
lea r11, [rsp + 0x70]
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x70]
mov edi, eax
test rcx, rcx
je 0x140097119
mov rdx, qword [rsp + 0xa8]
lea r8, [rsp + 0x68]
call fcn.140096f84
mov rcx, qword [rsp + 0x70]
mov edi, eax
test rcx, rcx
je 0x140097119
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x68]
call fcn.14005b104
xor ecx, ecx
inc esi
cmp esi, dword [rsp + 0x60]
jl 0x140097015
lea rcx, [rsp + 0x78]
call fcn.14005b104
mov eax, edi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b6018
Capabilities:
Create thread
Resume thread

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, 0x60
mov ebp, dword [rsp + 0xc8]
mov rsi, rcx
mov rcx, rdx
mov r15d, ebp
movsxd r12, r9d
mov r14, rdx
and r15d, 1
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, rsi
mov r13d, eax
mov eax, 0xb4
cmp r13d, eax
cmovg r13d, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0xb0]
movsxd rdi, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rdx, [rcx + rdi + 0x202]
lea rcx, [rsp + 0x30]
call fcn.140063694
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.14005b0b8
mov eax, dword [rsp + 0xb8]
lea rcx, [rbx + 0x400]
mov dword [rbx + 0x31c], eax
lea rax, [rcx + rdi*2 + 2]
mov rdx, rsi
mov byte [rbx + 0x120], 0x40
mov qword [rbx + 0x300], rcx
mov byte [rbx + 0x3c8], 0
mov qword [rbx + 0x3b0], rax
mov dword [rbx + 0x160], r12d
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rbx + 0x3b0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
and dword [rbx + 0x2f4], 0
and ebp, 2
je 0x1400b610f
mov dword [rbx + 0x2f4], 0x40000000
mov rax, qword [rsp + 0xc0]
movsxd rdi, r13d
lea rcx, [rbx + 0x164]
lea r8, [rdi + rdi]
mov rdx, r14
mov qword [rbx + 0x20], rax
call fcn.14001d78c
lea rax, [0x14013c96c]
lea r8, [0x1400b568c]
mov qword [rsp + 0x28], rax
xor ebp, ebp
mov r9, rbx
mov edx, 0x20000
xor ecx, ecx
mov dword [rsp + 0x20], 0x10004
mov word [rbx + rdi*2 + 0x164], bp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
cmp rax, rbp
je 0x1400b620e
lea r13d, [rbp + 1]
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rcx, [0x14013e190]
mov qword [rsp + 0x30], rbp
mov rdi, rax
mov qword [rbx + 0x3e0], rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x14013d7e8], r13d
lea rcx, [0x14013e190]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rbp
cmp r15d, ebp
je 0x1400b6205
lea r9, [rsp + 0x38]
lea rcx, [0x14013d130]
mov rdx, r12
xor r8d, r8d
call fcn.1400195f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ebx, byte [rbx + 0x2f4]
lea rcx, [rsp + 0x30]
call fcn.14005b104
lea r11, [rsp + 0x60]
mov eax, ebx
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 0x1400e3d60
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rbx, r9
mov sil, r8b
mov bpl, dl
mov rdi, rcx
test rcx, rcx
jne 0x1400e3d8c
xor eax, eax
jmp 0x1400e3e21
call qword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [rsp + 0x58], 0
movsx ecx, bpl
mov dword [rsp + 0x3c], eax
movsx eax, sil
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xa0]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0xa8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xb0]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
test rbx, rbx
je 0x1400e3e0a
lea r8, [rsp + 0x20]
lea rdx, [0x1400748a0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x1400e3e1c
lea rdx, [rsp + 0x20]
lea rcx, [0x1400748a0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x28]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400e3e38
Capabilities:
Read file via mapping

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, 0x30
xor ebp, ebp
bt r8d, 0x1d
mov r15, r9
mov esi, r8d
mov r14, rcx
jae 0x1400e3e72
mov rbp, qword [rsp + 0x80]
xor edi, edi
jmp 0x1400e3e7a
mov rdi, qword [rsp + 0x80]
lea r13, [rdx + r9]
mov ebx, r8d
and esi, 0x1fffffff
mov r12, r13
shr r12, 0x20
and ebx, 0xc0000000
je 0x1400e3ec3
xor edx, edx
mov r8, rdi
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test rax, rax
jne 0x1400e3eb4
test ebx, ebx
jns 0x1400e3ec3
xor eax, eax
jmp 0x1400e3f60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
bt ebx, 0x1e
jb 0x1400e3ead
mov r9d, r12d
mov r8d, esi
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x1400e3ead
test ebx, ebx
je 0x1400e3f12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xb7
test ebx, ebx
jns 0x1400e3efd
cmp eax, ecx
jne 0x1400e3f07
bt ebx, 0x1e
jae 0x1400e3f12
cmp eax, ecx
jne 0x1400e3f12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400e3ead
mov edx, esi
mov ecx, 1
mov r8, r15
and edx, 4
shr r8, 0x20
mov r9d, r15d
or edx, 8
shr edx, 1
cmp esi, 8
cmove edx, ecx
and qword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbp, rbp
je 0x1400e3f54
mov qword [rbp], rdi
jmp 0x1400e3f5d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400e4c38
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rcx, qword [0x14013d328]
xor edx, edx
mov r8d, 0x408
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
cmp rax, rbx
jne 0x1400e4c70
mov ecx, 2
call fcn.1400630d0
cmp eax, 4
je 0x1400e4c44
lea rcx, [rdi + 8]
mov dword [rdi + 4], 0xaa55
mov qword [rdi], 0x400
mov qword [0x14013e260], rcx
mov eax, ebx
mov edx, 8
test al, 1
je 0x1400e4c9d
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400e4c9f
shr eax, 1
sub rdx, 1
jne 0x1400e4c90
inc ebx
mov dword [rcx], eax
add rcx, 4
cmp ebx, 0x100
jl 0x1400e4c89
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400e4cc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r10, qword [0x14013e260]
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
test r10, r10
jne 0x1400e4cf5
call fcn.1400e4c38
mov r10, qword [0x14013e260]
mov r9b, dil
or ebx, 0xffffffff
xor r8d, r8d
and r9b, 7
je 0x1400e4d19
movsx rax, r9b
sub rdi, rax
lea r8, [rdi - 0x18]
cmp qword [r8], 0
je 0x1400e4d19
mov ebx, dword [r8 + 8]
test rsi, rsi
je 0x1400e4d3c
movzx eax, byte [rbp]
movzx ecx, bl
inc rbp
xor rcx, rax
mov eax, ebx
mov ebx, dword [r10 + rcx*4]
shr eax, 8
xor ebx, eax
sub rsi, 1
jne 0x1400e4d1e
test r9b, 2
je 0x1400e4d51
mov eax, ebx
mov qword [r8], 1
mov qword [r8 + 8], rax
jmp 0x1400e4d6b
not ebx
test rdi, rdi
je 0x1400e4d6b
lea rdx, str._08X
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfA]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400e5730
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea r8d, [rax + 2]
mov rcx, rdi
mov ebx, eax
movsxd rdx, r8d
call fcn.140063720
mov r11, qword [rdi]
xor eax, eax
mov word [r11], ax
mov rdx, qword [rdi]
lea r8d, [rbx + 1]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_GetWindowTextW]
Function at 0x1400e6458
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
and qword [rcx + 0x18], 0
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x1400e63c8]
mov rdx, rbx
mov dword [rbx + 0x10], eax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbx + 0x18]
add rsp, 0x20
pop rbx
ret

Function at 0x1400e67e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x38
cmp dword [0x14013d868], 0
je 0x1400e67ff
cmp qword [0x14013e2a8], 0
jne 0x1400e685a
mov rcx, qword [0x14013ca68]
mov edx, 0x271b
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x14013ca68]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400e685a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400e685a
mov rcx, qword [0x14013ca68]
and qword [rsp + 0x20], 0
lea r9, [0x1400e6790]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
add rsp, 0x38
ret

Function at 0x1400e693c
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
or qword [rsp + 0x38], 0xffffffffffffffff
lea rdx, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x38]
add rsp, 0x28
ret

Function at 0x1400e6f18
Capabilities:
Get token membership

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov byte [rax + 0x10], 0
mov byte [rax + 0x11], 0
mov byte [rax + 0x12], 0
mov byte [rax + 0x13], 0
mov byte [rax + 0x14], 0
mov byte [rax + 0x15], 5
lea rax, [rax + 0x18]
lea rcx, [rsp + 0x78]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
and dword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r8d, 0x20
mov dl, 2
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x70], eax
test eax, eax
je 0x1400e6fb2
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and ecx, dword [rsp + 0x70]
mov dword [rsp + 0x70], ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400f0ca0
Capabilities:
Capture screenshot

Disassembly:
test edx, edx
js 0x1400f0df0
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x90
and dword [rax - 0x48], 0
and dword [rax - 0x44], 0
and dword [rax - 0x40], 0
and dword [rax - 0x3c], 0
mov r14d, edx
lea rdx, [rax - 0x48]
mov r13, rcx
call qword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [rsp + 0x68]
mov esi, dword [rsp + 0x6c]
sub ebp, dword [rsp + 0x60]
mov rcx, r13
sub esi, dword [rsp + 0x64]
call qword [sym.imp.USER32.dll_GetDC]
mov ecx, 0xf
mov r12, rax
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, r12
mov edi, eax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, esi
mov edx, ebp
mov rcx, r12
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea rcx, [rsp + 0x70]
mov rdx, rbx
mov r8, rax
call fcn.14005b028
lea rdx, [rsp + 0x60]
mov r8d, r14d
mov rcx, rbx
call fcn.1400e68e0
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], ebp
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov r9d, ebp
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], esi
call fcn.1400f0abc
mov dword [rsp + 0x40], 0xcc0020
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov r9d, ebp
xor r8d, r8d
xor edx, edx
mov rcx, r12
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_BitBlt]
lea rcx, [rsp + 0x70]
call fcn.14005b07c
test rbx, rbx
je 0x1400f0dbe
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
test r12, r12
je 0x1400f0dcf
mov rdx, r12
mov rcx, r13
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x1400fd014
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor r12d, r12d
mov r9, rdx
mov rbx, rcx
cmp rdx, r12
je 0x1400fd18c
cmp dword [rdx], r12d
jge 0x1400fd066
cmp dword [rdx + 4], r12d
jge 0x1400fd066
cmp dword [rdx + 8], r12d
jge 0x1400fd066
cmp dword [rdx + 0xc], r12d
jge 0x1400fd066
or rcx, 0xffffffffffffffff
mov word [rbx + 0xa2], cx
jmp 0x1400fd18c
mov r10d, r12d
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
movsxd r8, eax
mov eax, r10d
inc r10d
cdq
and eax, 1
xor eax, edx
sub eax, edx
movsxd rcx, eax
mov eax, dword [r9]
add r9, 4
cmp r10d, 4
lea rdx, [rcx + r8*2 + 0x24]
mov dword [rbx + rdx*4], eax
jl 0x1400fd069
lea rdi, [rbx + 0x80]
mov esi, 2
mov rcx, qword [rdi]
cmp rcx, r12
je 0x1400fd0b4
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rdi], r12
add rdi, 8
sub rsi, 1
jne 0x1400fd0a6
mov rax, qword [0x14013a858]
or rcx, 0xffffffffffffffff
cmp rax, rcx
jne 0x1400fd0e1
lea ecx, [rsi + 5]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [0x14013a858], rax
mov ecx, dword [rbx + 0x94]
mov r8d, 0x80000000
cmp ecx, r12d
jge 0x1400fd105
cmp ecx, r8d
je 0x1400fd105
mov qword [rbx + 0x80], rax
mov rax, qword [0x14013a858]
mov edx, dword [rbx + 0x9c]
cmp edx, r12d
jge 0x1400fd11c
cmp edx, r8d
je 0x1400fd11c
mov qword [rbx + 0x88], rax
cmp ecx, r12d
jl 0x1400fd12e
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x80], rax
mov ecx, dword [rbx + 0x9c]
cmp ecx, r12d
jl 0x1400fd146
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbx + 0x88], rax
cmp word [rbx + 0xa2], r12w
jge 0x1400fd158
mov word [rbx + 0xa2], r12w
mov eax, dword [rbx + 0x9c]
cmp eax, r12d
jl 0x1400fd18c
cmp eax, dword [rbx + 0x94]
jne 0x1400fd18c
mov eax, dword [rbx + 0x90]
cmp dword [rbx + 0x98], eax
jne 0x1400fd18c
mov al, byte [rbx + 0xac]
cmp al, r12b
jle 0x1400fd18c
or al, 0x80
mov byte [rbx + 0xac], al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x1400fd5e8
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x80
mov rbp, rcx
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_GetParent]
mov r12, rax
test rax, rax
je 0x1400fd747
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x1400fd62e
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp + 0x20]
and qword [rbp + 0xe8], 0
and dword [rsp + 0x50], 0
and dword [rsp + 0x54], 0
and dword [rsp + 0x58], 0
and dword [rsp + 0x5c], 0
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
and dword [rsp + 0xa0], 0
and dword [rsp + 0xa4], 0
lea rdx, [rsp + 0xa0]
mov rcx, r12
call qword [sym.imp.USER32.dll_ClientToScreen]
mov r8d, dword [rsp + 0xa4]
mov edx, dword [rsp + 0xa0]
mov esi, dword [rsp + 0x58]
mov edi, dword [rsp + 0x5c]
lea rcx, [rsp + 0x50]
sub esi, dword [rsp + 0x50]
sub edi, dword [rsp + 0x54]
neg r8d
neg edx
call qword [sym.imp.USER32.dll_OffsetRect]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r13, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, edi
mov edx, esi
mov rcx, r13
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea rcx, [rsp + 0x60]
mov rdx, rbx
mov r8, rax
mov qword [rbp + 0xe8], rax
call fcn.14005b028
mov eax, dword [rsp + 0x54]
and qword [rsp + 0x60], 0
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], edi
call qword [sym.imp.GDI32.dll_BitBlt]
lea rcx, [rsp + 0x60]
call fcn.14005b07c
test rbx, rbx
je 0x1400fd736
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
test r13, r13
je 0x1400fd747
mov rdx, r13
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret

Function at 0x140101cdc
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0xffdf
and cx, ax
mov eax, 0x41
cmp ax, cx
je 0x140101d05
mov eax, 0x42
cmp ax, cx
je 0x140101d05
mov eax, 0xfffffffe
jmp 0x140101d2e
mov word [rsp + 0x38], cx
mov eax, 0x3a
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140101e04
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [rsp + 0xc8]
mov qword [r11 - 0x30], rax
mov rax, qword [rsp + 0xc0]
mov qword [r11 - 0x38], rax
mov rax, qword [rsp + 0xb8]
mov qword [r11 - 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [r11 - 0x48], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x50], eax
jmp 0x140101e6a
add rsp, 0x78
ret
Function at 0x140101ed8
Capabilities:
Check if file exists

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r14d, edx
mov rsi, rcx
xor ebx, ebx
mov edi, ebx
mov dword [rsp + 0x2d8], ebx
mov r13d, edx
and r13d, 1
and r14d, 0xf0
cmp word [rcx], bx
jne 0x140101f20
mov eax, r13d
jmp 0x140102170
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r12, eax
mov r15d, r13d
mov qword [rsp + 0x2e0], rbx
mov dword [rsp + 0x30], ebx
xor edx, edx
mov r8d, 0x24c
lea rcx, [rsp + 0x34]
call fcn.140102a90
mov qword [rsp + 0x2d0], rbx
lea r8, [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x2e0]
call fcn.140101db8
mov rbx, qword [rsp + 0x2e0]
xor edx, edx
cmp rbx, rdx
jne 0x140102105
cmp r14d, edx
je 0x140101fc0
lea r14d, [rdx + 0x5c]
mov word [rsi + r12*2], r14w
mov word [rsi + r12*2 + 2], dx
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov dword [rsp + 0x2d8], eax
xor edx, edx
mov word [rsi + r12*2], dx
cmp eax, edx
je 0x140101fc6
lea rcx, [rsp + 0x2d0]
call fcn.14005b104
nop
mov eax, edi
jmp 0x140102170
mov r14d, 0x5c
cmp r12, 2
jl 0x1401020e8
cmp word [rsi + r12*2 - 2], 0x3a
je 0x140101ff9
cmp word [rsi], r14w
jne 0x1401020e8
cmp word [rsi + 2], r14w
jne 0x1401020e8
cmp word [rsi + 4], 0x3f
jne 0x1401020e8
mov rdx, rsi
lea rcx, [rsp + 0x2d0]
call fcn.1400703e4
lea rdx, [r12 + 8]
lea rcx, [rsp + 0x2d0]
call fcn.140063720
mov rsi, qword [rsp + 0x2d0]
mov word [rsi + r12*2], r14w
mov ecx, 0x2a
mov rax, qword [rsp + 0x2d0]
mov word [rax + r12*2 + 2], cx
mov rax, qword [rsp + 0x2d0]
xor r14d, r14d
mov word [rax + r12*2 + 4], r14w
or r13d, 0x10
lea r8, [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x2e0]
call fcn.140101db8
mov rbx, qword [rsp + 0x2e0]
xor edx, edx
cmp rbx, rdx
jne 0x140102108
mov rax, qword [rsp + 0x2d0]
lea r8d, [r14 + 0x2a]
mov word [rax + r12*2 + 2], r8w
lea ecx, [rdx + 0x2e]
mov rax, qword [rsp + 0x2d0]
mov word [rax + r12*2 + 4], cx
mov rax, qword [rsp + 0x2d0]
mov word [rax + r12*2 + 2], r8w
mov rax, qword [rsp + 0x2d0]
mov word [rax + r12*2 + 6], dx
lea r8, [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x2e0]
call fcn.140101db8
mov rbx, qword [rsp + 0x2e0]
xor edx, edx
cmp rbx, rdx
jne 0x140102108
mov rax, qword [rsp + 0x2d0]
mov word [rax + r12*2], dx
mov r13d, r15d
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
xor r14d, r14d
cmp eax, r14d
je 0x140102142
jmp 0x140102108
xor r14d, r14d
cmp r13d, 1
jne 0x140102136
mov edi, dword [rsp + 0x30]
shr edi, 4
and edi, 1
mov dword [rsp + 0x2d8], edi
jne 0x140102142
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, r14d
jne 0x14010210e
jmp 0x140102142
mov edi, 1
mov dword [rsp + 0x2d8], edi
lea rcx, [rsp + 0x2d0]
call fcn.14005b104
nop
cmp rbx, r14
je 0x140102165
cmp rbx, 0xffffffffffffffff
je 0x140102165
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
jmp 0x14010216e
mov eax, edi
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret