joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140089220
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140499908]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rcx
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
call fcn.1400b1c7c
mov rcx, rax
test rax, rax
jne 0x140089287
mov ecx, 0x80004005
call fcn.140082d10
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
lea rax, [rsp + 0x40]
or rdi, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x1400892cd
movzx ebp, cx
mov ecx, ebp
call fcn.1400b2c04
test rax, rax
je 0x1400892f6
mov r8d, ebp
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140082750
jmp 0x1400892f1
lea rcx, [rsp + 0x40]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400892d5
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140082b40
mov rbx, qword [rsp + 0x30]
test r14d, r14d
jns 0x140089325
lea rdx, [0x14043fa60]
mov rcx, rsi
call fcn.14008d9d0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14008934d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
jmp 0x14008934d
lea rcx, [rbx - 0x18]
call fcn.140082280
add rax, 0x18
mov qword [rsi], rax
lock xadd dword [rbx - 8], edi
sub edi, 1
jg 0x14008934d
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14025d560
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140089380
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140499908]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rcx
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8d, [r9 + 0x1c]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.1400b1c7c
mov rcx, rax
test rax, rax
jne 0x1400893e5
mov ecx, 0x80004005
call fcn.140082d10
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [0x14043e3a4]
or rbx, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x140089429
movzx edi, dx
mov ecx, edi
call fcn.1400b2c04
test rax, rax
je 0x140089448
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140082750
jmp 0x140089448
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140089430
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140082b40
nop
lea r8, [rsp + 0x40]
lea rdx, [0x14043ed04]
lea rcx, [rsp + 0x30]
call fcn.1400825b0
lea r8, str.XTrainer
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400821b0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140089490
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14025d560
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400894c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140499908]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rcx
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r14d, eax
call fcn.1400b1c7c
mov rcx, rax
test rax, rax
jne 0x140089527
mov ecx, 0x80004005
call fcn.140082d10
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
lea rax, [rsp + 0x40]
or rdi, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x14008956d
movzx ebp, cx
mov ecx, ebp
call fcn.1400b2c04
test rax, rax
je 0x140089596
mov r8d, ebp
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140082750
jmp 0x140089591
lea rcx, [rsp + 0x40]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140089575
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140082b40
mov rbx, qword [rsp + 0x30]
test r14d, r14d
jns 0x1400895c5
lea rdx, [0x14043fa60]
mov rcx, rsi
call fcn.14008d9d0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400895ed
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
jmp 0x1400895ed
lea rcx, [rbx - 0x18]
call fcn.140082280
add rax, 0x18
mov qword [rsi], rax
lock xadd dword [rbx - 8], edi
sub edi, 1
jg 0x1400895ed
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14025d560
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14008bfb0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x60
mov rax, qword [0x140499908]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 + 0x18], rsi
or esi, 0xffffffff
mov qword [r11 - 0x10], r12
mov r12, rcx
mov qword [r11 - 0x18], r13
xor r13d, r13d
mov qword [r11 - 0x20], r14
mov ebp, r13d
mov r14, qword [rcx]
mov qword [r11 - 0x28], r15
mov r15d, dword [r14 - 0x10]
test r15d, r15d
jle 0x14008c0b7
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rdi
nop
movzx edx, word [r14]
lea r8, [rsp + 0x30]
mov r9d, 4
mov dword [rsp + 0x30], r13d
lea r14, [r14 + 2]
mov qword [rsp + 0x20], r13
lea eax, [rdx - 0x61]
lea ecx, [rax - 0x1a]
xor ecx, eax
sar ecx, 0x1f
and ecx, 0x20
sub edx, ecx
mov rcx, qword [0x1404b1ff0]
movzx ebx, dx
mov eax, ebx
xor eax, ebp
movzx edx, al
shl edx, 2
add rdx, qword [0x14049c108]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1404b1ff0]
lea r8, [rsp + 0x34]
test eax, eax
mov dword [rsp + 0x34], r13d
mov edi, esi
mov qword [rsp + 0x20], r13
cmovne edi, dword [rsp + 0x30]
mov r9d, 4
shr ebp, 8
xor edi, ebp
shr ebx, 8
xor ebx, edi
movzx edx, bl
shl edx, 2
add rdx, qword [0x14049c108]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
mov ebp, esi
cmovne ebp, dword [rsp + 0x34]
dec r15d
shr edi, 8
xor ebp, edi
test r15d, r15d
jg 0x14008c000
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x78]
mov rdx, qword [r12]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
mov r15, qword [rsp + 0x40]
sub esi, 1
mov rsi, qword [rsp + 0x80]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
jg 0x14008c0ef
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14025d560
add rsp, 0x60
pop rbp
ret
Function at 0x140093090
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x4d0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140499908]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x40], 0
lea rdx, [0x14043e3a4]
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400930e0
mov r8d, eax
mov rcx, rsi
call fcn.140082b40
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Mozilla_6.0
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
test rax, rax
je 0x14009314b
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
jne 0x140093152
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x1400931d7
xor edx, edx
mov r8d, 0x464
lea rcx, [rsp + 0x50]
call fcn.140334870
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400927a0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call fcn.140081d50
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400931bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rsp + 0x40], 0
ja 0x140093152
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.14025d560
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140093200
Capabilities:
Create directory
Delete registry value
Set registry value

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rsi
mov rax, qword [0x140499908]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [0x1404b32a4], 1
lea rax, [0x1404b91e8]
xor esi, esi
lea rcx, [0x1404ba868]
nop word [rax + rax]
mov qword [rax + 8], rsi
mov dword [rax], 0x4000000
add rax, 0x48
cmp rax, rcx
jl 0x140093250
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [0x1404ba878]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdx, [0x14043f588]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.1400b1c7c
mov rcx, rax
test rax, rax
jne 0x1400932bf
mov ecx, 0x80004005
call fcn.140082d10
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x50]
call fcn.140089380
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140082310
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140093308
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x140093324
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, str.XTrainer.config
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.1400821b0
mov r9, qword [rax]
lea r8, [0x14043d614]
lea rdx, str.checkupdate
lea rcx, str.config
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140093376
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0x78], 0x666
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREWow6432NodeXiaoXing
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.luckyguy
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140093412
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14025d560
mov rsi, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x14009d8a0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, recv
call fcn.140088a30
mov rcx, qword [rbx + 0x25f0]
xor r8d, r8d
cmp qword [0x1404b9598], r8
mov edx, 0xf1
setne r8b
xor r9d, r9d
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_SendMessageW]

