joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c0040
Capabilities:
Get token membership

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rdx
mov qword [rsp + 0x70], rdx
xor edi, edi
mov dword [rsp + 0x64], edi
lea rdx, str.TRUE
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_286]
mov dword [rsp + 0x64], 1
mov dword [rsp + 0x80], edi
mov word [rsp + 0x84], 0x500
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, 0x220
lea r8d, [rdi + 0x20]
mov dl, 2
lea rcx, [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x1400c0117
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x60]
test eax, eax
cmove ecx, edi
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x60], edi
jne 0x1400c0127
lea rdx, str.FALSE
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
mov rax, rbx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x1400c0150
Capabilities:
Create directory
Get common file path

Disassembly:
push rdi
sub rsp, 0x480
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x498], rbx
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + Ordinal_1143], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x801a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400c01ae
mov byte [rbx + 0x30], 0
jmp 0x1400c02d5
lea rdx, str.Nitro_
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1400c01a5
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400c01e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400c01a5
lea rdx, str.Pro_
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1400c01a5
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400c0216
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400c01a5
xor edi, edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400bf340
test al, al
jne 0x1400c0247
mov byte [rbx + 0x30], dil
jmp 0x1400c02d5
mov qword [rsp + 0x20], rdi
mov r9d, dword [rsp + 0x30]
lea r8, str._d._d_
mov edx, reloc.mfc120u.dll_Ordinal_261
lea rcx, [rsp + 0x260]
call qword [sym.imp.MSVCR120.dll_swprintf_s]
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1400c023e
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400c02a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400c023e
lea rdx, [0x1402f44d0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1400c023e
lea rcx, [rbx + 8]
mov rax, qword [rcx]
xor r9d, r9d
mov r8d, 0x3041
lea rdx, [rsp + 0x50]
call qword [rax + 0x58]
test eax, eax
jne 0x1400c02d5
mov byte [rbx + 0x30], al
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0x498]
add rsp, 0x480
pop rdi
ret
Function at 0x1400c07d0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x20], r8d
lea r9, str.HARDWAREDESCRIPTIONSystemCentralProcessor_d_
mov edx, 0x100
mov r8d, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCR120.dll__snwprintf_s]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c088a
mov dword [rsp + 0x40], Ordinal_261
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProcessorNameString
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400c0897
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_286]
jmp 0x1400c08d3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_13477]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_280]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140289bf0
add rsp, 0x260
pop rbx
ret
Function at 0x1400c08f0
Capabilities:
Delete file
Query or enumerate registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x498], rbx
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rbp + 0x370], rax
cmp byte [rcx + 0x30], 0
je 0x1400c0968
lea rbx, [rcx + 8]
mov rax, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rax + 0x40]
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xb0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x40]
lea ecx, [rbx + 1]
call fcn.140195770
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1400c0a7c
mov word [rsp + 0x50], bx
xor edx, edx
mov r8d, Ordinal_521
lea rcx, [rsp + 0x52]
call sub.MSVCR120.dll_memset
mov dword [rsp + 0x30], Ordinal_521
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1402f48c0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c0a0a
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov word [rbp + 0x160], bx
xor edx, edx
mov r8d, Ordinal_521
lea rcx, [rbp + 0x162]
call sub.MSVCR120.dll_memset
mov dword [rsp + 0x30], Ordinal_521
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1402f48d8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c0a6c
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0x498]
add rsp, 0x480
pop rbp
ret
Function at 0x1400c50f0
Capabilities:
Check internet connectivity via wininet

Disassembly:
sub rsp, 0x28
xor r8d, r8d
lea rcx, str.http:__www.nitropdf.com
lea edx, [r8 + 1]
call qword [sym.imp.WININET.dll_InternetCheckConnectionW]
cmp eax, 1
sete al
add rsp, 0x28
ret

Function at 0x1400c5120
Capabilities:
Query service status

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
xor dil, dil
mov byte [rsp + 0x30], dil
xor edx, edx
xor ecx, ecx
lea r8d, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400c5188
lea rcx, str.OpenSCManager
call fcn.140177710
jmp 0x1400c5215
mov r8d, 4
lea rdx, str.NitroUpdateService
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400c51b9
lea rcx, str.OpenService
call fcn.140177710
jmp 0x1400c5215
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x1400c51eb
lea rcx, [0x1402f5af8]
call fcn.140177710
jmp 0x1400c5215
cmp dword [rsp + 0x5c], 1
je 0x1400c5208
lea rcx, str.Service_is_already_running
call fcn.140177780
mov dil, 1
mov byte [rsp + 0x30], dil
jmp 0x1400c5215
lea rcx, str.Service_is_not_running
call fcn.140177780
nop
jmp 0x1400c5226
test rsi, rsi
je 0x1400c5234
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x1400c5242
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, dil
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400c5270
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x68], rax
call fcn.1400c5120
test al, al
je 0x1400c549f
lea rcx, [0x140467440]
call fcn.1400987e0
test eax, eax
je 0x1400c52cd
lea rcx, [0x140467440]
call fcn.1400987e0
cmp eax, 1
jne 0x1400c549f
lea rcx, [rsp + 0x60]
mov rax, qword [0x1404672c0]
call qword [rax + 0x40]
or r8d, 0xffffffff
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1401916a0
nop
lea rcx, [rsp + 0x50]
call fcn.140191980
mov rdx, rax
lea rcx, [0x140467440]
call fcn.140098880
mov ecx, InitCommonControls
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
mov word [rsp + 0x20], bp
xor r9d, r9d
xor r8d, r8d
lea edx, [rbp + 8]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
movsxd rdi, eax
test eax, eax
jle 0x1400c537a
mov rcx, rdi
add rcx, rcx
call qword [sym.imp.MSVCR120.dll_malloc]
mov rbx, rax
mov word [rsp + 0x20], bp
mov r9d, edi
mov r8, rax
lea edx, [rbp + 8]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov rdx, rbx
lea rcx, [0x140467440]
call fcn.140098980
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_free]
jmp 0x1400c538d
lea rdx, [0x1402f4620]
lea rcx, [0x140467440]
call fcn.140098980
mov rbx, qword [0x1404672c0]
lea rcx, str.OCR_Base
mov rax, qword [0x140467260]
call qword [rax + 0x28]
mov rcx, rax
call qword [rbx + Ordinal_6205]
lea rcx, [0x140467440]
test al, al
mov edx, 5
jne 0x1400c53c3
mov edx, 4
call fcn.1400988d0
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x34], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x38], ebp
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x3c]
call fcn.1400972f0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x3c]
lea rdx, [0x1402dc5c0]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [0x140467440]
call fcn.140098910
mov edx, 0x40
lea rcx, [0x140467440]
call fcn.140098860
lea rcx, [rsp + 0x40]
call fcn.1400c5020
mov edx, dword [rsp + 0x40]
lea rcx, [0x140467440]
call fcn.1400988f0
call fcn.1400978c0
test al, al
sete dl
lea rcx, [0x140467440]
call fcn.140098960
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x50]
call fcn.140191950
mov al, 1
jmp 0x1400c54a1
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400cc6b0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x31], 0xfffffffffffffffe
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov qword [rbp - 1], rdx
mov dword [rbp - 0x39], 0
lea rdx, [0x1402d20f0]
mov rcx, r14
call qword [sym.imp.mfc120u.dll_Ordinal_286]
mov dword [rbp - 0x39], 1
lea rcx, [rbp - 0x29]
call sub.mfc120u.dll_Ordinal_488
nop
xor r9d, r9d
mov r8, rdi
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.1400cc510
nop
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
xor r9d, r9d
lea r8d, [r9 + 0x40]
lea rcx, [rbp - 0x29]
call sub.mfc120u.dll_Ordinal_11518
mov ebx, eax
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
test ebx, ebx
je 0x1400cc897
lea rcx, [rbp - 0x29]
call sub.mfc120u.dll_Ordinal_5578
mov rsi, rax
xorps xmm6, xmm6
cvtsi2sd xmm6, rax
test rax, rax
jns 0x1400cc77b
addsd xmm6, qword [0x1402e8f18]
mulsd xmm6, qword [0x1402e8f10]
movaps xmm7, xmm6
mulsd xmm7, qword [0x1402e8f10]
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov r8, rsi
lea rdx, str._.I64u
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
mov edi, eax
mov eax, 0x55555556
imul edi
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
lea ecx, [rbx + rbx*2]
cmp edi, ecx
jne 0x1400cc7d0
dec ebx
mov r9d, 4
lea r8, [rbp + 7]
lea edx, [r9 + 0xb]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [rbx + 1]
cmp eax, 1
jle 0x1400cc818
lea ebx, [rdi - 3]
lea edi, [rax - 1]
nop word [rax + rax]
lea r8, [rbp + 7]
mov edx, ebx
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc120u.dll_Ordinal_7629]
sub ebx, 3
dec rdi
jne 0x1400cc800
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x49]
cmp rsi, 0x100000
jae 0x1400cc84a
mov edx, 0x188
call qword [sym.imp.mfc120u.dll_Ordinal_8043]
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
movaps xmm2, xmm6
jmp 0x1400cc862
mov edx, 0x189
call qword [sym.imp.mfc120u.dll_Ordinal_8043]
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
movaps xmm2, xmm7
movq r8, xmm2
mov r9, qword [rbp - 0x41]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
lea rcx, [rbp - 0x29]
call sub.mfc120u.dll_Ordinal_2759
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbp - 0x29]
call sub.mfc120u.dll_Ordinal_1117
mov rax, r14
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140289bf0
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0x80]
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400cfba0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
mov edi, edx
mov rbx, rcx
cmp edx, 0x201
jne 0x1400cfc39
add rcx, 0x1d8
call qword [sym.imp.mfc120u.dll_Ordinal_7775]
test al, al
jne 0x1400cfc34
mov rdx, qword [rbx + 0x1bc]
lea rcx, [rbx + 0x200]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1400cfc34
lea rcx, [rbx + 0x1d8]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
lea rdx, str.open
xor ebx, ebx
xor r9d, r9d
xor ecx, ecx
mov r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
setae bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov r8, qword [rsp + 0x50]
mov edx, edi
mov rcx, rbx
call qword [sym.imp.BCGCBPRO2300u120.dll_public_virtual:_int___cdecl_CBCGPGridItem::OnClickValue_unsigned_int__class_CPoint____ptr64]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400d2ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
call fcn.140097440
test al, al
je 0x1400d2f19
xor al, al
jmp 0x1400d3074
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
xor esi, esi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov bpl, 1
lea rdx, [rsp + 0x30]
lea ecx, [rsi + 3]
call fcn.140195770
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r8, rax
mov rdx, 0xffffffff80000002
mov r9d, 0x20019
lea rcx, [rsp + 0x40]
call fcn.14008ff80
test eax, eax
jne 0x1400d3024
mov edx, Ordinal_261
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov rdi, rax
mov dword [rsp + 0x88], Ordinal_528
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, str.UpdatePrefUserCanChoose
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d2ff7
mov eax, dword [rsp + 0x90]
dec eax
cmp eax, 1
ja 0x1400d2ff7
test rdi, rdi
je 0x1400d2ff7
cmp dword [rsp + 0x88], esi
jne 0x1400d2ff7
mov word [rdi], si
or edx, 0xffffffff
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
test rbx, rbx
je 0x1400d301e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], esi
jmp 0x1400d3029
mov rbx, qword [rsp + 0x40]
lea rdx, [0x1402dfe60]
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
movzx edi, bpl
test eax, eax
cmove edi, esi
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
test rbx, rbx
je 0x1400d3062
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
movzx eax, dil
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400da1c0
Capabilities:
Get session user name

Disassembly:
push rdi
sub rsp, 0xc80
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + Ordinal_3228], rbx
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0xc70], rax
mov rdi, rcx
call sub.mfc120u.dll_Ordinal_10044
mov dword [rsp + 0x44], Ordinal_1030
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x470]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rcx, [rdi + 0x130]
lea rdx, [rsp + 0x470]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call sub.mfc120u.dll_Ordinal_4682
mov edx, 2
mov rcx, rax
call sub.mfc120u.dll_Ordinal_5144
lea rdx, [rdi + 0x164]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call sub.mfc120u.dll_Ordinal_4682
mov rcx, rax
lea rdx, [rdi + 0x164]
call sub.mfc120u.dll_Ordinal_12576
nop
lea rcx, str.kPreferences
mov rax, qword [0x1404672c0]
call qword [rax + 0x1190]
mov rbx, rax
lea rdx, str.kPrefIdentityName
mov rcx, rax
call fcn.140191d70
lea rcx, [rdi + 0x138]
mov rdx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
lea rdx, str.kPrefIdentityTitle
mov rcx, rbx
call fcn.140191d70
lea rcx, [rdi + reloc.mfc120u.dll_Ordinal_320]
mov rdx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
lea rdx, str.kPrefIdentityOrgName
mov rcx, rbx
call fcn.140191d70
lea rcx, [rdi + 0x148]
mov rdx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
lea rdx, str.kPrefIdentityOrgUnit
mov rcx, rbx
call fcn.140191d70
lea rcx, [rdi + 0x150]
mov rdx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
lea rdx, str.kPrefIdentityEmail
mov rcx, rbx
call fcn.140191d70
lea rcx, [rdi + 0x158]
mov rdx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
nop
xor edx, edx
mov rcx, rdi
call sub.mfc120u.dll_Ordinal_13987
mov byte [rdi + 0x160], 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov eax, 1
jmp 0x1400da365
mov rcx, qword [rsp + 0xc70]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0xc98]
add rsp, 0xc80
pop rdi
ret
Function at 0x1400e6bc0
Capabilities:
Enumerate files on windows

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rsi
mov rsi, rdx
mov rbx, rcx
cmp byte [rcx + 0x251], 0
je 0x1400e6bf2
mov eax, 1
jmp 0x1400e6cb4
xor edi, edi
cmp byte [rcx + 0x250], dil
je 0x1400e6c4c
lea rdx, str..npp
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400e6ac0
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbx + 0x258], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov byte [rbx + 0x250], dil
jmp 0x1400e6c73
mov rdx, rcx
mov rcx, qword [rcx + 0x258]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
sete dil
test edi, edi
je 0x1400e6c73
mov rcx, qword [rbx + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rbx + 0x258], 0xffffffffffffffff
je 0x1400e6cb2
lea rdx, [rbx + 0x2c]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400e6ac0
nop
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400e7260
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rbp, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov dword [rsp + 0x90], ebx
lea rdx, [rsp + 0x90]
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x1400e7373
mov edx, esi
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r15, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
mov r9, rax
mov r8d, esi
mov edx, dword [rsp + 0x90]
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x40]
lea rdx, [0x1402dfd40]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400e7323
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + 8]
mov ebx, eax
shr ebx, 0x10
movzx ebp, ax
mov eax, dword [rcx + 0xc]
mov esi, eax
shr esi, 0x10
movzx r14d, ax
jmp 0x1400e7340
mov ebx, dword [rsp + 0x90]
mov ebp, dword [rsp + 0x90]
mov esi, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], esi
mov r9d, ebp
mov r8d, ebx
lea rdx, [0x1402dc5c0]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_280]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rax, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret