joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001f80
Capabilities:
Lock the desktop

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
je 0x140001f9b
mov al, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140001fb3
xor ecx, ecx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140001fba
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea r8, [0x140232c58]
mov rbx, rax
lea r9, str.Unable_to_lock_the_computer.
mov rcx, rdi
test rax, rax
je 0x140002017
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8d, 0xfffe
call sym.SystemInformer.exe_PhShowMessage2
lea rcx, ds:[rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140002025
call fcn.14013d2a0
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret

Function at 0x140002040
Capabilities:
Shutdown system

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x14000205f
mov al, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140002077
xor ecx, ecx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14000207e
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea r8, [0x140232c58]
mov rbx, rax
lea r9, str.Unable_to_log_off_the_computer.
mov rcx, rdi
test rax, rax
je 0x1400020da
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8d, 0xfffe
call sym.SystemInformer.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400020e5
call fcn.14013d2a0
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x1400126a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, qword [0x1402bfd08]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x28], 5
movups xmmword [rsp + 0x50], xmm0
mov rdi, rcx
mov rcx, rbx
movups xmmword [rsp + 0x60], xmm0
mov qword [r11 - 0x20], 0x95
movups xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x78], rdx
lea rdx, [r11 - 0x28]
mov qword [r11 - 0x70], r8
mov r8d, 3
movups xmmword [r11 - 0x58], xmm0
mov qword [r11 - 0x18], 0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14001276c
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14001276c
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140012e60]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401dd6a0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xd0
pop rdi
ret

Function at 0x1400127a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, qword [0x1402bfd08]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x38], 5
movups xmmword [rsp + 0x60], xmm0
xor eax, eax
mov rdi, r8
movups xmmword [rsp + 0x50], xmm0
mov rsi, rcx
mov rcx, rbx
movups xmmword [rsp + 0x70], xmm0
lea r8d, [rax + 3]
mov qword [r11 - 0x30], 0x95
movups xmmword [r11 - 0x68], xmm0
mov qword [r11 - 0x28], rax
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
mov qword [rsp + 0x60], rdx
lea rdx, [r11 - 0x38]
mov qword [r11 - 0x80], rax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14001287e
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14001287e
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140012e60]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
cmp rax, 1
jne 0x14001287e
mov rax, qword [rsp + 0x70]
mov qword [rdi], rax
mov al, 1
jmp 0x140012880
xor al, al
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0xd0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400171c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x88], rax
test byte [0x1402b6340], 1
jne 0x140017405
lock bts qword [0x1402b6340], 0x1f
jae 0x140017225
test byte [0x1402b6340], 1
jne 0x140017405
xor edx, edx
lea rcx, [0x1402b6340]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x98
ret
xor r9d, r9d
mov qword [rsp + 0x90], rbx
xor r8d, r8d
mov byte [rsp + 0x20], 0
mov edx, 0x1f0003
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
js 0x1400172aa
mov r8, qword ds:[rsp + 0x68]
lea rdx, [0x1400170b0]
lea rcx, [rsp + 0x50]
call sym.SystemInformer.exe_PhCreateThreadEx
test eax, eax
js 0x14001729f
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140016ea0
test al, al
je 0x140017289
lea rdx, [0x1402b6350]
mov rcx, rbx
call fcn.140017020
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
xor r9d, r9d
mov byte [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x68]
mov edx, 0x1f0003
call qword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
js 0x14001732a
mov r8, qword ds:[rsp + 0x68]
lea rdx, [0x140017100]
lea rcx, [rsp + 0x50]
call sym.SystemInformer.exe_PhCreateThreadEx
test eax, eax
js 0x14001731f
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140016ea0
test al, al
je 0x140017309
lea rdx, [0x1402b6358]
mov rcx, rbx
call fcn.140017020
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call fcn.140163640
nop dword [rax]
test eax, eax
js 0x1400173f1
mov r8, qword [rsp + 0x58]
lea rdx, [0x140017160]
lea rcx, [rsp + 0x50]
call sym.SystemInformer.exe_PhCreateThreadEx
nop
test eax, eax
js 0x1400173d6
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
mov dword [rsp + 0x70], 0
call fcn.140016ea0
test al, al
je 0x14001738c
lea rdx, [0x1402b6354]
mov rcx, rbx
call fcn.140017020
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], 0
xor r9d, r9d
mov qword [rsp + 0x38], 0
xor r8d, r8d
mov dword [rsp + 0x30], 4
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword ds:[rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [0x1402b6340]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x98
ret
Function at 0x14001a7c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp qword [rcx], rdx
jne 0x14001a809
cmp dword [rcx + 0x10], 0xffffff65
jne 0x14001a809
movzx eax, word ds:[rcx + 0x18]
cmp ax, 0x41
je 0x14001a809
cmp ax, 0x43
jne 0x14001a809
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001a809
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_PhCopyListView
add rsp, 0x20
pop rbx
ret

Function at 0x14001a820
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp qword [rcx], rdx
jne 0x14001a8a5
cmp dword [rcx + 0x10], 0xffffff65
jne 0x14001a8a5
movzx eax, word ds:[rcx + 0x18]
cmp ax, 0x41
je 0x14001a872
cmp ax, 0x43
jne 0x14001a8a5
test r8b, 1
je 0x14001a8a5
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax]
test ax, ax
jns 0x14001a8a5
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_PhCopyListView
test r8b, 2
je 0x14001a8a5
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001a8a5
mov edx, 2
mov rcx, rbx
mov r8d, edx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_PhSetStateAllListViewItems
add rsp, 0x20
pop rbx
ret
Function at 0x14001fbf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xf]
sub rsp, 0xc8
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [0x1402bfd08]
mov rax, r8
mov r8, qword [rbp + 0x6f]
xor esi, esi
mov r10, qword [rbp + 0x77]
mov rdi, rcx
mov rcx, qword [rbp + 0x5f]
mov r11, qword [rbp + 0x7f]
mov qword [rbp - 0x61], rax
mov eax, dword [rbp + 0x57]
mov dword [rbp - 0x51], eax
mov eax, dword [rbp + 0x67]
mov qword [rbp - 0x69], rdx
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x59], r9
lea r9, [rsp + 0x38]
mov qword [rbp - 0x49], rcx
mov rcx, rbx
mov qword [rbp - 0x39], r8
lea r8d, [rsi + 3]
mov dword [rbp - 0x41], eax
mov dword [rbp - 0x4d], esi
mov dword [rbp - 0x3d], esi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x31], r10
mov qword [rbp - 0x29], r11
mov qword [rbp - 0x19], 5
mov qword [rbp - 0x11], 0x9b
mov qword [rbp - 9], rsi
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14001fcce
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x79]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14001fcce
mov rdx, qword [rbp - 0x79]
lea rax, [rbp - 0x69]
lea r9, [0x14001fd00]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
jmp 0x14001fcd5
mov rax, 0xffffffffffffffff
cmp rax, 1
sete al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0xc8
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1400209e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rbx, qword [0x1402bfd08]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x38], 5
movups xmmword [rsp + 0x60], xmm0
xor eax, eax
mov rdi, r8
movups xmmword [rsp + 0x70], xmm0
mov rsi, rcx
mov rcx, rbx
movups xmmword [rsp + 0x80], xmm0
lea r8d, [rax + 3]
mov qword [r11 - 0x30], 0xbe
movups xmmword [rsp + 0x90], xmm0
mov qword [r11 - 0x28], rax
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
mov qword [rsp + 0x50], rdx
lea rdx, [r11 - 0x38]
mov qword [rsp + 0x58], rax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x140020aca
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140020aca
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140021320]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
cmp rax, 1
jne 0x140020aca
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov al, 1
jmp 0x140020acc
xor al, al
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret
Function at 0x140024140
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x510
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov rbx, rcx
mov dword [rsp + 0x24], edx
xor ecx, ecx
mov dword [rsp + 0x84], r8d
lea rax, [rsp + 0xe0]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x20]
mov dword [rsp + 0x88], ecx
lea rax, [rsp + 0x2f0]
mov esi, r8d
mov qword [rsp + 0x98], rax
mov edi, edx
mov dword [rsp + 0x20], 0xd
mov rcx, rbx
mov dword [rsp + 0x30], 0xffffffff
xor r8d, r8d
mov dword [rsp + 0x40], 0x208
mov edx, 0x104b
mov dword [rsp + 0x80], 0xd
mov dword [rsp + 0x90], 0xffffffff
mov dword [rsp + 0xa0], 0x208
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140024246
lea r9, [rsp + 0x80]
xor r8d, r8d
mov edx, 0x104b
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140024246
lea r9, [rsp + 0x20]
mov dword [rsp + 0x24], esi
xor r8d, r8d
mov dword [rsp + 0x84], edi
mov edx, 0x104c
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, ds:[rsp + 0x80]
xor r8d, r8d
mov edx, 0x104c
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x510
pop rdi
pop rsi
pop rbx
ret
Function at 0x140046880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rbx, qword [0x1402bfd08]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x28], 5
movups xmmword [rsp + 0x5c], xmm0
xor eax, eax
mov rdi, rcx
movups xmmword [rsp + 0x6c], xmm0
mov rcx, rbx
mov qword [r11 - 0x20], 0x81
movups xmmword [rsp + 0x7c], xmm0
mov dword [r11 - 0x2c], eax
lea r8d, [rax + 3]
movups xmmword [r11 - 0x6c], xmm0
mov qword [r11 - 0x18], rax
movups xmmword [r11 - 0x5c], xmm0
movups xmmword [r11 - 0x4c], xmm0
movups xmmword [r11 - 0x3c], xmm0
mov qword [rsp + 0x50], rdx
lea rdx, [r11 - 0x28]
mov dword [rsp + 0x58], eax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14004694f
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14004694f
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x1400460c0]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1401dd6a0
mov rbx, qword [rsp + 0x110]
add rsp, 0xf0
pop rdi
ret
Function at 0x14006e740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [0x1402bfe50]
mov edx, 4
lea r8d, [rdx + 0x6c]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xorps xmm0, xmm0
mov rsi, rax
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov qword [rax], rbx
mov qword [rax + 8], rdi
lock inc dword [rdi - 8]
xor ebx, ebx
mov eax, ebx
cmp dword [rdi], ebx
jbe 0x14006e7c4
nop dword [rax + rax]
mov rcx, qword ds:[rdi + 8]
mov edx, eax
mov rdx, qword [rcx + rdx*8]
lock inc dword [rdx]
inc eax
cmp eax, dword [rdi]
jb 0x14006e7b0
mov rdi, qword [0x1402bfd08]
lea r9, [rsp + 0x38]
mov rcx, rdi
mov qword [rsp + 0x48], 5
mov r8d, 3
mov qword [rsp + 0x50], 0xb7
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x58], rbx
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14006e83e
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14006e83e
mov rdx, qword [rsp + 0x40]
lea r9, [0x14006f040]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rbx, rax
mov edx, 5
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword ds:[rsp + 0x60]
xor rcx, rsp
call fcn.1401dd6a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a38e0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, edx
mov ecx, dword [0x1402c4ce0]
lfence
cmp ecx, 0x40
jae 0x1400a3910
mov r8, qword gs:[0x30]
mov rax, qword [r8 + rcx*8 + 0x1480]
jmp 0x1400a3916
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx]
mov r9, qword [rcx + 0x38]
add r8, r9
add rdx, r8
cmp rdx, r8
jb 0x1400a3956
cmp r8, r9
jb 0x1400a3956
cmp rdx, qword [rcx + 0x40]
ja 0x1400a3956
lea edx, ds:[rdi - 1]
test r8, rdx
jne 0x1400a3956
lfence
mov rax, r8
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1400b83e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, qword [0x1402bfd08]
lea r9, [r11 - 0x50]
xor eax, eax
mov qword [r11 - 0x40], rdx
mov rdi, rcx
mov qword [r11 - 0x38], rax
lea rdx, [r11 - 0x30]
mov qword [r11 - 0x30], 5
mov rcx, rbx
mov qword [r11 - 0x28], 0xbd
lea r8d, [rax + 3]
mov qword [r11 - 0x20], rax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x1400b8486
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x1400b8486
mov rdx, qword ds:[rsp + 0x40]
lea rax, [rsp + 0x48]
lea r9, [0x1400b85c0]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401dd6a0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x1400bcf20
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x40
test byte [rcx + 0x708], 8
mov rbx, rcx
jne 0x1400bd03e
mov rcx, qword [rcx + 0x748]
mov qword [rsp + 0x58], rdi
mov qword [rbx + 0x748], 0
test rcx, rcx
je 0x1400bcf6a
add rcx, 0xfffffffffffffff0
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400bcf6a
call fcn.14013d2a0
mov rax, qword [rbx + 0x70]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x1400bd032
test dword [rax + 0xd0], 0x8000
jne 0x1400bd032
mov rcx, qword [rbx + 0x740]
test rcx, rcx
jne 0x1400bd009
mov rax, qword ds:[rbx + 0x68]
xorps xmm0, xmm0
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x50], rdx
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x39], 1
movups xmmword [rsp + 0x20], xmm0
test rdx, rdx
je 0x1400bcfda
cmp dword [0x1402b5e88], 0x3e
jb 0x1400bcfda
mov rcx, rdx
call fcn.14014d080
mov byte [rsp + 0x38], al
lea rdx, [rsp + 0x20]
lea rcx, [0x14014caa0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
test rax, rax
cmovne rcx, rax
mov qword [rbx + 0x740], rcx
test rcx, rcx
je 0x1400bd032
lea r8, [rbx + 0x748]
mov edx, 1
call sym.SystemInformer.exe_PhGetWindowTextEx
mov rcx, qword [rbx + 0x740]
call qword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
setne al
mov byte [rbx + 0x750], al
or dword [rbx + 0x708], 8
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rbx
ret
Function at 0x1400ca3f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rdi, qword [0x1402bfd08]
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x140]
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov rsi, rcx
mov rcx, rdi
movups xmmword [rsp + 0x78], xmm0
mov qword [r11 - 0x38], 5
movups xmmword [rsp + 0x88], xmm0
mov qword [r11 - 0x40], rax
movups xmmword [r11 - 0x80], xmm0
mov qword [r11 - 0x30], 0xdd
movups xmmword [r11 - 0x70], xmm0
mov qword [r11 - 0x28], rax
movups xmmword [r11 - 0x60], xmm0
movups xmmword [r11 - 0x50], xmm0
mov qword [rsp + 0x50], rdx
lea rdx, [r11 - 0x38]
mov qword [rsp + 0x58], r8
lea r8d, [rax + 3]
mov qword [rsp + 0x60], r9
lea r9, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x1400ca4d3
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x1400ca4d3
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x1400c9d20]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, rax
jmp 0x1400ca4da
mov rcx, 0xffffffffffffffff
test rbx, rbx
je 0x1400ca4e6
movzx eax, byte [rsp + 0x68]
mov byte [rbx], al
mov rax, rcx
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400e69a0
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov rbp, rcx
call fcn.1400e68c0
mov rdx, qword [0x1402bfd00]
mov ecx, 0x10
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [0x1402bfe50]
mov edx, 4
mov rbx, rax
mov dword [rax], 0
lea r8d, [rdx + 0x4c]
mov dword [rax + 4], 0xa
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbx + 8], rax
mov qword [rsp + 0x28], rbx
call fcn.14014f5e0
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
mov rcx, rax
lea r8, [rsp + 0x28]
lea rdx, [0x1400e6820]
call qword [sym.imp.USER32.dll_EnumDesktopsW]
mov rcx, qword [rsp + 0x28]
xor ebx, ebx
cmp dword [rcx], ebx
jbe 0x1400e6ad4
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x40], rdi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx + 8]
lea rdi, [rbx*8]
mov r9, qword [rdi + rax]
test r9, r9
je 0x1400e6a69
mov r9, qword [r9 + 8]
xor r8d, r8d
mov edx, 0x143
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
cmp eax, 0xffffffff
je 0x1400e6abf
mov rcx, qword [0x1402bfe50]
mov edx, 4
lea r8d, [rdx + 4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [rsp + 0x28]
mov r9, rax
movsxd r8, esi
mov rdx, qword [rcx + 8]
mov rcx, qword [rdi + rdx]
mov edx, 0x151
mov qword [rax], rcx
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x28]
inc ebx
cmp ebx, dword [rcx]
jb 0x1400e6a50
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x68]
mov ebx, 0xffffffff
add rcx, 0xfffffffffffffff0
mov eax, ebx
lock xadd dword [rcx + 8], eax
mov rbp, qword [rsp + 0x60]
cmp eax, 1
jne 0x1400e6af3
call fcn.14013d2a0
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
mov rbx, qword [rsp + 0x58]
jne 0x1400e6b10
call fcn.14013d2a0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x48
ret