joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b32f0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov dword [rcx + 0x30], 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rax, qword [rdi + 0x18]
cmp dword [rax - 0x10], 0
je 0x1400b33b5
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.1400b3450
test eax, eax
je 0x1400b3399
lea rcx, [rsp + 0x40]
cmp word [rbx], 0
je 0x1400b3366
mov r9, qword [rsp + 0x30]
mov r8, rbx
lea rdx, [0x1400f90b0]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
jmp 0x1400b3371
lea rdx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1400b32f0
test eax, eax
je 0x1400b3399
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.1400b3450
test eax, eax
jne 0x1400b3344
mov rcx, rdi
call fcn.1400b35d0
test rax, rax
je 0x1400b33b5
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rdi + 0x30], eax
xor ebx, ebx
cmp dword [rdi + 0x30], ebx
sete bl
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b33f0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x18]
mov r9d, 1
mov dword [rcx + 0x30], r9d
mov rdi, r8
mov rbx, rcx
cmp dword [rax - 0x10], 0
je 0x1400b343b
call fcn.1400b3d00
test rax, rax
jne 0x1400b3429
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r9d, eax
mov dword [rbx + 0x30], eax
mov rbx, qword [rsp + 0x30]
xor eax, eax
test r9d, r9d
sete al
add rsp, 0x20
pop rdi
ret
Function at 0x1400b3450
Capabilities:
Query or enumerate registry key
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x240
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rax, qword [rcx + 0x18]
xor r15d, r15d
mov dword [rcx + 0x30], 1
mov r12, r9
mov ebp, r8d
mov r14, rdx
mov rsi, rcx
cmp dword [rax - 0x10], r15d
je 0x1400b34c9
call fcn.1400b3d00
test rax, rax
je 0x1400b350c
mov r9d, SerializeElements<ATL::CStringT<char,StrTraitMFC_DLL<char,ATL::ChTraitsCRT<char>
lea r8, [rsp + 0x20]
mov edx, ebp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [rsi + 0x30], eax
test eax, eax
jne 0x1400b3599
lea rdx, [rsp + 0x20]
jmp 0x1400b3590
test ebp, ebp
jne 0x1400b3522
mov ebx, 0x2000
mov edx, ebx
lea rcx, [rsi + 0x58]
call qword [sym.imp.mfc140u.dll_CWnd::get_accHelp]
mov r8, qword [rsi + 0x28]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea ecx, [rbx - 2]
cmp eax, ecx
jne 0x1400b3513
cmp ebx, 0x24000
jg 0x1400b350c
add ebx, 0x2000
cmp ebx, 0x28000
jl 0x1400b34d2
jmp 0x1400b3522
xor eax, eax
jmp 0x1400b35a4
mov edx, 0xffffffff
lea rcx, [rsi + 0x58]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov rbx, qword [rsi + 0x58]
mov edi, r15d
cmp word [rbx], di
je 0x1400b356a
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x1400b3552
cmp edi, ebp
je 0x1400b356a
inc edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
cmp word [rbx + rax*2], r15w
lea rbx, [rbx + rax*2]
jne 0x1400b3530
cmp word [rbx], r15w
je 0x1400b3599
cmp edi, ebp
jne 0x1400b3599
mov edx, VarDateFromDisp
mov dword [rsi + 0x30], r15d
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsrchr
test rax, rax
lea rdx, [rax + 2]
cmove rdx, rbx
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
cmp dword [rsi + 0x30], r15d
sete r15b
mov eax, r15d
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400c7c30
add rsp, 0x240
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b3640
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov rdi, r8
mov rbx, rcx
test r8, r8
je 0x1400b37ad
test rdx, rdx
je 0x1400b37ad
mov rax, qword [rcx + 0x18]
cmp dword [rax - 0x10], 0
je 0x1400b3706
call fcn.1400b3d00
mov r14, rax
test rax, rax
je 0x1400b37ad
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
xor esi, esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbx + 0x30], eax
test eax, eax
jne 0x1400b37ad
mov edx, dword [rsp + 0x70]
lea r8, [rsi - 1]
mov rcx, rbp
call sub.mfc140u.dll_CMFCToolTipCtrl::SetHotRibbonButton
mov rax, qword [rbp + 8]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbx + 0x30], eax
test eax, eax
jne 0x1400b37ad
lea eax, [rsi + 1]
jmp 0x1400b37af
xor esi, esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9, rdi
mov r8, rdx
lea rdx, [rsp + 0x70]
call fcn.1400b3af0
nop
mov rax, qword [rsp + 0x70]
mov r14d, dword [rax - 0x10]
test r14d, r14d
je 0x1400b379e
mov eax, r14d
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
lea r8, [rsi - 1]
mov rcx, rbp
call sub.mfc140u.dll_CMFCToolTipCtrl::SetHotRibbonButton
test r14d, r14d
jle 0x1400b3799
nop dword [rax]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
js 0x1400b37c2
cmp rcx, qword [rbp + 0x10]
jge 0x1400b37c2
mov rdi, qword [rbp + 8]
add rdi, rcx
lea edx, [rsi + 1]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
movzx ebx, ax
shl bl, 4
mov edx, esi
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
sub bl, 0x51
add al, bl
mov byte [rdi], al
add esi, 2
cmp esi, r14d
jl 0x1400b3750
mov esi, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, esi
jmp 0x1400b37af
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
call sub.mfc140u.dll_AfxRegDeleteKey
nop
int3
Function at 0x1400b3a30
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov esi, r9d
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
test r8, r8
je 0x1400b3ac3
test rdx, rdx
je 0x1400b3ac3
mov rax, qword [rcx + 0x18]
cmp dword [rax - 0x10], 0
je 0x1400b3ada
call fcn.1400b3d00
test rax, rax
je 0x1400b3ac3
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x34]
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbx + 0x30], eax
test eax, eax
jne 0x1400b3aab
mov eax, dword [rsp + 0x30]
jmp 0x1400b3ac5
cmp dword [rsp + 0x70], 0
jne 0x1400b3ac3
mov r9d, esi
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400b4250
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r9, qword [rcx + 0x28]
mov r8d, esi
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x1400b3ac5
Function at 0x1400b3df0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, r8
test rdx, rdx
je 0x1400b3e57
mov rax, qword [rcx + 0x18]
cmp dword [rax - 0x10], 0
je 0x1400b3e57
call fcn.1400b3d00
test rax, rax
je 0x1400b3e57
test rdi, rdi
jne 0x1400b3e20
lea eax, [rdi + 1]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x48]
xor ebx, ebx
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400b3e60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rsi, r8
lea r8, [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
xor ebx, ebx
mov edi, eax
test eax, eax
jne 0x1400b3f09
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test eax, eax
jne 0x1400b3efe
test rsi, rsi
je 0x1400b3efe
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x64]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
test edi, edi
mov rsi, qword [r11 + 0x18]
sete bl
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsp, r11
pop rdi
ret
Function at 0x1400b3f30
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
test rdx, rdx
je 0x1400b4079
mov rax, qword [rcx + 0x18]
cmp dword [rax - 0x10], 0
je 0x1400b3fae
call fcn.1400b3d00
test rax, rax
je 0x1400b4079
mov ecx, dword [rbx + 0x10]
mov r9d, 3
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, qword [rbx + 8]
mov rdx, r15
mov qword [rsp + 0x20], rcx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor r8d, r8d
mov dword [rsi + 0x30], eax
test eax, eax
sete r8b
mov eax, r8d
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rsi
ret
mov qword [rsp + 0x50], rbp
mov eax, 2
mov rbp, qword [r9 + 0x10]
mov qword [rsp + 0x58], rdi
lea rcx, [rbp*2 + 1]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call sub.mfc140u.dll_operator_2
xor r8d, r8d
mov rdi, rax
mov ecx, r8d
test rbp, rbp
jle 0x1400b403e
nop dword [rax]
test rcx, rcx
js 0x1400b408a
cmp rcx, qword [rbx + 0x10]
jge 0x1400b408a
mov rax, qword [rbx + 8]
movzx edx, byte [rcx + rax]
and dl, 0xf
movzx eax, dl
add ax, 0x41
mov word [rdi + rcx*4], ax
cmp rcx, qword [rbx + 0x10]
jge 0x1400b408a
mov rax, qword [rbx + 8]
movzx edx, byte [rcx + rax]
shr dl, 4
movzx eax, dl
add ax, 0x41
mov word [rdi + rcx*4 + 2], ax
inc rcx
cmp rcx, rbp
jl 0x1400b3ff0
mov word [rdi + rcx*4], r8w
mov r9, rdi
mov r8, r15
mov rcx, rsi
mov rdx, r14
call fcn.1400b4310
mov rcx, rdi
mov ebx, eax
call sub.mfc140u.dll_operator_1
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rsi
ret
mov rbx, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rsi
ret
call sub.mfc140u.dll_AfxRegDeleteKey
int3

Function at 0x1400b4250
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], r9d
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test r8, r8
je 0x1400b42f4
test rdx, rdx
je 0x1400b42f4
mov rax, qword [rcx + 0x18]
cmp dword [rax - 0x10], 0
je 0x1400b42c8
call fcn.1400b3d00
test rax, rax
je 0x1400b42f4
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rcx
mov r9d, 4
mov rcx, rax
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
mov dword [rbx + 0x30], eax
test eax, eax
sete cl
mov eax, ecx
jmp 0x1400b42f6
mov r8d, r9d
lea rdx, [0x1400f6ad8]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r9, qword [rbx + 0x28]
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x1400b42f6
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c7c30
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b4310
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x1400b442d
mov rax, qword [rcx + 0x18]
cmp dword [rax - 0x10], 0
je 0x1400b43eb
test r8, r8
jne 0x1400b4377
call fcn.1400b35d0
test rax, rax
je 0x1400b442d
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
mov dword [rbx + 0x30], eax
xor eax, eax
test ecx, ecx
sete al
jmp 0x1400b442f
call fcn.1400b3d00
test rbp, rbp
jne 0x1400b43a7
test rax, rax
je 0x1400b442d
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
mov dword [rbx + 0x30], eax
xor eax, eax
test ecx, ecx
sete al
jmp 0x1400b442f
mov rdi, rax
test rax, rax
je 0x1400b442d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
mov dword [rbx + 0x30], eax
xor eax, eax
test ecx, ecx
sete al
jmp 0x1400b442f
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
xor r8d, r8d
mov rdx, rbp
lea rcx, [rsp + 0x48]
call fcn.14009bbc0
mov r9, qword [rbx + 0x28]
mov r8, qword [rsp + 0x48]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
jmp 0x1400b442f
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400b4450
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov edi, ecx
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
lea rdx, str.SystemCurrentControlSetServicesGetWireNT
xor r8d, r8d
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b4523
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x60], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Type
mov dword [rsp + 0x68], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b4518
mov eax, dword [rsp + 0x58]
bt eax, 8
jb 0x1400b4513
test edi, edi
je 0x1400b4518
mov r9d, dword [rsp + 0x68]
lea rdx, str.Type
mov rcx, qword [rsp + 0x30]
bts eax, 8
mov dword [rsp + 0x58], eax
xor r8d, r8d
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1400b4518
mov ebx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400b4550
Capabilities:
Create service

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x70], ebx
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov dword [rsp + 0x70], 1
lea r9, str._binGetWire.exe
mov rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], 0
jne 0x1400b45a5
mov rdx, qword [rdi]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x1400b468e
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x110
mov r9d, 0xf01ff
mov r8, qword [str.QuickWire_GetWire_Server_Service]
mov rdx, qword [str.QWSGetWire]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
jne 0x1400b4679
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, 1
call fcn.1400b4450
jmp 0x1400b4693
mov ebx, 0xffffffff
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret

Function at 0x1400b48a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lea rax, [0x14017818c]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9, [0x1400f692c]
lea r8, [0x1400b48e0]
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140178190], rax
add rsp, 0x38
ret
Function at 0x1400b86d0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov esi, r9d
mov rbx, r8
mov rbp, rcx
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov r8d, 3
lea rcx, [rsp + 0x20]
call fcn.140029130
nop
mov rdx, rbx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
lea rax, [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
cmp rcx, rax
je 0x1400b873b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp rdi, 0xffffffffffffffff
je 0x1400b877e
cmp esi, 0x10
je 0x1400b87a3
cmp word [rbx + 0x2c], 0x2e
jne 0x1400b8769
cmp word [rbx + 0x2e], 0
je 0x1400b876e
cmp word [rbx + 0x2c], 0x2e
jne 0x1400b8769
cmp word [rbx + 0x2e], 0x2e
jne 0x1400b8769
cmp word [rbx + 0x30], 0
je 0x1400b876e
test byte [rbx], 0x10
je 0x1400b87a3
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400b8746
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400c7c30
mov rbx, qword [rsp + 0x178]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbp + 0x248]
movsxd rax, dword [rcx + 0x197c]
mov qword [rcx + rax*8 + 0x1720], rdi
mov eax, 1
jmp 0x1400b8780

Function at 0x1400b8800
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x240]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400b8829
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x1400b8840
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x240]
lea r9, [rsp + 0x40]
mov r8d, 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400b886f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x1400b95c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x240]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400b95e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x1400b9600
Capabilities:
Write file on windows

Disassembly:
mov byte [rsp + 0x10], dl
sub rsp, 0x38
mov rcx, qword [rcx + 0x240]
lea r9, [rsp + 0x40]
mov r8d, 1
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400b9638
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x1400b98d0
Capabilities:
Terminate process

Disassembly:
mov r8, rdx
lea rcx, str.C:ProjectsQuickWire.7QuickWire.Server.7DependenciesGreenLeafGCPP300CPP_ALLTRANSFER.CPP
mov edx, reloc.mfc140u.dll_CDaoRecordset::CDaoRecordset
jmp fcn.1400c0e70

Function at 0x1400b9910
Capabilities:
Terminate process

Disassembly:
mov r8, rdx
lea rcx, str.C:ProjectsQuickWire.7QuickWire.Server.7DependenciesGreenLeafGCPP300CPP_ALLTRANSFER.CPP
mov edx, CDaoRecordset::CDaoRecordset
jmp fcn.1400c0e70
Function at 0x1400b9ee0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r15
sub rsp, 0x20
xor r15d, r15d
mov esi, r9d
mov ebp, r8d
mov r12, rdx
mov rbx, rcx
cmp qword [rcx + 0x150], r15
jne 0x1400b9f15
mov eax, 0xfffffcae
jmp 0x1400b9fe8
dec ebp
test ebp, ebp
jg 0x1400b9f25
mov eax, 0xfffffcc0
jmp 0x1400b9fe8
mov rax, qword [rcx]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r14
call qword [rax + reloc.OLEAUT32.dll_SetErrorInfo]
test eax, eax
js 0x1400b9fde
mov r14, r12
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x150]
xor edx, edx
call fcn.1400bb020
mov edi, eax
cmp eax, 0xfffffcde
je 0x1400b9f93
mov r8, qword [rbx]
movzx edx, dil
mov rcx, rbx
call qword [r8 + 0xc0]
cmp edi, 0xd
je 0x1400b9fd4
cmp edi, 0xa
je 0x1400b9fc0
mov byte [r14], dil
inc r15d
inc r14
dec ebp
test ebp, ebp
jle 0x1400b9fd4
jmp 0x1400b9fc0
call sub.KERNEL32.dll_GetTickCount
lea edi, [rax + 0x37]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x150]
call fcn.1400baf50
test eax, eax
js 0x1400b9fde
call sub.KERNEL32.dll_GetTickCount
cmp eax, edi
jl 0x1400b9fa0
sub esi, 0x37
test esi, esi
jle 0x1400b9fd2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SetErrorInfo]
test eax, eax
jns 0x1400b9f50
jmp 0x1400b9fde
xor esi, esi
movsxd rax, r15d
mov byte [rax + r12], 0
mov eax, esi
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rsi
ret

Function at 0x1400ba120
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x150], 0
jne 0x1400ba142
mov eax, 0xfffffcae
jmp 0x1400ba224
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x158]
add rax, 0x152
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x40]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400ba21f
call sub.KERNEL32.dll_GetTickCount
add eax, 0x64
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x150]
call fcn.1400baf50
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1400ba1b1
mov eax, dword [rsp + 0x20]
jmp 0x1400ba224
call sub.KERNEL32.dll_GetTickCount
cmp dword [rsp + 0x24], eax
jg 0x1400ba18f
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x150]
lea rcx, [rsp + 0x38]
call fcn.1400b9970
nop
lea rcx, [rsp + 0x38]
call fcn.1400b9a60
cmp eax, 1
jne 0x1400ba1fc
mov dword [rsp + 0x28], 0xfffffcdf
lea rcx, [rsp + 0x38]
call fcn.1400b9a10
mov eax, dword [rsp + 0x28]
jmp 0x1400ba224
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x38]
call fcn.1400b9a10
mov eax, dword [rsp + 0x2c]
jmp 0x1400ba224
mov eax, 0xfffffcdd
add rsp, 0x68
ret

Function at 0x1400ba990
Capabilities:
Terminate process

Disassembly:
mov r9d, r8d
lea rcx, str.C:ProjectsQuickWire.7QuickWire.Server.7DependenciesGreenLeafGCPP300CPP_ALLCOMLINK.CPP
mov r8d, edx
mov edx, Ordinal_285
jmp fcn.1400c0e70