Function at 0x14009db40
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140499908]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor r9d, r9d
mov rcx, qword [rcx + 0x1688]
xor r8d, r8d
mov edx, 0xf1
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [0x1404b98f8], 0
jne 0x14009db8d
mov ecx, 0x19
call fcn.140088a30
mov rdx, qword [0x1404b9900]
lea r8, [rsp + 0x30]
mov rcx, qword [0x1404b1ff0]
xor esi, esi
add rdx, 0xd
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x1404b9900]
lea r9d, [rsi + 4]
or ebx, 0xffffffff
mov qword [rsp + 0x20], rsi
test eax, eax
lea r8, [rsp + 0x38]
mov ecx, ebx
cmovne ecx, dword [rsp + 0x30]
add rdx, 0xd
test ecx, ecx
mov rcx, qword [0x1404b1ff0]
jne 0x14009dc46
mov dword [rsp + 0x38], 0x3f800000
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1404b9900]
lea r9d, [rsi + 4]
mov rcx, qword [0x1404b1ff0]
lea r8, [rsp + 0x30]
add rdx, 0x14
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rdi + 0x1688]
lea r8d, [rsi + 1]
xor r9d, r9d
mov edx, 0xf1
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [0x14049c100]
jmp 0x14009dcda
mov dword [rsp + 0x38], esi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
cmovne ebx, dword [rsp + 0x38]
cmp ebx, 0x3f800000
jne 0x14009dce8
mov rdx, qword [0x1404b9900]
lea r8, [rsp + 0x30]
mov rcx, qword [0x1404b1ff0]
add rdx, 0xd
mov r9d, 4
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1404b9900]
lea r8, [rsp + 0x38]
mov rcx, qword [0x1404b1ff0]
add rdx, 0x14
mov r9d, 4
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rdi + 0x1688]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [0x14049c0fc]
mov r8d, 0x40005
xor edx, edx
call qword [sym.imp.WINMM.dll_PlaySoundW]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14025d560
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400a3bb0
Capabilities:
Delete service
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140499908]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor dil, dil
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x1400a3c63
cmp qword [rbx + 0x40], 8
lea rdx, [rbx + 0x28]
jb 0x1400a3bfa
mov rdx, qword [rdx]
mov r8d, 0xf01ff
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x1400a3c5a
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [rsp + 0x24]
cmp eax, 4
jne 0x1400a3c3d
lea r8, [rsp + 0x20]
mov rcx, rbx
lea edx, [rax - 3]
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov eax, dword [rsp + 0x24]
cmp eax, 1
jne 0x1400a3c51
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
setne dil
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, dil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14025d560
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400a3c90
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140499908]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
or ebx, 0xffffffff
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x1400a3d15
cmp qword [rdi + 0x40], 8
lea rdx, [rdi + 0x28]
jb 0x1400a3cda
mov rdx, qword [rdx]
mov r8d, 0xf01ff
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x1400a3d0c
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ebx, dword [rsp + 0x24]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14025d560
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400a8624
Capabilities:
Extract resource via kernel32 functions

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 edi, edi
xor ebx, ebx
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x1400a868c
call fcn.1400d5b6c
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400a868c
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400a86ae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.1400b8514
mov esi, eax
test rdi, rdi
je 0x1400a86ac
test rbx, rbx
je 0x1400a86ac
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
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 0x1400a95a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400a9678
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x1400a9678
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400a9678
test rsi, rsi
je 0x1400a9678
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.1400d5b6c
lea r8, [0x140372f00]
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x1400a9645
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, r14
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x1400a9678
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.1400d993c
mov esi, eax
test rbp, rbp
je 0x1400a9668
test rdi, rdi
je 0x1400a9668
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x1400a9674
mov rcx, rbx
call fcn.1400a9208
mov eax, esi
jmp 0x1400a967a
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400aa7dc
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, rcx
mov rbx, r8
mov rcx, qword [rcx + 0x40]
call fcn.1400db6b0
mov rdi, rax
test rax, rax
je 0x1400aa858
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x1400aa853
cmp dword [rbx], 0x40
jb 0x1400aa853
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
or dword [rbx + 4], 1
xor r8d, r8d
or qword [rbx + 0x30], 0xffffffffffffffff
mov edx, 0x87
mov qword [rbx + 8], rcx
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x1400aa853
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x1400aa85c
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400af274
Capabilities:
Print debug messages

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 r15
sub rsp, 0x70
mov edi, r9d
mov rsi, r8
mov r14, rdx
mov r15d, ecx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x1404a1948]
test eax, eax
je 0x1400af2c6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404a1948]
test eax, eax
jne 0x1400af2cf
call fcn.1400af7fc
test eax, eax
je 0x1400af2eb
lea rdx, [rsp + 0x60]
mov rcx, qword [0x140498008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400af2f6
xor eax, eax
jmp 0x1400af3a4
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, rsi
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rsp + 0x68], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x1400af386
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400af388
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400af3a1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret