joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401270bc
Capabilities:
Create thread
Resume thread

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 r14
sub rsp, 0x30
mov rbp, rcx
mov rsi, r9
mov ecx, 0x48
mov r14, r8
mov rdi, rdx
call fcn.14011ff78
mov rbx, rax
test rax, rax
je 0x1401271e9
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
and qword [rbx + 0x10], 0
mov qword [rbx], rbp
mov qword [rbx + 8], rdi
mov dword [rbx + 0x18], eax
mov byte [rbx + 0x1c], 0
test rsi, rsi
je 0x140127191
cmp byte [rsi], 0
je 0x140127191
mov edx, 0x25
mov rcx, rsi
call fcn.14013ca28
test rax, rax
je 0x140127179
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rsi + rdi], 0
jne 0x140127130
lea rcx, [rdi + 0x40]
call fcn.14011ffa8
mov rbp, rax
test rax, rax
je 0x140127179
mov r9d, dword [rsp + 0x60]
lea rdx, [rdi + 0x40]
mov r8, rsi
mov rcx, rax
call fcn.140120854
lea rcx, [rbx + 0x1c]
mov r8d, 0x28
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
mov rcx, rbp
call fcn.14011ffa0
lea rcx, [rbx + 0x1c]
cmp byte [rcx], 0
jne 0x140127191
mov r8d, 0x28
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
mov qword [rsp + 0x28], r14
lea r8, [0x14012730c]
mov r9, rbx
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test rdi, rdi
je 0x1401271d1
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1401271de
mov edx, 0x48
mov rcx, rbx
call fcn.140139990
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140127204
Capabilities:
Terminate thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r12d, r9d
lea rbx, [0x1402301d8]
mov r14, r8
mov r15d, edx
mov rbp, rcx
xor edi, edi
mov esi, 0xff
cmp dword [rbx - 0x2c], 0
je 0x140127265
cmp qword [rbx - 0x20], rbp
jne 0x140127265
lea rdi, [rbx - 0x30]
mov dword [rbx - 4], r15d
mov dword [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx - 8], eax
mov dword [0x1401e7e24], esi
dec rsi
lea rax, [0x140227a60]
sub rbx, 0x88
cmp rbx, rax
jge 0x14012723c
mov rax, qword [0x140230230]
test rdi, rdi
mov edx, r15d
mov rcx, rbp
cmove rax, rbp
mov qword [0x140230230], rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, eax
test rdi, rdi
je 0x1401272ed
mov edx, 0x5c
mov rcx, r14
call fcn.14013caa8
test rax, rax
je 0x1401272ba
inc rax
jmp 0x1401272bd
mov rax, r14
mov r8d, 0x1e
lea rcx, [rsp + 0x20]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
lea rcx, [rdi + 0x5c]
mov r9d, r12d
lea r8, [rsp + 0x20]
lea rdx, str._s:_i
call fcn.140127058
and dword [rdi + 4], 0
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140139b10
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140127a34
Capabilities:
Check for time delay via gettickcount

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 r14
push r15
sub rsp, 0x20
mov r15d, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, rbx
mov r12d, eax
call fcn.140128f5c
test al, al
jne 0x140127b3d
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.140128f5c
test al, al
jne 0x140127b3d
cmp dword [rbx + 0x60], r14d
je 0x140127b12
mov rdi, qword [rbx + 0x68]
test rdi, rdi
je 0x140127b12
xor edx, edx
mov rcx, rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140127b12
lea rcx, [rbx + 0x30]
call sub.KERNEL32.dll_EnterCriticalSection
mov rcx, qword [rbx + 0x68]
cmp rdi, rcx
jne 0x140127b05
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140127add
and qword [rbx + 0x68], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140128eec
and dword [rbx + 0x80], 0
movzx esi, al
mov eax, dword [rbx + 0xa8]
test eax, eax
jle 0x140127b01
dec eax
mov dword [rbx + 0xa8], eax
mov dword [rbx + 0x60], r14d
lea rcx, [rbx + 0x30]
call fcn.140128e48
test esi, esi
jne 0x140127b3d
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp r15d, 0xffffffff
je 0x140127a84
sub eax, r12d
cmp eax, r15d
jbe 0x140127a84
xor al, al
jmp 0x140127b3f
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140127cd4
Capabilities:
Check for time delay via gettickcount

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 r14
sub rsp, 0x20
mov esi, r8d
mov ebp, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
lea r9, [rbx + 0x84]
mov r14d, eax
lea ecx, [rdi + 1]
cmp dword [r9], ebp
je 0x140127d1e
inc rcx
add r9, 4
cmp rcx, 0xa
jb 0x140127d0a
jmp 0x140127d48
mov edi, dword [rbx + rcx*4 + 0xa8]
jmp 0x140127d48
mov rcx, qword [rbx + 0x78]
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r14d
cmp esi, 0xffffffff
je 0x140127d48
cmp eax, esi
ja 0x140127d4d
cmp dword [rbx + 0x70], edi
jg 0x140127d27
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140127d84
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp byte [rcx], 0
mov rdi, rcx
je 0x140127dd6
add rcx, 8
call fcn.140120ef0
test al, al
je 0x140127dd6
lea rcx, [rdi + 0x18]
call fcn.140120ef0
test al, al
je 0x140127dd6
lea rcx, [rdi + 0x18]
call fcn.140058574
lea rcx, [rdi + 8]
mov rbx, rax
call fcn.140058574
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, [rdi + 0x18]
call fcn.140120ddc
lea rcx, [rdi + 8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140120ddc

Function at 0x140127e1c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor r12d, r12d
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
je 0x140127fab
cmp word [rdx], r12w
je 0x140127fab
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r14d, eax
lea ecx, [r14 - 1]
cmp ecx, 0x7ffffffa
ja 0x140127f1c
lea rcx, [rbp - 0x20]
call fcn.140120d54
lea r13d, [r14 + 2]
mov edx, r13d
lea rcx, [rbp - 0x20]
call fcn.140121228
mov r15, rax
test rax, rax
je 0x140127f13
xor r8d, r8d
lea rcx, [rbp - 0x20]
xor edx, edx
call fcn.1401219f8
xor r8d, r8d
lea rcx, [rbp - 0x20]
mov edx, r14d
call fcn.1401219f8
mov r8d, 0xffff
lea rcx, [rbp - 0x20]
mov edx, r14d
call fcn.1401219f8
mov r8d, 0xffff
lea edx, [r13 - 1]
lea rcx, [rbp - 0x20]
call fcn.1401219f8
mov r8d, r14d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x140127f13
cmp eax, r14d
ja 0x140127f13
cmp word [r15], r12w
je 0x140127f13
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140120b90
lea rcx, [rbp - 0x20]
call fcn.140120ddc
jmp 0x140127fb3
lea rcx, [rbp - 0x20]
call fcn.140120ddc
or r15, 0xffffffffffffffff
mov rbx, r15
inc rbx
cmp word [rsi + rbx*2], r12w
jne 0x140127f23
lea rax, [rbx - 1]
movabs rcx, 0x7ffffffffffffffa
cmp rax, rcx
ja 0x140127fab
lea rcx, [rbp - 0x10]
call fcn.140120d54
lea rdx, [rbx + 2]
lea rcx, [rbp - 0x10]
call fcn.140121228
test rax, rax
jne 0x140127f69
mov rcx, rdi
call fcn.140120d54
lea rcx, [rbp - 0x10]
jmp 0x140127f09
mov r8, r15
lea rcx, [rbp - 0x10]
mov rdx, rsi
call fcn.140121718
mov r8d, 0xffff
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x10]
call fcn.1401219f8
mov r8d, 0xffff
lea rcx, [rbp - 0x10]
mov rdx, rbx
call fcn.1401219f8
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.140120b90
jmp 0x140127f63
mov rcx, rdi
call fcn.140120d54
lea r11, [rsp + 0x40]
mov rax, rdi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140127fd4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x30
xor r14d, r14d
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x1401280ca
cmp word [rdx], r14w
je 0x1401280ca
lea rcx, [rbp - 0x10]
call fcn.140120d54
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140128079
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x1401280c0
lea edx, [r14 + 2]
lea rcx, [rbp - 0x10]
call fcn.140121228
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.1401219f8
lea edx, [r14 + 1]
xor r8d, r8d
lea rcx, [rbp - 0x10]
call fcn.1401219f8
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140120b90
lea rcx, [rbp - 0x10]
call fcn.140120ddc
jmp 0x1401280cf
cmp eax, 0x7ffffffd
jae 0x1401280c0
lea esi, [rax + 2]
mov edx, esi
lea rcx, [rbp - 0x10]
call fcn.140121228
test rax, rax
je 0x1401280c0
mov r8d, esi
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
je 0x1401280c0
cmp eax, esi
jae 0x1401280c0
xor r8d, r8d
lea edx, [rax + 1]
lea rcx, [rbp - 0x10]
call fcn.1401219f8
lea edx, [rdi + 2]
jmp 0x140128056
mov rcx, rbx
call fcn.140120d54
jmp 0x14012806e
call fcn.140120d54
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
Function at 0x14012851c
Capabilities:
Log keystrokes
Log keystrokes via polling

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, 0x40
mov esi, 0x10
xor r12d, r12d
mov ebp, r9d
movzx r14d, r8w
mov edi, edx
movzx ebx, cx
lea r15d, [rsi - 8]
lea r13d, [rsi - 0xf]
test cx, cx
jne 0x1401285ce
test edx, edx
jne 0x1401285ce
test r8w, r8w
je 0x1401285ce
movzx ecx, r8w
call qword [sym.imp.USER32.dll_VkKeyScanW]
movzx ecx, ax
movzx edx, ax
sub cx, r13w
mov eax, 0xfffd
cmp cx, ax
ja 0x1401285ce
movzx ebx, dx
mov eax, 0xff
shr dx, 8
and bx, ax
mov cl, dl
mov r8b, 6
and cl, 7
cmp cl, r8b
jne 0x1401285a1
mov edi, esi
jmp 0x1401285ce
test r13b, dl
mov al, dl
mov ecx, esi
cmove ecx, edi
mov edi, ecx
or edi, r15d
and al, 2
cmove edi, ecx
mov eax, edi
test dl, 4
je 0x1401285ce
and dl, r8b
mov edi, r12d
cmp dl, r8b
setne dil
add edi, r13d
or edi, eax
cmp ebp, 0xffffffff
jne 0x1401285e0
movzx ecx, bx
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebp, eax
mov word [rsp + 0x20], r13w
xorps xmm0, xmm0
movups xmmword [rsp + 0x24], xmm0
mov dword [rsp + 0x24], r13d
mov word [rsp + 0x28], r13w
mov word [rsp + 0x2a], bx
mov word [rsp + 0x2c], bp
mov word [rsp + 0x2e], r14w
cmp bx, si
je 0x140128622
mov ecx, 0xa0
movzx eax, bx
sub ax, cx
cmp ax, r13w
jbe 0x140128622
mov esi, r12d
cmp bx, 0x11
je 0x140128635
mov eax, 0xa2
cmp bx, ax
je 0x140128635
mov r15d, r12d
movups xmm0, xmmword [rsp + 0x20]
mov eax, 0xa3
mov dword [rsp + 0x24], r12d
cmp bx, ax
lea r11, [rsp + 0x40]
mov rbp, qword [r11 + 0x38]
mov eax, 4
mov ecx, r12d
mov edx, 0xa5
cmove ecx, eax
cmp bx, dx
mov rbx, qword [r11 + 0x30]
mov eax, r12d
sete al
or ecx, eax
mov rax, qword [rsp + 0x90]
or ecx, r15d
or ecx, esi
mov rsi, qword [r11 + 0x40]
or ecx, edi
movups xmmword [rax], xmm0
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x98]
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
mov dword [rax + 0x10], edi
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140128e50
Capabilities:
Check for time delay via gettickcount

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 r14
sub rsp, 0x20
xor ebx, ebx
mov ebp, r8d
mov rsi, rdx
mov rdi, rcx
cmp byte [rcx + 8], bl
je 0x140128e83
cmp qword [rcx], rdx
je 0x140128e83
call fcn.140128f84
mov qword [rdi], rsi
test rsi, rsi
jne 0x140128e8f
xor eax, eax
jmp 0x140128ece
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
jmp 0x140128eb7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r14d
cmp ebp, 0xffffffff
je 0x140128eac
cmp eax, ebp
jae 0x140128ecc
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rsi
call fcn.140128f5c
test al, al
je 0x140128e9a
mov byte [rdi + 8], 1
mov ebx, 1
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14012be90
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140123140
test al, al
je 0x14012bf2c
and dword [rbp - 0x10], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
and dword [rsp + 0x48], 0
mov r9d, 0x220
and dword [rsp + 0x40], 0
mov r8d, 0x20
and dword [rsp + 0x38], 0
mov dl, 2
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov word [rbp - 0xc], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x14012bf29
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
test eax, eax
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140139b10
add rsp, 0x80
pop rbp
ret

Function at 0x14012bf44
Capabilities:
Query environment variable
Set environment variable

Disassembly:
test rcx, rcx
je 0x14012c026
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rbx, rdx
mov rsi, rcx
cmp word [rcx], r14w
je 0x14012c00c
test rdx, rdx
je 0x14012c00c
cmp word [rdx], r14w
je 0x14012c00c
mov ecx, 0x208
mov ebp, 0x104
call fcn.140120104
lea edx, [r14 + 0x25]
mov rcx, rbx
mov rdi, rax
call fcn.14013a9b0
test rax, rax
je 0x14012bff3
mov r8d, ebp
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, ebp
jbe 0x14012bfe9
mov rcx, rdi
lea ebp, [rax + 1]
call fcn.14012008c
mov ecx, ebp
add rcx, rcx
call fcn.140120104
mov r8d, ebp
mov rdx, rax
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14012bff3
cmp eax, ebp
cmovbe rbx, rdi
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test rdi, rdi
je 0x14012c00c
mov rcx, rdi
call fcn.14012008c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14012c398
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x890]
sub rsp, 0x990
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x880], rax
xor r15d, r15d
mov rdi, r9
mov dword [rsp + 0x40], r15d
mov r14b, r8b
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
jne 0x14012c3f1
lea rdx, str._nullptr_
mov rcx, rsi
call fcn.1400a8ac4
jmp 0x14012c524
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14012c417
mov r9d, ebx
lea r8, str.0x_08X:_Invalid_window_handle
mov edx, 0x400
mov rcx, rsi
call fcn.140120394
jmp 0x14012c524
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0xf0
call fcn.14013b230
mov r8d, 0x100
lea rdx, [rbp + 0x280]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
jne 0x14012c458
lea rdx, str._GetClassName_failed_
lea rcx, [rbp + 0x280]
call fcn.140063194
mov r8d, 0x200
lea rdx, [rbp + 0x480]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x14012c47a
mov word [rbp + 0x480], r15w
test r14b, r14b
jne 0x14012c484
test rdi, rdi
je 0x14012c4e9
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x14012c4e9
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x238
call fcn.14013b230
test r14b, r14b
je 0x14012c4e9
mov ecx, dword [rsp + 0x40]
lea rdx, [rsp + 0x50]
call fcn.140129db4
test al, al
je 0x14012c4e9
mov eax, dword [rsp + 0x40]
lea r9, [rsp + 0x7c]
lea r8, str.____s___u_
mov dword [rsp + 0x20], eax
mov edx, 0x78
mov word [rbp + 0x44], r15w
lea rcx, [rbp + 0x190]
call fcn.140120394
lea rax, [rbp + 0x190]
mov r9d, ebx
mov qword [rsp + 0x30], rax
lea r8, str.0x_08X:__s____s_s
lea rax, [rbp + 0x480]
mov edx, 0x400
mov qword [rsp + 0x28], rax
mov rcx, rsi
lea rax, [rbp + 0x280]
mov qword [rsp + 0x20], rax
call fcn.140120394
test rdi, rdi
je 0x14012c52f
mov eax, dword [rsp + 0x40]
mov dword [rdi], eax
mov rcx, qword [rbp + 0x880]
xor rcx, rsp
call fcn.140139b10
mov rbx, qword [rsp + 0x9d0]
add rsp, 0x990
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14012cbb0
Capabilities:
Impersonate user

