joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009a8d0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x240
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov eax, dword [0x1402af238]
lea rbp, str.NO_INIT
test al, 1
jne 0x14009a99b
or eax, 1
mov dword [0x1402af238], eax
call fcn.140004e20
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x14009a936
mov ecx, 0x80004005
call fcn.140007d40
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1402af230], rax
test rbp, 0xffffffffffff0000
jne 0x14009a978
movzx edi, bp
xor edx, edx
mov ecx, edi
call fcn.140007c90
test rax, rax
je 0x14009a98e
mov r8d, edi
mov rdx, rax
lea rcx, [0x1402af230]
call fcn.140008550
jmp 0x14009a98e
mov r8d, 7
mov rdx, rbp
lea rcx, [0x1402af230]
call fcn.140008830
nop
lea rcx, [0x14014e620]
call fcn.14010bb08
nop
mov rcx, qword [0x1402af230]
movzx eax, word [rcx + rbx*2]
inc rbx
cmp ax, word [rbp + rbx*2 - 2]
jne 0x14009aa61
cmp rbx, 8
jne 0x14009a9a2
xor r8d, r8d
lea rdx, [0x140150af4]
lea rcx, [0x1402af230]
call fcn.140008830
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.14010a9a0
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rsp + 0x30]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14009aa00
movups xmm0, xmmword [str.SynTPHelper.exe]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140165710]
movups xmmword [rcx + 0x10], xmm1
movzx eax, word [0x140165720]
mov word [rcx + 0x20], ax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14009aa61
lea rdx, [rsp + 0x30]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x14009aa43
mov r8d, eax
lea rdx, [rsp + 0x30]
lea rcx, [0x1402af230]
call fcn.140008830
mov rcx, qword [0x1402af230]
add rcx, 0xffffffffffffffe8
call fcn.140007d60
add rax, 0x18
mov qword [rsi], rax
mov rax, rsi
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14009aaa0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0xa0c], 0
mov rbx, rcx
je 0x14009aaff
cmp dword [rcx + 0xa10], 0
je 0x14009aad7
mov rcx, qword [rcx + 0x950]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14009aad7
mov eax, 1
add rsp, 0x30
pop rbx
ret
cmp dword [rbx + 0x17c8], 0
jne 0x14009aaff
xor eax, eax
lea r8, [0x1400a1170]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14009ad30
Capabilities:
Get session user name

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2da0]
mov eax, 0x2ea0
call fcn.14010cf70
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x2ed0], rbx
mov rsi, rcx
xor edi, edi
mov dword [rcx + 0xa10], edi
mov dword [rbp + 0x2dc0], 0x101
lea rdx, [rbp + 0x2dc0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea r9, [rsp + 0x60]
lea r8, str..pipe_sA81FA0C8_FC78_41D6_89D1_4AE8D6B47686
mov edx, 0x200
lea rcx, [rbp + 0x170]
call fcn.14010d3c4
lea r9, [0x140150658]
lea r8, [0x14016191c]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1401037f0
cmp qword [rax + 0x10], rdi
setne bl
cmp qword [rsp + 0x48], 8
jb 0x14009add1
mov rcx, qword [rsp + 0x30]
call fcn.14010a7dc
test bl, bl
je 0x14009ae2f
lea r9, [0x140150658]
lea r8, [0x14016191c]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1401037f0
cmp qword [rax + 0x18], 8
jb 0x14009adf9
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x170]
lea r8, str._s_s
mov edx, 0x200
lea rcx, [rbp + 0x170]
call fcn.14010d3c4
cmp qword [rsp + 0x48], 8
jb 0x14009ae2f
mov rcx, qword [rsp + 0x30]
call fcn.14010a7dc
mov ecx, 0x2038
call fcn.14010a7e4
mov qword [rbp + 0x2dc8], rax
test rax, rax
je 0x14009ae56
lea rdx, [rbp + 0x170]
mov rcx, rax
call fcn.140001b80
jmp 0x14009ae59
mov rax, rdi
mov qword [rsi + 0x17f0], rax
test rax, rax
je 0x14009ae6d
mov rcx, rax
call fcn.140001de0
lea rcx, [rsi + 0xa04]
call fcn.140113998
xor edx, edx
mov r8d, 0x2828
lea rcx, [rbp + 0x570]
call fcn.14010a9a0
mov dword [rbp + 0x570], edi
mov eax, dword [rsi + 0xa04]
mov dword [rbp + 0x57c], eax
mov eax, dword [rsi + 0xa30]
mov dword [rbp + 0x578], eax
movups xmm0, xmmword [0x140162838]
movaps xmmword [rbp + 0x2d80], xmm0
mov eax, dword [rsi + 0xa08]
mov dword [rbp + 0x2d90], eax
mov rcx, qword [rsi + 0x17f0]
test rcx, rcx
je 0x14009aeed
mov r8d, 0x2828
lea rdx, [rbp + 0x570]
call fcn.140001c90
mov rcx, rdi
test eax, eax
setne cl
jmp 0x14009af27
mov dword [rsp + 0x38], 0x2828
mov qword [rsp + 0x30], rdi
lea rax, [rbp + 0x570]
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x30]
mov r8, qword [rsi + 0xa28]
mov edx, 0x4a
mov rcx, qword [rsi + 0x950]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
test rcx, rcx
setne dil
mov eax, edi
mov rbx, qword [rsp + 0x2ed0]
add rsp, 0x2ea0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009b940
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
cmp dword [rcx + 0xa14], 0
mov edi, r8d
mov esi, edx
mov rbx, rcx
je 0x14009b96a
xor eax, eax
jmp 0x14009ba59
call fcn.14009b210
mov rcx, qword [rbx + 0x9a0]
test rcx, rcx
je 0x14009b9a7
test edi, edi
jns 0x14009b991
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14009b9a7
mov edx, edi
call fcn.140104a70
test eax, eax
je 0x14009b9a7
mov qword [rbx + 0x9a0], 0
mov rcx, qword [rbx + 0x998]
test rcx, rcx
je 0x14009ba54
test esi, esi
je 0x14009ba54
test edi, edi
jns 0x14009ba3e
mov qword [rsp + 0x30], rcx
xor r8d, r8d
lea rcx, [rsp + 0x250]
xor r9d, r9d
mov edx, reloc.OLEAUT32.dll_VarDecFix
mov dword [rsp + 0x20], r8d
call fcn.1400d38f0
lea rcx, [rsp + 0x38]
mov edx, 0x104
mov r8, qword [rax]
call fcn.14010cfc0
mov rdx, qword [rsp + 0x250]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14009ba13
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x30]
lea rcx, [0x1400ebbe0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbx + 0x998]
xor r9d, r9d
lea edx, [r9 + 0x10]
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14009ba54
mov edx, edi
call fcn.140104a70
test eax, eax
je 0x14009ba54
mov qword [rbx + 0x998], 0
mov eax, 1
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14009d080
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rdi, rcx
mov ebx, 1
mov esi, ebx
xor ecx, ecx
call fcn.1401023d0
xor ebp, ebp
cmp eax, 0xb
jl 0x14009d14a
cmp word [rdi + 0x1b0], bp
je 0x14009d14a
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400ec950
nop
mov dword [rsp + 0x298], ebp
lea r8, [rdi + 0x3b8]
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x38]
call fcn.1400ecac0
test eax, eax
je 0x14009d13a
lea rdx, [rdi + 0x5c0]
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8, [rsp + 0x298]
lea rcx, [rsp + 0x40]
call fcn.1401069b0
test eax, eax
je 0x14009d13a
mov dword [rdi + 0x180c], ebp
cmp dword [rsp + 0x298], ebp
jne 0x14009d13c
mov esi, ebp
mov ebx, ebp
lea rcx, [rsp + 0x38]
call fcn.1400eca60
test esi, esi
je 0x14009d17d
cmp dword [rdi + 0x180c], 0
je 0x14009d17d
lea rcx, [rdi + 0x1b0]
mov r8d, 0x104
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.14009c0c0
test eax, eax
cmove ebx, ebp
mov eax, ebx
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400a11e0
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rbx, rcx
dec edx
je 0x1400a12b5
dec edx
jne 0x1400a1396
lea rcx, [rsp + 0x38]
call fcn.1400ec950
nop
xor esi, esi
mov edi, esi
nop
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140165630]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x38]
call fcn.1400ecac0
test eax, eax
jne 0x1400a1257
lea ecx, [rax + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x32
jl 0x1400a1220
lea rcx, [rsp + 0x38]
call fcn.1400eca60
mov rcx, qword [rbx + 0x16c0]
test rcx, rcx
jne 0x1400a1274
lea rcx, [rbx + 0x16c8]
mov rax, qword [rcx]
mov edx, 0x80002010
call qword [rax + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14009de90
test eax, eax
je 0x1400a12a1
lea rcx, [rbx + 0x18b0]
mov edx, 1
call fcn.14003cb80
lea rcx, [rbx + 0x18b0]
or edx, 0xffffffff
call fcn.14003c0e0
jmp 0x1400a1396
cmp dword [rcx + 0x1758], 0
je 0x1400a12d0
mov edx, 0xfffd
mov rcx, qword [0x1402ae2c8]
call qword [sym.imp.USER32.dll_KillTimer]
lea rcx, [rbx + 0x18b0]
or edx, 0xffffffff
call fcn.14003bfc0
cmp dword [rbx + 0xa14], 0
jne 0x1400a1396
mov rcx, rbx
call fcn.14009b210
mov rcx, qword [rbx + 0x9a0]
test rcx, rcx
je 0x1400a1310
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rax, qword [rbx + 0x998]
test rax, rax
je 0x1400a1396
mov qword [rsp + 0x70], rax
xor r8d, r8d
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov edx, reloc.OLEAUT32.dll_VarDecFix
lea rcx, [rsp + 0x2a0]
call fcn.1400d38f0
mov r8, qword [rax]
mov edx, 0x104
lea rcx, [rsp + 0x78]
call fcn.14010cfc0
mov rdx, qword [rsp + 0x2a0]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400a136d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x70]
lea rcx, [0x1400ebbe0]
call qword [sym.imp.USER32.dll_EnumWindows]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rbx + 0x998]
call qword [sym.imp.USER32.dll_PostMessageW]
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400a2830
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x230
mov rsi, rcx
xor ecx, ecx
xor edi, edi
call fcn.1401023d0
cmp eax, 7
jl 0x1400a2905
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], di
call fcn.14010a9a0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rax, [rsp + 0x20]
sub rax, 2
nop word [rax + rax]
cmp word [rax + 2], di
lea rax, [rax + 2]
jne 0x1400a2890
mov ecx, dword [0x140164850]
movups xmm0, xmmword [str.WtsApi32.dll]
movsd xmm1, qword [0x140164848]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm1
mov dword [rax + 0x18], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1400a28eb
lea rdx, str.WTSRegisterSessionNotification
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400a28ef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x1400a2907
mov rcx, qword [rsi + 0xa28]
xor edx, edx
call rax
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1400a2930
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x230
mov rdi, rcx
xor ecx, ecx
call fcn.1401023d0
cmp eax, 7
jl 0x1400a2a01
cmp qword [rdi + 0xa28], 0
je 0x1400a2a01
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x240], rbx
mov word [rsp + 0x20], ax
call fcn.14010a9a0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rax, [rsp + 0x20]
sub rax, 2
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x1400a2994
mov ecx, dword [0x140164850]
movups xmm0, xmmword [str.WtsApi32.dll]
movsd xmm1, qword [0x140164848]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm1
mov dword [rax + 0x18], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1400a29f9
lea rdx, str.WTSUnRegisterSessionNotification
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a29f0
mov rcx, qword [rdi + 0xa28]
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret
Function at 0x1400a40e0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
xor eax, eax
mov rsi, rdx
mov rdi, rcx
mov qword [rcx], rax
mov qword [rsp + 0x90], rax
or rbx, 0xffffffffffffffff
call fcn.1400080d0
cmp word [rax], 0
je 0x1400a4170
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x40], 0x38
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call fcn.1400080d0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400a4170
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x1402af20c]
test al, 1
jne 0x1400a4191
or eax, 1
mov dword [0x1402af20c], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1402af208], eax
jmp 0x1400a4197
mov eax, dword [0x1402af208]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1400a41bd
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x1402af208]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
js 0x1400a41ec
xor edx, edx
lea r9, str.c_a2A
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x15]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x1400a4201
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x1400a4210
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a8570
Capabilities:
Accept command line arguments

Disassembly:
mov qword [0x1402ad878], rcx
mov qword [0x1402ad880], rdx
lea rcx, [0x1402ad810]
mov edx, r9d
mov qword [0x1402ad888], r8
mov dword [0x1402ad890], r9d
jmp 0x1400a8570
push rbx
sub rsp, 0x30
cmp byte [0x1402ad161], 0
mov rbx, rcx
je 0x1400a858b
or eax, 0xffffffff
add rsp, 0x30
pop rbx
ret
xor ecx, ecx
mov qword [rsp + 0x40], rdi
call qword [sym.imp.ole32.dll_CoInitialize]
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400a85c8
cmp eax, 0x80010106
jne 0x1400a8624
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400a85cc
mov eax, edi
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
mov byte [rbx + 0x62], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x50]
mov rcx, rbx
mov rdx, rax
call fcn.1400a6c30
cmp al, 1
jne 0x1400a8614
mov eax, dword [rbx + 0x80]
mov r9, qword [rbx + 0x78]
mov r8, qword [rbx + 0x70]
mov rdx, qword [rbx + 0x68]
lea rcx, [0x1402ad8a0]
mov dword [rsp + 0x20], eax
call fcn.14009d500
mov rcx, rbx
call fcn.1400a7110
mov edi, eax
jmp 0x1400a8618
mov edi, dword [rsp + 0x50]
cmp byte [rbx + 0x62], 0
je 0x1400a8624
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
Function at 0x1400b7b40
Capabilities:
Find taskbar

Disassembly:
push rdi
sub rsp, 0x70
mov rdi, rcx
mov rcx, qword [rcx + 0x9f8]
test rcx, rcx
je 0x1400b7c48
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rdi + 0x1800]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1400b7c48
mov ecx, 0x4f
mov qword [rsp + 0x80], rbx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor edx, edx
lea r8, [rsp + 0x40]
lea ecx, [rdx + 0x30]
xor r9d, r9d
mov ebx, eax
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [rsp + 0x4c]
mov r9d, dword [rsp + 0x44]
sub ecx, r9d
cmp ebx, ecx
mov rbx, qword [rsp + 0x80]
jne 0x1400b7c07
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400b7c02
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x44]
test ecx, ecx
jns 0x1400b7bf8
mov eax, dword [rsp + 0x5c]
sub eax, ecx
add r9d, eax
mov dword [rsp + 0x44], r9d
jmp 0x1400b7c07
sub ecx, dword [rsp + 0x5c]
add dword [rsp + 0x4c], ecx
jmp 0x1400b7c07
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
mov rcx, qword [rdi + 0x9f8]
xor eax, eax
mov dword [rsp + 0x30], 1
xor edx, edx
add r8d, 0xffffff06
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
test r9d, r9d
jne 0x1400b7c42
mov r9d, dword [rsp + 0x64]
sub r9d, dword [rsp + 0x6c]
add r9d, dword [rsp + 0x4c]
call qword [sym.imp.USER32.dll_SetWindowPos]
add rsp, 0x70
pop rdi
ret

Function at 0x1400bac00
Capabilities:
Find taskbar

Disassembly:
sub rsp, 0x28
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400bac7b
lea r8, str.TrayNotifyWnd
xor r9d, r9d
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, rax
test rax, rax
je 0x1400bac76
lea r8, str.SysPager
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
xor r9d, r9d
xor edx, edx
lea r8, str.ToolbarWindow32
mov rcx, rax
test rax, rax
jne 0x1400bac66
mov rcx, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x1400baf80
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ecx, 2
mov edi, r8d
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
jne 0x1400bb001
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400bb001
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x5b4
je 0x1400bb001
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80004005
je 0x1400bb001
cmp dword [rbx + 0x868], 0
je 0x1400baff4
inc dword [rbx + 0x86c]
cmp dword [rbx + 0x86c], 0xa
jb 0x1400baff4
mov rcx, qword [0x1402ae2c8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x47c
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c56f0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x230
mov rbx, rcx
xor ecx, ecx
mov rsi, rdx
call fcn.1401023d0
cmp eax, 0xb
jl 0x1400c581b
mov qword [rsp + 0x240], rbp
lea rcx, [rsp + 0x22]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bp
call fcn.14010a9a0
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x20], bp
je 0x1400c5817
lea rdx, str.Charm_Bar
lea rcx, [rsp + 0x20]
call fcn.140111cac
test eax, eax
jne 0x1400c5817
mov qword [rsp + 0x248], rdi
cmp qword [rbx + 0x458], rbp
je 0x1400c57ef
mov rcx, qword [rbx + 0x468]
test rcx, rcx
je 0x1400c57d8
mov dword [rsp + 0x250], ebp
mov r8, qword [rcx]
lea rdx, [rsp + 0x250]
call qword [r8 + 0x130]
cmp dword [rsp + 0x250], ebp
je 0x1400c57ef
mov rcx, qword [rbx + 0x470]
test rcx, rcx
je 0x1400c57c4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x470], rbp
mov rcx, qword [rbx + 0x468]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x468], rbp
mov rcx, qword [rbx + 0x458]
lea r8, [rbx + 0x468]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rax, qword [rbx + 0x468]
mov rdi, qword [rsp + 0x248]
mov rbp, qword [rsp + 0x240]
mov rbx, qword [rsp + 0x258]
add rsp, 0x230
pop rsi
ret
xor eax, eax
jmp 0x1400c57fe
xor eax, eax
mov rbx, qword [rsp + 0x258]
add rsp, 0x230
pop rsi
ret
Function at 0x1400c79c0
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r14, rcx
xor ebp, ebp
mov qword [rsp + 0x70], rbp
lea ecx, [rbp + 0x10]
call fcn.14010a7e4
mov rbx, rax
test rax, rax
je 0x1400c79fd
lea rax, vtable.CWMIEvent.0
mov qword [rbx], rax
mov dword [rbx + 8], ebp
jmp 0x1400c7a00
mov rbx, rbp
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x20]
mov edi, eax
test eax, eax
jns 0x1400c7a3c
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
mov eax, edi
jmp 0x1400c7b3c
mov ecx, 0x18
call fcn.14010a7e4
mov rsi, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400c7a6f
mov qword [rax + 8], rbp
mov dword [rax + 0x10], 1
lea rcx, str.SELECT__FROM___InstanceCreationEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_Process
call fcn.140107e80
mov qword [rsi], rax
jmp 0x1400c7a72
mov rsi, rbp
mov qword [rsp + 0x78], rsi
test rsi, rsi
jne 0x1400c7a87
mov ecx, 0x8007000e
call fcn.140107e70
nop
mov ecx, 0x18
call fcn.14010a7e4
mov rdi, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x1400c7abd
mov qword [rax + 8], rbp
mov dword [rax + 0x10], 1
lea rcx, [0x14016a288]
call fcn.140107e80
mov qword [rdi], rax
jmp 0x1400c7ac0
mov rdi, rbp
mov qword [rsp + 0x80], rdi
test rdi, rdi
jne 0x1400c7ad8
mov ecx, 0x8007000e
call fcn.140107e70
nop
mov rcx, qword [r14 + 0x10]
mov r10, qword [rcx]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
mov r9d, 0x80
mov r8, qword [rsi]
mov rdx, qword [rdi]
call qword [r10 + VarDecFix]
mov ebp, eax
mov rcx, rdi
call fcn.1400440d0
nop
mov rcx, rsi
call fcn.1400440d0
test ebp, ebp
jns 0x1400c7b2e
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
jmp 0x1400c7b3a
mov qword [r14], rbx
mov rax, qword [rsp + 0x70]
mov qword [r14 + 0x18], rax
mov eax, ebp
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret