joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f058
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::constructor_void____ptr64]
nop
mov edx, 5
lea r8d, [rdx - 4]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::GetSpecialDirectory_enum_Cmm::CFileName::SpecialFolder__int____ptr64]
lea rdx, [0x140026948]
lea rcx, [rsp + 0x20]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, str.transcoding.ini
lea rcx, [rsp + 0x20]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r9, rax
xor r8d, r8d
lea rdx, str.SaveAllTempRecordFiles
lea rcx, [0x140026de8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ebx, ebx
cmp eax, 1
sete bl
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CFileName::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001fd00
add rsp, 0x50
pop rbx
ret

Function at 0x1400120f8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x14001218e
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140012168
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140012187
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140012187
mov rdx, qword [rdi]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call qword [0x140024f78]
jmp 0x140012177
cmp dword [rdi + 8], 0
je 0x140012187
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov eax, 1
jmp 0x140012177
cmp byte [0x14003b8e8], 0
jne 0x1400121d9
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400121c5
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
mov qword [0x14003b8e0], rax
jmp 0x1400121cc
mov r10, qword [0x14003b8e0]
mov eax, 1
mov byte [0x14003b8e8], al
jmp 0x1400121e0
mov r10, qword [0x14003b8e0]
mov rcx, qword [rbx]
mov rdx, rsi
test r10, r10
je 0x140012171
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rax, r10
call qword [0x140024f78]
jmp 0x140012177
Function at 0x140012818
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x60], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001289c
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001289c
call fcn.140011ee8
mov ebx, eax
jmp 0x1400129a7
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400128bd
call fcn.140011ee8
jmp 0x140012996
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400128b3
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x1400128f8
mov ebx, 0x8007000e
jmp 0x140012998
mov ecx, eax
test eax, eax
je 0x14001292a
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400129df
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14001292a
lea rcx, [rsp + 0x60]
call fcn.140017454
jmp 0x140012934
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x140012946
cmp qword [rsp + 0x60], rdi
je 0x1400128ee
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400128b3
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140013674
mov ebx, eax
test rsi, rsi
je 0x1400129a7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x1400129be
lea rcx, [rsp + 0x60]
call fcn.140017448
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14001fd00
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.140011e3c
int3
Function at 0x140014c5c
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::constructor_void____ptr64]
nop
mov edx, 6
lea r8d, [rdx - 5]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::GetSpecialDirectory_enum_Cmm::CFileName::SpecialFolder__int____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, [0x140026948]
mov rcx, rbx
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, str.logs
mov rcx, rbx
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, [0x140026948]
mov rcx, rbx
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x20]
call fcn.1400148b0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CFileName::destructor_void____ptr64]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001fd00
add rsp, 0x80
pop rbx
ret
Function at 0x1400158c8
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov ebx, 0x208
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
mov ebx, 0x104
mov r8d, ebx
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
mov r8d, ebx
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x180]
mov qword [rsp + 0x38], rax
mov eax, 0x210
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14001fd00
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4a0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400195e0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x4e70
call fcn.140021210
sub rsp, rax
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x4e60], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x3e80
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x20]
mov r8d, 0x3e80
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x1400196f6
lea rax, [rsp + 0x3ec0]
mov dword [rsp + 0x2c], ebx
mov qword [rsp + 0x30], rax
mov edi, 0xfa0
mov eax, dword [rsp + 0x20]
mov word [rsp + 0x2a], di
test rax, 0xfffffffffffffff8
jbe 0x1400196ef
nop
mov r8, rdi
lea rcx, [rsp + 0x3ec0]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x3ec0]
mov r8d, 0x7cf
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x3ec0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400196b0
mov r8, qword [rsp + rbx*8 + 0x40]
lea rdx, [rsp + 0x28]
add ax, ax
lea rcx, [0x140036250]
xor r9d, r9d
mov word [rsp + 0x28], ax
call fcn.140019720
test eax, eax
je 0x1400196f6
mov eax, dword [rsp + 0x20]
inc rbx
shr rax, 3
cmp rbx, rax
jb 0x140019670
mov eax, 1
jmp 0x1400196f8
xor eax, eax
mov rcx, qword [rsp + 0x4e60]
xor rcx, rsp
call fcn.14001fd00
mov rbx, qword [rsp + 0x4e80]
add rsp, 0x4e70
pop rdi
ret
Function at 0x14001a3d0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x14001a62c
push rdi
sub rsp, 0x90
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x14001a624
mov eax, 0x5a4d
mov qword [rsp + 0x80], r15
mov r15d, dword [rsp + 0x38]
cmp word [rdi], ax
jne 0x14001a61c
movsxd rcx, dword [rdi + 0x3c]
lea rax, [rcx + 0x108]
cmp rax, r15
jae 0x14001a61c
cmp dword [rcx + rdi], 0x4550
mov qword [rsp + 0xb0], rbp
lea rbp, [rcx + rdi]
jne 0x14001a614
movzx eax, word [rbp + 4]
mov ecx, 0x14c
mov qword [rsp + 0xb8], rsi
xor esi, esi
mov qword [rsp + 0x88], r14
cmp cx, ax
jne 0x14001a485
xor r14d, r14d
jmp 0x14001a4b7
mov ecx, 0x200
mov r8d, 0xaa64
cmp cx, ax
je 0x14001a4a9
mov ecx, 0x8664
cmp cx, ax
je 0x14001a4a9
cmp r8w, ax
jne 0x14001a604
cmp r8w, ax
mov r14d, 1
sete sil
mov qword [rsp + 0xa8], rbx
mov ebx, dword [rbp + 0x28]
add rbx, rdi
je 0x14001a5fc
cmp rbx, rdi
jbe 0x14001a5fc
lea rax, [r15 + rdi]
cmp rbx, rax
jae 0x14001a5fc
xorps xmm0, xmm0
lea rdx, [rsp + 0x48]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001a5fc
test dword [rsp + 0x68], 0x1000
je 0x14001a5fc
test dword [rsp + 0x70], 0x1000000
je 0x14001a5fc
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
test al, 0x10
jne 0x14001a542
test al, 0x20
jne 0x14001a542
test al, 0x40
jne 0x14001a542
test al, al
jns 0x14001a547
mov ecx, 1
test ecx, ecx
je 0x14001a5fc
mov r9d, r14d
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov rdx, rdi
mov rcx, rbp
call fcn.14001ac80
mov edx, 0x14
mov dword [rsp + 0xa0], 0
lea r9, [rsp + 0xa0]
mov rcx, rbx
lea r8d, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14001a5fc
test r14d, r14d
jne 0x14001a5a6
mov eax, dword [0x140036060]
mov dword [rbx], eax
movzx eax, byte [0x140036064]
mov byte [rbx + 4], al
jmp 0x14001a5ca
test esi, esi
je 0x14001a5b6
mov rax, qword [0x140036058]
mov qword [rbx], rax
jmp 0x14001a5ca
movzx eax, word [0x140036054]
mov word [rbx], ax
movzx eax, byte [0x140036056]
mov byte [rbx + 2], al
mov r8d, dword [rsp + 0xa0]
lea r9, [rsp + 0xa0]
mov edx, 0x14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x80]
add rsp, 0x90
pop rdi
ret
Function at 0x14001d420
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea eax, [rcx - 1]
xor esi, esi
mov rbx, rdx
mov edi, ecx
test eax, 0xfffffff7
jne 0x14001d531
test rdx, rdx
je 0x14001d531
mov r8, rdx
movzx eax, word [r8]
add r8, 2
test ax, ax
jne 0x14001d450
sub r8, rbx
lea rdx, str.http:
sar r8, 1
mov rcx, rdx
dec r8
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001d470
sub rcx, rdx
sar rcx, 1
lea rax, [rcx - 1]
cmp r8, rax
jb 0x14001d4be
mov rcx, rdx
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001d490
sub rcx, rdx
sar rcx, 1
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
mov ecx, esi
sete cl
test ecx, ecx
jne 0x14001d65c
mov rcx, rbx
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001d4c1
sub rcx, rbx
lea r9, str.https:
sar rcx, 1
lea rdx, [rcx - 1]
mov rcx, r9
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001d4e1
sub rcx, r9
sar rcx, 1
lea rax, [rcx - 1]
cmp rdx, rax
jb 0x14001d531
mov rcx, r9
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001d500
sub rcx, r9
mov rdx, r9
sar rcx, 1
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
mov ecx, esi
sete cl
test ecx, ecx
jne 0x14001d65c
cmp edi, 3
jne 0x14001d574
test rbx, rbx
je 0x14001d562
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x14001d65c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001d562
test al, 0x10
je 0x14001d65c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp edi, 2
jne 0x14001d5a6
test rbx, rbx
je 0x14001d562
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001d562
test al, 0x10
jne 0x14001d65c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp edi, 5
jne 0x14001d62e
test rbx, rbx
je 0x14001d562
mov rcx, rbx
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001d5c0
sub rcx, rbx
lea r9, str.mailto:
sar rcx, 1
lea rdx, [rcx - 1]
mov rcx, r9
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001d5e0
sub rcx, r9
sar rcx, 1
lea rax, [rcx - 1]
cmp rdx, rax
jb 0x14001d562
mov rcx, r9
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14001d602
sub rcx, r9
mov rdx, r9
sar rcx, 1
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
sete sil
test esi, esi
jmp 0x14001d656
lea eax, [rdi - 6]
cmp eax, 2
ja 0x14001d562
call fcn.14001d340
test eax, eax
jne 0x14001d65c
lea r9d, [rax + 1]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14001ddc0
test eax, eax
je 0x14001d562
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d680
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov word [rsp + 0x6c], 0x500
lea rax, [rsp + 0x60]
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14001d70f
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [rsp + 0x70], ebx
mov eax, 1
mov rcx, qword [rsp + 0x60]
cmovne ebx, eax
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001fd00
add rsp, 0x80
pop rbx
ret
Function at 0x14001d8b0
Capabilities:
Create process on windows
Find taskbar

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, r9
mov rdi, r9
mov rbp, r8
mov esi, ecx
call fcn.14001d420
test eax, eax
jne 0x14001d8e2
mov eax, 0xb
jmp 0x14001d94b
mov qword [rsp + 0x78], rbx
call fcn.14001d340
test eax, eax
jne 0x14001d926
call fcn.14001d680
test eax, eax
je 0x14001d926
cmp esi, 7
je 0x14001d960
lea eax, [rsi - 1]
test eax, 0xfffffff7
jne 0x14001d926
mov rdx, rdi
mov rcx, rbp
call fcn.14001f500
mov ebx, eax
test eax, eax
jne 0x14001da82
cmp esi, 1
jne 0x14001da82
xor ebx, ebx
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8, rdi
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001fd00
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
test rdi, rdi
jne 0x14001d971
xor ebx, ebx
neg ebx
sbb rax, rax
and eax, 0x21
jmp 0x14001d946
call fcn.14001d680
xor ebx, ebx
test eax, eax
jne 0x14001d9af
mov dword [rsp + 0x28], 1
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
seta bl
neg ebx
sbb rax, rax
and eax, 0x21
jmp 0x14001d946
xor edx, edx
mov dword [rsp + 0x30], ebx
lea rcx, str.Shell_TrayWnd
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14001da82
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x30]
test r8d, r8d
je 0x14001da82
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14001da82
lea r8, [rsp + 0x38]
mov edx, 2
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rcx, rsi
test eax, eax
je 0x14001da7c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov r9d, 2
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x14001da7c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x14001da82
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.14001d730
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
neg ebx
sbb rax, rax
and eax, 0x21
jmp 0x14001d946
Function at 0x14001e200
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14003b974], eax
jle 0x14001e370
lea rcx, [0x14003b974]
call fcn.14001fea8
cmp dword [0x14003b974], 0xffffffff
jne 0x14001e370
xor edi, edi
mov qword [0x14003b9a0], rdi
mov qword [0x14003b9b0], rdi
mov qword [0x14003b9b8], rdi
mov qword [0x14003b9b0], rdi
mov qword [0x14003b9b8], 7
mov word [0x14003b9a0], di
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140025320]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
lea rbx, [0x14003b9a0]
test eax, eax
js 0x14001e2d3
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x14001e2e8
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14001e2c0
mov rcx, rbx
call fcn.14001b8b0
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14001e2e8
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x20], rdi
mov rcx, qword [0x14003b9b0]
test rcx, rcx
je 0x14001e353
mov rax, rbx
mov r9, qword [0x14003b9a0]
mov rdx, qword [0x14003b9b8]
cmp rdx, 8
cmovae rax, r9
movzx r8d, word [rax + rcx*2 - 2]
cmp r8w, 0x5c
je 0x14001e353
cmp r8w, 0x2f
je 0x14001e353
cmp rcx, rdx
jae 0x14001e345
lea rax, [rcx + 1]
mov qword [0x14003b9b0], rax
mov rax, rbx
cmp rdx, 8
cmovae rax, r9
mov dword [rax + rcx*2], 0x5c
jmp 0x14001e353
mov r9d, 0x5c
mov rcx, rbx
call fcn.14001efb0
lea rcx, [0x140022fb0]
call fcn.1400203a8
lea rcx, [0x14003b974]
call fcn.14001fe48
mov rax, rbx
jmp 0x14001e377
lea rax, [0x14003b9a0]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14001fd00
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001e390
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14003b970], eax
jle 0x14001e500
lea rcx, [0x14003b970]
call fcn.14001fea8
cmp dword [0x14003b970], 0xffffffff
jne 0x14001e500
xor edi, edi
mov qword [0x14003b950], rdi
mov qword [0x14003b960], rdi
mov qword [0x14003b968], rdi
mov qword [0x14003b960], rdi
mov qword [0x14003b968], 7
mov word [0x14003b950], di
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140025340]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
lea rbx, [0x14003b950]
test eax, eax
js 0x14001e463
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x14001e478
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14001e450
mov rcx, rbx
call fcn.14001b8b0
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14001e478
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x20], rdi
mov rcx, qword [0x14003b960]
test rcx, rcx
je 0x14001e4e3
mov rax, rbx
mov r9, qword [0x14003b950]
mov rdx, qword [0x14003b968]
cmp rdx, 8
cmovae rax, r9
movzx r8d, word [rax + rcx*2 - 2]
cmp r8w, 0x5c
je 0x14001e4e3
cmp r8w, 0x2f
je 0x14001e4e3
cmp rcx, rdx
jae 0x14001e4d5
lea rax, [rcx + 1]
mov qword [0x14003b960], rax
mov rax, rbx
cmp rdx, 8
cmovae rax, r9
mov dword [rax + rcx*2], 0x5c
jmp 0x14001e4e3
mov r9d, 0x5c
mov rcx, rbx
call fcn.14001efb0
lea rcx, [0x140023020]
call fcn.1400203a8
lea rcx, [0x14003b970]
call fcn.14001fe48
mov rax, rbx
jmp 0x14001e507
lea rax, [0x14003b950]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14001fd00
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140014720
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret