joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c11f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rbx, rdx
mov rdi, rcx
jne 0x1400c127c
cmp qword [rdx + 0x10], 0x41
jne 0x1400c127c
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400c127c
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call sub.mfc140u.dll_CMFCRibbonComboBox::FindItem
mov rbx, rax
test rax, rax
je 0x1400c123e
mov rcx, rax
call sub.mfc140u.dll_CTaskDialog::GetCommonButtonId
mov rcx, qword [rbx + 0x40]
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb7
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp method.ActivationWizardDlg.virtual_552

Function at 0x1400c3ba0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rbx, rdx
mov rdi, rcx
jne 0x1400c3c2c
cmp qword [rdx + 0x10], 0x41
jne 0x1400c3c2c
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400c3c2c
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call sub.mfc140u.dll_CMFCRibbonComboBox::FindItem
mov rbx, rax
test rax, rax
je 0x1400c3bee
mov rcx, rax
call sub.mfc140u.dll_CTaskDialog::GetCommonButtonId
mov rcx, qword [rbx + 0x40]
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb7
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp method.ActivationWizardDlg.virtual_552

Function at 0x1400c4b00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rbx, rdx
mov rdi, rcx
jne 0x1400c4b8c
cmp qword [rdx + 0x10], 0x41
jne 0x1400c4b8c
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400c4b8c
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call sub.mfc140u.dll_CMFCRibbonComboBox::FindItem
mov rbx, rax
test rax, rax
je 0x1400c4b4e
mov rcx, rax
call sub.mfc140u.dll_CTaskDialog::GetCommonButtonId
mov rcx, qword [rbx + 0x40]
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb7
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp method.ActivationWizardDlg.virtual_552
Function at 0x1400c5710
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rbx, rdx
mov rdi, rcx
jne 0x1400c579c
cmp qword [rdx + 0x10], 0x41
jne 0x1400c579c
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400c579c
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call sub.mfc140u.dll_CMFCRibbonComboBox::FindItem
mov rbx, rax
test rax, rax
je 0x1400c575e
mov rcx, rax
call sub.mfc140u.dll_CTaskDialog::GetCommonButtonId
mov rcx, qword [rbx + 0x40]
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb7
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp method.ActivationWizardDlg.virtual_552

Function at 0x1400c9140
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x1400c917b
mov qword [rcx + 0x18], 0
lea rdx, [rcx + 0x10]
lea rcx, [0x1400c80a0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400c91ad
cmp qword [rbx + 0x18], 0
jne 0x1400c91ba
mov rcx, qword [rbx + 0x10]
lea r8, [rbx + 0x18]
lea rdx, [0x1400c8060]
call qword [sym.imp.USER32.dll_EnumChildWindows]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1400c91ba
mov qword [rbx + 0x18], 0
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1400cad00
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
push rdi
sub rsp, 0x458
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + reloc.mfc140u.dll_CD2DRadialGradientBrush::CD2DRadialGradientBrush], rax
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400cad3d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400cad3d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [rdi]
test ax, ax
je 0x1400cae4e
mov qword [rsp + CGlobalUtils::~CGlobalUtils], rbp
mov rdx, rdi
mov rcx, rdi
cmp ax, 0x2f
je 0x1400cad63
cmp ax, 0x5c
jne 0x1400cad66
mov rdx, rcx
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1400cad57
xor ebp, ebp
mov qword [rsp + CDialog::~CDialog], rsi
cmp rdx, rdi
je 0x1400cadc4
sub rdx, rdi
lea rcx, [rsp + 0x230]
sar rdx, 1
lea rsi, [rdx + rdx]
mov rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
cmp rsi, 0x208
jae 0x1400cae68
lea rdx, [rsp + 0x230]
mov word [rsp + rsi + 0x230], bp
mov rcx, rbx
call fcn.1400cad00
mov word [rsp + 0x20], bp
test rbx, rbx
je 0x1400cadf0
lea rcx, [rsp + 0x20]
sub rcx, rbx
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x1400cade0
lea rcx, [rsp + 0x20]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], bp
lea rcx, [rcx + 2]
jne 0x1400cae00
xor edx, edx
nop dword [rax]
movzx eax, word [rdi + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400cae10
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400cae3e
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rsi, qword [rsp + 0x450]
mov rbp, qword [rsp + 0x480]
mov rcx, qword [rsp + reloc.mfc140u.dll_CD2DRadialGradientBrush::CD2DRadialGradientBrush]
xor rcx, rsp
call fcn.1400f76d0
add rsp, 0x458
pop rdi
pop rbx
ret
call fcn.1400f7df0
int3
Function at 0x1400cb890
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx], 0
mov esi, r9d
mov r14d, r8d
mov rbp, rdx
mov rdi, rcx
jne 0x1400cb99c
cmp dword [rcx + 8], 0xffffffff
jne 0x1400cb99c
mov qword [rsp + 0x48], rbx
lea rbx, [rcx + 0x250]
mov rdx, rbx
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rax, 0xffffffffffffffff
nop
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400cb8e0
movzx ecx, word [rdi + rax*2 + 0x24e]
cmp cx, 0x5c
je 0x1400cb917
cmp cx, 0x2f
je 0x1400cb917
sub rbx, 2
cmp word [rbx + 2], 0
lea rbx, [rbx + 2]
jne 0x1400cb904
mov eax, dword [0x140145a80]
mov dword [rbx], eax
mov rbx, qword [rsp + 0x48]
cmp esi, 1
jne 0x1400cb94a
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1400cb94a
mov eax, 0x2000000
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
lea r9, [rsp + 0x40]
mov r8d, esi
mov edx, r14d
mov rcx, rbp
call fcn.1400ce7c0
test rax, rax
jne 0x1400cb974
mov eax, dword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rcx, rax
call fcn.1400cf350
xor ecx, ecx
mov qword [rdi], rax
test rax, rax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rbp, qword [rsp + 0x50]
mov eax, 0x1000000
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400cc0d0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov r9d, dword [rcx]
mov r10, rcx
movsx rax, dl
mov r8d, r9d
xor r8, rax
shr r9d, 8
movzx eax, r8b
lea r8, [0x14015b5b0]
mov edx, dword [r8 + rax*4]
xor edx, r9d
mov dword [rcx], edx
movzx eax, dl
add eax, dword [rcx + 4]
imul edx, eax, 0x8088405
inc edx
mov dword [rcx + 4], edx
mov ecx, dword [rcx + 8]
movzx eax, cl
shr rdx, 0x18
xor rdx, rax
shr ecx, 8
mov eax, dword [r8 + rdx*4]
xor eax, ecx
mov dword [r10 + 8], eax
ret
Function at 0x1400ce910
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov r10, r8
mov rdi, r9
imul r10d, edx
mov rsi, rdx
cmp byte [r9], 0
mov r11, rcx
je 0x1400ce96a
mov rdx, rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400ce956
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
sub ecx, edx
mov qword [rsp + 0x40], rbx
lea eax, [rdx + r10]
cmp eax, dword [r9 + 0x28]
cmovbe ecx, r10d
add rdx, qword [r9 + 0x20]
mov ebx, ecx
mov r8d, ecx
mov rcx, r11
call sub.VCRUNTIME140.dll_memcpy
add dword [rdi + 0x2c], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400ceb60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10d, r8d
mov r9, rdx
test rdx, rdx
jne 0x1400ceb76
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x14015b5b0]
not ecx
cmp r10d, 8
jb 0x1400cec68
mov r11, r10
shr r11, 3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r10d, 0xfffffff8
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x1400ceba0
test r10d, r10d
je 0x1400cec90
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
add r10d, 0xffffffff
jne 0x1400cec70
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret
Function at 0x1400d5f80
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, reloc.mfc140u.dll_CRenderTarget::FillOpacityMask
call fcn.1400f7780
sub rsp, rax
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x1210], rax
lea rdx, [rsp + 0xa40]
mov rdi, rcx
sub rdx, rcx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d5fc0
lea rcx, [rsp + 0xa40]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400d5fe0
mov eax, dword [0x14015fdd4]
lea rdx, [rsp + 0x270]
mov dword [rcx], eax
sub rdx, rdi
movzx eax, word [0x14015fdd8]
mov word [rcx + 4], ax
mov rcx, rdi
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d6010
lea rcx, [rsp + 0x270]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400d6030
mov eax, dword [0x140145a80]
lea rdx, [rsp + 0x20]
mov dword [rcx], eax
lea rcx, [rsp + 0xa40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400d61a2
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0x270]
mov word [rsp + rcx + CGlobalUtils::CalcExpectedDockedRect], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d6070
nop dword [rax]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400d618e
lea rcx, [rsp + 0x4c]
call fcn.1400e1180
test eax, eax
jne 0x1400d6090
lea rax, [rsp + 0x270]
sub rax, 2
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x1400d60c0
lea r8, [rsp + 0x4c]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [r8 + rdx*2]
mov word [rax + rdx*2], cx
lea rdx, [rdx + 1]
test cx, cx
jne 0x1400d60e0
mov eax, dword [rsp + 0x20]
test al, 0x10
je 0x1400d613e
lea rcx, [rsp + 0x270]
call fcn.1400d5f80
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0xa40]
mov word [rsp + rcx + 0x270], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d6120
jmp 0x1400d6090
test al, 1
je 0x1400d6155
mov edx, 0x80
lea rcx, [rsp + 0x270]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wchmod]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0xa40]
mov word [rsp + rcx + 0x270], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d6170
jmp 0x1400d6090
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
cmp eax, 0x12
je 0x1400d61a6
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x1400d61b5
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rsp + 0x1210]
xor rcx, rsp
call fcn.1400f76d0
mov rbx, qword [rsp + 0x1238]
add rsp, reloc.mfc140u.dll_CRenderTarget::FillOpacityMask
pop rdi
ret
Function at 0x1400d61e0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rdi, rcx
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400e6b90
mov qword [rsp + 0x58], rax
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400d6264
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400d6790
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdx, str.SoftwareMicrosoftInternet_ExplorerTypedURLs
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
lea r8, [rsp + 0x20]
mov rcx, 0xffffffff80000001
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, 1
lea rdx, str.url_d
mov r8d, ebx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1400d683b
nop word [rax + rax]
inc ebx
lea rdx, str.url_d
mov r8d, ebx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1400d6810
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f76d0
add rsp, 0x50
pop rbx
ret
Function at 0x1400d6e10
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, reloc.mfc140u.dll_CPaneDivider::CPaneDivider
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov ebx, edx
lea rdx, str._userprofile_
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
lea rdx, str.Local_SettingsHistoryHistory.IE5index.dat
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
test ebx, ebx
je 0x1400d6e9e
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
mov r8d, 0x190
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r9, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
lea rdx, str._s_s
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.USER32.dll_wsprintfW]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140170ce8]
xor edx, edx
lea r8d, [rdx + 3]
lea rcx, str._J7_
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x1400d6ef1
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.1400f76d0
add rsp, reloc.mfc140u.dll_CPaneDivider::CPaneDivider
pop rbx
ret
Function at 0x1400d74c0
Capabilities:
Encrypt or decrypt via wincrypt
Print debug messages

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x160
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov qword [r11 - 0x10], rbx
mov rax, r9
mov qword [r11 - 0x18], rbp
lea r9, [rsp + 0x50]
mov rbp, rcx
mov qword [r11 - 0x20], rsi
lea rcx, [rsp + 0x48]
mov qword [r11 - 0x28], r14
xor r14d, r14d
mov qword [rsp + 0x20], rcx
mov rsi, r8
mov qword [rsp + 0x58], r14
mov rbx, rdx
mov qword [rsp + 0x50], r14
mov edx, dword [rsp + 0x190]
lea r8, [rsp + 0x58]
mov rcx, rax
mov qword [rsp + 0x48], r14
call fcn.1400e46c0
mov eax, dword [rsi]
cmp dword [rsp + 0x198], r14d
je 0x1400d75c0
mov rcx, qword [rsp + 0x48]
lea r8d, [r14 + 1]
mov dword [rsp + 0x40], eax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov edi, eax
test eax, eax
je 0x1400d7625
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx], rax
mov rdx, rbp
mov r8d, dword [rsi]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x40]
lea r8d, [r14 + 1]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov dword [rsp + 0x30], eax
xor edx, edx
mov rax, qword [rbx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov edi, eax
test eax, eax
jne 0x1400d7625
jmp 0x1400d7616
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx], rax
mov rdx, rbp
mov r8d, dword [rsi]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rbp
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov edi, eax
test eax, eax
jne 0x1400d7625
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090005
jne 0x1400d7616
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx], r14
mov dword [rsi], r14d
mov rcx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x148]
mov rbp, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x158]
test rcx, rcx
je 0x1400d7655
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400d7665
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400d7677
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400f76d0
add rsp, 0x160
pop rdi
ret
Function at 0x1400de8c0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub rsp, 0x2e8
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov ecx, 0x101
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400de988
mov edx, 0xff
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x1400de988
lea rcx, [rsp + 0x1d0]
mov qword [rsp + 0x2e0], rdi
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rdi, rax
test rax, rax
je 0x1400de981
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx]
test rdx, rdx
je 0x1400de981
mov qword [rsp + 0x2f0], rbx
xor ebx, ebx
mov ecx, dword [rdx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rcx, qword [rdi + 0x18]
lea rbx, [rbx + 1]
mov rdx, qword [rcx + rbx*8]
test rdx, rdx
jne 0x1400de940
mov rbx, qword [rsp + 0x2f0]
mov rdi, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400f76d0
add rsp, 0x2e8
ret
mov rax, qword [rsp + 0x20]
jmp 0x1400de961
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400f76d0
add rsp, 0x2e8
ret