Disassembly:
push rbx
sub rsp, 0x30
mov rdx, qword [rcx + 0x80]
lea r8, [rcx + 0x88]
xor ebx, ebx
mov qword [rsp + 0x40], rbx
lea r9d, [rbx + 2]
cmp dword [rcx + 0x290], r9d
lea eax, [rbx + 9]
cmove r8, rbx
cmp dword [rcx + 0x74], r9d
mov rcx, qword [rcx + 0x78]
cmove r9d, eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
je 0x14012cc0b
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x14012cc0d
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14012cc14
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, rdx
mov rbx, rcx
xor esi, esi
mov dword [rcx + 0x290], esi
mov rax, qword [rcx + 0x78]
test rax, rax
je 0x14012ccfd
cmp word [rax], si
je 0x14012ccfd
lea rdi, [rcx + 0x88]
mov r8d, 0x103
mov rdx, rdi
mov rcx, r9
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x14012cc6c
mov word [rdi], si
lea eax, [rsi + 2]
jmp 0x14012cc71
mov eax, 1
mov dword [rbx + 0x290], eax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x14012cc8f
call fcn.14012008c
mov qword [rbx + 0x80], rsi
mov edx, 0x5c
mov rcx, qword [rbx + 0x78]
call fcn.14013a9b0
test rax, rax
je 0x14012ccd8
mov rcx, qword [rbx + 0x78]
mov qword [rbx + 0x80], rcx
mov word [rax], si
lea rdx, [rax + 2]
xor r8d, r8d
lea rcx, [rsp + 0x20]
call fcn.140128120
nop
mov rcx, rax
call fcn.140121210
mov qword [rbx + 0x78], rax
lea rcx, [rsp + 0x20]
call fcn.140120ddc
mov rcx, rbx
call fcn.14012cbb0
test rax, rax
setne bl
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14012ccf9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x14012ccff
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14012ee84
Capabilities:
Find taskbar

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor edx, edx
jmp 0x14012eed5
test rdi, rdi
je 0x14012eeef
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x14012eed2
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x14012eeef
mov rdx, rbx
xor r9d, r9d
lea r8, str.Shell_TrayWnd
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, rax
test rax, rax
jne 0x14012eea4
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140139b10
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140130c1c
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x140130d3f
cmp word [rcx], bx
je 0x140130d3f
mov qword [rsp + 0x30], rbx
lea r14d, [rbx + 1]
mov r8d, r14d
mov dword [rsp + 0x28], 0x2000000
xor r9d, r9d
mov dword [rsp + 0x20], 3
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140130cd7
xorps xmm0, xmm0
lea rdx, [rsp + 0x40]
xor eax, eax
mov rcx, rsi
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x70], eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140130cca
test byte [rsp + 0x40], 0x10
movzx ebx, bl
cmovne ebx, r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x140130d41
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x250
call fcn.14013b230
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140130d3f
test byte [rbp - 0x80], 0x10
je 0x140130d1e
cmp word [rbp - 0x54], 0x2e
jne 0x140130d31
cmp word [rbp - 0x52], bx
je 0x140130d1e
cmp word [rbp - 0x52], 0x2e
jne 0x140130d31
cmp word [rbp - 0x50], bx
jne 0x140130d31
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140130d34
jmp 0x140130cfe
mov bl, r14b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140130cd3
xor al, al
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140139b10
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140130d68
Capabilities:
Bypass mark of the web
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rdx
xor ebx, ebx
mov qword [rax - 0x20], rbx
mov qword [rax - 0x28], rbx
mov qword [rax - 0x30], rbx
mov qword [rax - 0x38], rbx
mov qword [rax - 0x40], rbx
mov qword [rax - 0x48], rbx
xor r9d, r9d
lea r8, str.:Zone.Identifier
mov rdx, rcx
lea rcx, [rax - 0x18]
call fcn.140120be0
nop
lea rcx, [rsp + 0x50]
call fcn.140058574
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140130df9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
lea rcx, [rsp + 0x50]
call fcn.140058574
mov r9, rax
xor r8d, r8d
lea rdx, str.ZoneId
lea rcx, str.ZoneTransfer
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
jne 0x140130df9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
jmp 0x140130dfb
mov bl, 1
lea rcx, [rsp + 0x50]
call fcn.140120ddc
mov al, bl
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret