joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006a730
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x14006a974
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, 0x140
mov r8, rcx
mov r10d, 0x10
lea rcx, [rsp]
lea r9, [r8 + 0x1c]
mov eax, dword [r9]
add r9, 4
mov edx, eax
ror edx, 8
and edx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or edx, eax
mov dword [rcx], edx
add rcx, 4
sub r10, 1
jne 0x14006a9a4
lea rcx, [rsp + 8]
lea edx, [r10 + 0x40]
mov eax, dword [rcx + 0x2c]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
add rcx, 4
rol eax, 1
sub rdx, 1
mov dword [rcx + 0x34], eax
jne 0x14006a9d5
mov r13d, dword [r8 + 8]
mov r14d, dword [r8 + 0xc]
mov r15d, dword [r8 + 0x10]
mov esi, dword [r8 + 0x14]
mov ebp, dword [r8 + 0x18]
lea r10d, [rdx + 0x14]
mov r9d, r13d
mov r12d, r14d
mov r11d, r15d
lea rbx, [rsp]
mov rdi, r10
mov edx, r9d
rol r9d, 5
mov eax, r11d
and eax, r12d
mov ecx, r12d
not ecx
and ecx, esi
xor ecx, eax
add r9d, ecx
add r9d, dword [rbx]
add rbx, 4
lea r9d, [r9 + rbp + 0x5a827999]
mov ebp, esi
mov esi, r11d
mov r11d, r12d
mov r12d, edx
ror r11d, 2
sub rdi, 1
jne 0x14006aa17
lea rdx, [rsp + 0x50]
mov rbx, r10
mov ecx, r9d
rol r9d, 5
mov eax, esi
xor eax, r11d
xor eax, r12d
add r9d, eax
add r9d, dword [rdx]
add rdx, 4
lea r9d, [r9 + rbp + 0x6ed9eba1]
mov ebp, esi
mov esi, r11d
mov r11d, r12d
mov r12d, ecx
ror r11d, 2
sub rbx, 1
jne 0x14006aa5c
lea rbx, [rsp + 0xa0]
mov rdi, r10
mov edx, r9d
rol r9d, 5
mov ecx, r11d
xor ecx, r12d
add r9d, ebp
mov eax, r11d
and ecx, esi
and eax, r12d
mov ebp, esi
xor ecx, eax
mov esi, r11d
mov r11d, r12d
add ecx, dword [rbx]
ror r11d, 2
add rbx, 4
sub rdi, 1
mov r12d, edx
lea r9d, [rcx + r9 - 0x70e44324]
jne 0x14006aa9d
lea rcx, [rsp + 0xf0]
mov edx, r9d
rol r9d, 5
mov eax, esi
add r9d, dword [rcx]
xor eax, r11d
add rcx, 4
xor eax, r12d
add eax, ebp
mov ebp, esi
mov esi, r11d
mov r11d, r12d
lea r9d, [rax + r9 - 0x359d3e2a]
mov r12d, edx
ror r11d, 2
sub r10, 1
jne 0x14006aae2
lea eax, [r13 + r9]
mov dword [r8 + 8], eax
lea eax, [r14 + rdx]
mov dword [r8 + 0xc], eax
lea eax, [r15 + r11]
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov dword [r8 + 0x10], eax
mov eax, dword [r8 + 0x14]
add eax, esi
mov rsi, qword [r11 + 0x40]
mov dword [r8 + 0x14], eax
mov eax, dword [r8 + 0x18]
add eax, ebp
mov rbp, qword [r11 + 0x38]
mov dword [r8 + 0x18], eax
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14006ab68
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 4], 0
and dword [rcx], 0
mov dword [rcx + 8], 0x67452301
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
mov dword [rcx + 0x18], 0xc3d2e1f0
ret
Function at 0x14006be54
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x14006bed2
lea edi, [rax + 1]
mov eax, 2
movsxd rcx, edi
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400a9554
mov rbx, rax
test rax, rax
je 0x14006bed2
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.14006bd00
mov rcx, rbx
call fcn.1400a93c8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14006c108
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14006c16e
lea r8, [rsp + 0x34]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, 0x80000000
mov ecx, 0xd
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x48
ret
Function at 0x14006df20
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov edi, edx
mov rbx, rcx
cmp edx, 0xa8
jne 0x14006df4b
call fcn.14006dec8
mov al, 1
jmp 0x14006e071
cmp edx, 0xa9
jne 0x14006df83
mov ecx, 0x4f8
call fcn.140061d94
xor r9d, r9d
xor edx, edx
mov r8, rax
lea rax, [0x1400c3f4c]
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x14006df44
call fcn.14006c674
mov rsi, rax
cmp edi, 0xaa
jne 0x14006dfa3
or dword [rbx + 0x188], 0xffffffff
lea rax, [0x1400c3f4c]
jmp 0x14006e01c
lea eax, [rdi - 0x3e8]
cmp eax, 0x7f
ja 0x14006e06f
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x50]
call fcn.1400a9314
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, edi
mov rcx, rsi
mov dword [rsp + 0x30], 0x50
mov dword [rsp + 0x34], 0x20
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x14006e06f
mov rax, qword [rbx + 0x178]
cmp qword [rsp + 0x60], rax
jae 0x14006e06f
movsxd rax, dword [rsp + 0x60]
mov rcx, rax
mov dword [rbx + 0x188], eax
imul rcx, rcx, 0xa04
add rcx, qword [rbx + 0x170]
call fcn.140052af8
lea rdx, str.ActivePath
lea rcx, str.InterfaceThemes
mov r8, rax
call fcn.14005c410
mov edx, dword [rbx + 0x98c]
cmp edx, 0xffffffff
je 0x14006e049
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8d, 8
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x98c], edi
call fcn.14006d64c
jmp 0x14006df44
xor al, al
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14006e660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov ecx, r9d
mov dil, r8b
mov ebx, edx
call qword [sym.imp.USER32.dll_GetSysColor]
and dword [rsp + 0x30], 0
lea rcx, [rbx + rbx*4]
add rcx, rcx
mov dword [rsp + 0x34], eax
lea rax, [0x1400df860]
test dil, dil
je 0x14006e69a
mov ebx, dword [rax + rcx*8 + 4]
jmp 0x14006e69e
mov ebx, dword [rax + rcx*8 + 8]
test dil, dil
jne 0x14006e6dd
mov rcx, qword [0x1400ec660]
movsxd rdx, ebx
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x1400ec660]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14006e6d5
cmp word [rax + 0xe], 8
je 0x14006e6dd
mov dword [rsp + 0x30], 0x800080
mov rcx, qword [0x1400ec660]
lea r9, [rsp + 0x30]
movsxd rdx, ebx
xor r8d, r8d
mov dword [rsp + 0x20], 1
call qword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400705f8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r14
sub rsp, 0xf0
mov rdi, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14007062a
call qword [sym.imp.USER32.dll_DestroyWindow]
and qword [rdi + 8], 0
mov r14d, 1
lea rdx, str.ViewSmall
lea rcx, str.GeneralToolbar
mov r8d, r14d
call fcn.14005c490
test eax, eax
je 0x14007086a
and qword [rsp + 0x58], 0
mov rax, qword [0x1400ec658]
lea rdx, str.ToolbarWindow32
mov qword [rsp + 0x50], rax
mov rax, qword [0x1400ffd80]
mov qword [rsp + 0x48], 0xd
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9d, 0x56000944
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea r8d, [r14 + 0x1f]
xor r9d, r9d
mov rcx, rax
mov edx, 0x41e
mov qword [rdi + 8], rax
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.140086c94
lea esi, [r14 + 0xf]
mov r12b, al
mov ebp, esi
test al, al
je 0x1400706de
mov ecx, esi
call fcn.140086bbc
mov ecx, esi
mov ebp, eax
call fcn.140086bbc
mov esi, eax
movzx edx, si
movzx ecx, bp
xor r8d, r8d
shl edx, 0x10
or edx, ecx
mov rcx, qword [rdi + 8]
movsxd rbx, edx
mov edx, 0x41f
mov r9, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 8]
mov r9, rbx
xor r8d, r8d
mov edx, 0x420
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
lea rdx, str.FolderUp.bmp
lea r8d, [r9 + 0xf]
lea rcx, [0x140107990]
call fcn.14006d9d4
mov rbx, rax
test rax, rax
jne 0x14007073c
mov rbx, qword [rdi + 0x30]
test r12b, r12b
je 0x140070760
mov r8d, esi
mov edx, ebp
mov rcx, rbx
call fcn.1400860c4
lea rcx, [0x140107990]
mov rdx, rax
mov rbx, rax
call fcn.14006d7f0
mov rcx, qword [rdi + 8]
and qword [rsp + 0x60], 0
lea r9, [rsp + 0x60]
mov r8, r14
mov edx, 0x413
mov qword [rsp + 0x68], rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 8]
lea r9, [0x1400dfea0]
mov r8, r14
mov edx, 0x444
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 2
lea r8, [rsp + 0x80]
mov edx, ebx
mov rcx, rdi
call fcn.14006f80c
mov eax, dword [rsp + 0x88]
lea ecx, [rbx + 0x10]
test eax, eax
mov dword [rsp + 0x80], 0x4c
mov dword [rsp + 0x84], 0x173
cmove eax, r14d
and dword [rsp + 0xb0], 0
mov dword [rsp + 0xc8], ebx
or eax, 4
mov dword [rsp + 0x88], eax
mov rax, qword [rdi + 8]
mov qword [rsp + 0xa8], rax
call qword [sym.imp.USER32.dll_GetSysColor]
lea ecx, [rbx + 0xd]
mov dword [rsp + 0x8c], eax
call qword [sym.imp.USER32.dll_GetSysColor]
lea ecx, [rbx + 0x26]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0xb8]
lea rdx, [rsp + 0x70]
test eax, eax
cmove eax, ecx
mov rcx, qword [0x1400ffd88]
mov dword [rsp + 0xb8], eax
call qword [sym.imp.USER32.dll_GetClientRect]
mov r11d, dword [rsp + 0x7c]
mov rcx, qword [rdi + 0x10]
lea r9, [rsp + 0x80]
or r8, 0xffffffffffffffff
mov edx, 0x40a
mov dword [rsp + 0xb4], r11d
call qword [sym.imp.USER32.dll_SendMessageW]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x1400735e4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov rdx, qword [0x1400fe950]
mov eax, ecx
lea r10, [0x1400e8690]
xor rdx, rax
mov eax, dword [0x1400fe950]
mov r9d, ecx
mov ecx, dword [0x1400fe958]
shr eax, 8
movzx r8d, dl
mov edx, dword [r10 + r8*4]
shr ecx, 8
xor edx, eax
movzx eax, dl
mov dword [0x1400fe950], edx
add eax, dword [0x1400fe954]
imul eax, eax, 0x8088405
inc eax
mov dword [0x1400fe954], eax
shr eax, 0x18
xor rax, qword [0x1400fe958]
movzx eax, al
mov eax, dword [r10 + rax*4]
xor eax, ecx
mov dword [0x1400fe958], eax
mov eax, r9d
ret

Function at 0x140073690
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov rcx, rdx
call fcn.140073650
mov rax, qword [rbx]
lea r11, [rsp + 0x20]
mov qword [r11], rax
mov eax, dword [rbx + 8]
mov dword [r11 + 8], eax
xor r11d, r11d
mov ecx, dword [0x1400fe958]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + r11 + 0x20], al
movzx ecx, byte [rsp + r11 + 0x20]
call fcn.1400735e4
inc r11
cmp r11, 0xc
jl 0x1400736c5
mov rax, qword [0x1400ed7d8]
movzx ecx, byte [0x1400fd86f]
test byte [rax + 0x28], 2
movzx eax, byte [0x1400fd867]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x140073722
or eax, 0xffffffff
jmp 0x140073775
mov r11, qword [0x1400fd800]
mov rax, qword [0x1400ecbb0]
mov rbx, qword [0x1400fd7f8]
movsxd rcx, r11d
cmp rcx, rax
cmovg r11d, eax
test r11d, r11d
je 0x140073773
mov ecx, dword [0x1400fe958]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rbx], al
movzx ecx, byte [rbx]
call fcn.1400735e4
inc rbx
sub r11d, 1
jne 0x140073746
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a86e0
add rsp, 0x40
pop rbx
ret

Function at 0x14007d4dc
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x14007d565
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x14010a370]
lea rcx, str.Rar_CMXXXXXX
call fcn.140086d00
mov rsi, rax
test rax, rax
je 0x14007d556
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
lea edx, [rax + 2]
mov r9, rsi
not rcx
lea r8, [rcx - 1]
lea rdi, [rcx - 1]
mov rcx, rbx
call fcn.1400aa848
mov rcx, rsi
call fcn.1400aa5c0
mov edx, dword [0x14010ab70]
mov eax, 3
test rdi, rdi
cmovne edx, eax
mov dword [0x14010ab70], edx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14007d568
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x68
mov eax, dword [0x140123158]
test eax, eax
jne 0x14007d5ae
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp qword [rsp + 0x28], 0x8000000
mov ecx, 0x200000
mov eax, 0x400000
cmovbe eax, ecx
cmp qword [rsp + 0x28], 0x4000000
mov ecx, 0x100000
cmovbe eax, ecx
mov dword [0x140123158], eax
add rsp, 0x68
ret
Function at 0x14007d7a4
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x2c60
call fcn.1400baa60
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x2c50], rax
mov rsi, rcx
mov rcx, rdx
mov rdi, rdx
call fcn.140052af8
mov edx, 0x3a
mov rcx, rax
call fcn.1400a978c
xor ebp, ebp
cmp rax, rbp
je 0x14007d82d
cmp byte [0x140123190], bpl
jne 0x14007d82d
lea ecx, [rbp + 0x65]
call fcn.140061d94
mov ecx, 0x528
mov rbx, rax
call fcn.140061d94
lea r9d, [rbp + 0x31]
mov r8, rbx
mov rcx, rsi
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x14007d9ba
mov byte [0x140123190], al
lea rdx, [rsp + 0x850]
mov rcx, rdi
sub rdx, rdi
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
cmp ax, bp
jne 0x14007d83b
lea rcx, [rsp + 0x850]
call fcn.1400530d0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x850]
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x50]
mov word [rsp + 0x84e], bp
call fcn.140052af8
mov ebx, 0x600
cmp word [rax], bp
je 0x14007d902
jmp 0x14007d8f3
mov ecx, 0x14d
call fcn.140061d94
lea r9, [rsp + 0x50]
lea r8, str.__s__n_s
lea rcx, [rsp + 0x1050]
mov rdx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400287d0
mov ecx, 0x65
call fcn.140061d94
lea rdx, [rsp + 0x1050]
mov r9d, 0x34
mov r8, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x14007d9ba
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.140031c00
lea rcx, [rsp + 0x50]
call fcn.140031164
cmp al, bpl
je 0x14007d88f
call fcn.14003ed2c
cmp eax, 0x501
jb 0x14007d9be
lea rdx, [rsp + 0x2450]
mov rcx, rdi
call fcn.1400527bc
lea rdx, [rsp + 0x1c50]
lea rcx, [rsp + 0x2450]
call fcn.140053e34
mov dword [rsp + 0x38], ebp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x1c50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, ebp
je 0x14007d9be
bt dword [rsp + 0x40], 0x13
jae 0x14007d9be
mov ecx, 0x3b6
call fcn.140061d94
lea r9, [rsp + 0x1c50]
lea rcx, [rsp + 0x1050]
mov r8, rax
mov rdx, rbx
call fcn.1400287d0
mov ecx, 0x65
call fcn.140061d94
lea rdx, [rsp + 0x1050]
mov r9d, 0x30
mov r8, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x14007d9c0
mov al, 1
mov rcx, qword [rsp + 0x2c50]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0x2c90]
add rsp, 0x2c60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140085f58
Capabilities:
Capture screenshot

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
push r13
push r14
sub rsp, 0x80
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov r14, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r13, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, r13
mov r12, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea r8, [rsp + 0x60]
mov edx, 0x20
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r8d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x64]
mov rcx, r13
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rbx
mov rcx, r12
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rsi
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x64]
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], edx
mov ecx, r9d
lea r8d, [r9 - 1]
neg ecx
mov rbx, rax
mov dword [rsp + 0x40], ecx
and dword [rsp + 0x38], 0
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edx
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x64]
mov dword [rsp + 0x40], 0xcc0020
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
xor r8d, r8d
xor edx, edx
mov rcx, r12
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r13
mov rcx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x80]
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 0x1400861fc
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x840
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x830], rax
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp byte [0x14010ef60], sil
je 0x140086248
mov r8, rdx
mov rdx, rcx
lea rcx, [0x14010ef60]
call fcn.140073c48
jmp 0x1400862df
mov dword [rsp + 0x20], edx
mov r8, rcx
lea r9, [0x1400c3f4c]
lea rdx, str.TempFolder
lea rcx, [0x1400c3760]
call fcn.14005c464
mov word [rsp + 0x30], si
cmp word [rbx], si
je 0x1400862ae
lea rdx, [rsp + 0x30]
mov r8d, 0x400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, esi
je 0x14008629b
lea rdx, [rsp + 0x30]
mov r8, rdi
mov rcx, rbx
call fcn.14006b658
cmp word [rbx], si
je 0x1400862ae
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400862df
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, esi
je 0x1400862c2
cmp word [rbx], si
jne 0x1400862df
lea rcx, str._rartemp
mov rdx, rbx
sub rdx, rcx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
cmp ax, si
jne 0x1400862cf
mov rcx, rbx
call fcn.140052588
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.1400a86e0
lea r11, [rsp + 0x840]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14008630c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea rdx, str.NoDrives
lea rcx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
xor r8d, r8d
mov ebx, eax
call fcn.14005c490
not eax
and eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140086894
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
lea rcx, str.Shutdown
mov edx, 1
call fcn.14001ea90
test eax, eax
je 0x1400868d0
lea rdx, [rsp + 0x30]
lea rcx, [0x1400867cc]
mov byte [rsp + 0x30], 1
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x30], 0
je 0x1400868d0
call fcn.14006c108
add rsp, 0x28
ret
Function at 0x140086dec
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x830
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov rsi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x20]
mov edx, 0x400
call fcn.1400861fc
lea rcx, [rsp + 0x20]
call fcn.140052588
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
xor ecx, ecx
movzx eax, word [rsi + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x140086e3f
lea rcx, [rsp + 0x20]
call fcn.140031fe8
xor edi, edi
cmp rax, rdi
je 0x140086e94
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, edi
je 0x140086e94
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x20]
sub rbx, rax
movzx eax, word [rcx]
mov word [rbx + rcx], ax
add rcx, 2
cmp ax, di
jne 0x140086e80
mov al, 1
jmp 0x140086eb9
mov ecx, 0x1f7
call fcn.140061d94
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140096028
lea rcx, [0x1400ec668]
call fcn.1400286f0
xor al, al
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1400a86e0
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140087580
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor ecx, ecx
cmp eax, ecx
setne al
add rsp, 0x28
ret

Function at 0x140087598
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov eax, edx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor ecx, ecx
cmp eax, ecx
setne al
add rsp, 0x28
ret

Function at 0x140087c34
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1830
call fcn.1400baa60
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1820], rax
mov rbx, rdx
mov edx, ecx
mov rcx, qword [0x1400fec08]
mov rdi, r8
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rsp + 0xc20]
mov rcx, rax
mov r8d, 0x600
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r8, [rsp + 0x20]
mov r9d, 0x600
mov rdx, rdi
mov rcx, rbx
call fcn.1400529c4
lea r11, [rsp + 0x20]
lea rdx, [rsp + 0xc20]
sub rdx, r11
movzx eax, word [r11]
movzx ecx, word [r11 + rdx]
sub eax, ecx
jne 0x140087cc1
add r11, 2
test ecx, ecx
jne 0x140087cac
test eax, eax
je 0x140087cd3
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x1820]
xor rcx, rsp
call fcn.1400a86e0
add rsp, 0x1830
pop rdi
pop rsi
pop rbx
ret