joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc5469ac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc546a2a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc546a21
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc546a21
mov rax, qword [rbp - 8]
jmp 0x2fc546a3f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc5469f4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x6c641580
Capabilities:
Get graphical window text

Disassembly:
push r12
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov rsi, qword [sym.imp.user32.dll_SendMessageW]
xor r9d, r9d
shl r8d, 0xc
mov rbx, rdx
mov r12, rcx
mov dword [rsp + 0x20], 0xd
mov dword [rsp + 0x2c], r8d
mov edx, 0x1004
xor r8d, r8d
mov dword [rsp + 0x30], 0xf000
call rsi
mov dword [rsp + 0x28], 0
xor r8d, r8d
mov rcx, r12
mov dword [rsp + 0x24], eax
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x20]
mov edx, 0x104d
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x38], rax
call rsi
nop
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop r12
ret

Function at 0x6c641c70
Capabilities:
Query or enumerate registry value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftCryptographyUICertmgrPurpose
mov rcx, 0xffffffff80000001
xor r12d, r12d
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 0x20019
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.advapi32.dll_RegCreateKeyExW]
test eax, eax
jne 0x6c641d0f
lea rsi, [rsp + 0x54]
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], rsi
mov rbx, qword [sym.imp.advapi32.dll_RegQueryValueExA]
lea r9, [rsp + 0x50]
lea rdx, str.Purpose
call rbx
test eax, eax
je 0x6c641d20
cmp eax, 0xea
je 0x6c641d20
xor r12d, r12d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov rax, r12
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
ret
cmp dword [rsp + 0x50], 1
jne 0x6c641d01
mov rdi, qword gs:[0x30]
mov rax, qword [rdi + 0x60]
mov r8d, dword [rsp + 0x54]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x6c641d01
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rdx, str.Purpose
call rbx
test eax, eax
je 0x6c641d04
mov rax, qword [rdi + 0x60]
mov r8, r12
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x6c641d01

Function at 0x6c642940
Capabilities:
Get geographical location

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe0
mov r9d, 0x50
mov edx, 0x20
mov r12, rcx
lea rdi, [rsp + 0x40]
lea rsi, [rsp + 0x30]
mov ecx, 0x800
mov r8, rdi
call qword [sym.imp.kernel32.dll_GetLocaleInfoW]
mov rcx, r12
mov rdx, rsi
xor r12d, r12d
call qword [sym.imp.kernel32.dll_FileTimeToSystemTime]
mov r9, rdi
mov r8, rsi
xor edx, edx
mov dword [rsp + 0x28], 0
mov rbp, qword [sym.imp.kernel32.dll_GetDateFormatW]
mov ecx, 0x800
mov qword [rsp + 0x20], 0
call rbp
mov ebx, eax
test eax, eax
je 0x6c6429ee
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8d, ebx
xor edx, edx
add r8, r8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x6c6429ee
mov dword [rsp + 0x28], ebx
mov r9, rdi
mov r8, rsi
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0x800
call rbp
mov rax, r12
add rsp, 0xe0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x6c642a00
Capabilities:
Get geographical location

Disassembly:
mov rcx, qword [rcx + 0x18]
add rcx, 0x48
jmp sym.format_long_date

Function at 0x6c642a10
Capabilities:
Get geographical location

Disassembly:
mov rcx, qword [rcx + 0x18]
add rcx, 0x40
jmp sym.format_long_date
Function at 0x6c6445b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rdi, qword [sym.imp.crypt32.dll_CryptFormatObject]
xor r9d, r9d
xor r12d, r12d
lea rbp, [rsp + 0x5c]
mov r8d, edx
mov rbx, rcx
mov esi, edx
mov qword [rsp + 0x40], rbp
xor edx, edx
mov qword [rsp + 0x38], 0
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rcx]
mov ecx, 1
mov qword [rsp + 0x20], rax
call rdi
test eax, eax
je 0x6c644659
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8d, dword [rsp + 0x5c]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rsp + 0x40], rbp
xor r9d, r9d
mov r8d, esi
mov qword [rsp + 0x38], rax
mov r12, rax
mov eax, dword [rbx + 0x10]
xor edx, edx
mov ecx, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
call rdi
mov rax, r12
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x6c6447f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x450
xor r8d, r8d
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax + 0x60]
mov rbx, rcx
mov ecx, 1
call qword [sym.imp.crypt32.dll_CryptFindOIDInfo]
mov r12, rax
test rax, rax
je 0x6c644912
lea r13, [rsp + 0x50]
mov r9d, 0x200
mov edx, 0x409
mov rcx, qword [0x6c663008]
mov r8, r13
call qword [sym.imp.user32.dll_LoadStringW]
test eax, eax
je 0x6c644928
cmp word [rsp + 0x50], 0
je 0x6c644930
mov rax, r13
nop word [rax + rax]
add rax, 2
cmp word [rax], 0
jne 0x6c644860
sub rax, r13
sar rax, 1
mov rcx, qword [r12 + 0x10]
cmp word [rcx], 0
je 0x6c644892
mov rdx, rcx
nop
add rdx, 2
cmp word [rdx], 0
jne 0x6c644880
sub rdx, rcx
sar rdx, 1
add eax, edx
mov rdx, qword [rbx + 0x18]
mov edx, dword [rdx + 0x78]
lea r8d, [rax + rdx*8]
xor edx, edx
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rdi, r8
add r8, r8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x6c644928
mov rax, qword [r12 + 0x10]
mov rdx, qword [rbx + 0x18]
mov ecx, 1
mov r12, rsi
add rdx, 0x60
mov qword [rsp + 0x40], rax
call qword [sym.imp.crypt32.dll_CertGetPublicKeyLength]
mov dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
mov eax, eax
mov qword [rsp + 0x20], rsi
mov rdx, r13
mov ecx, 0x2400
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
call qword [sym.imp.kernel32.dll_FormatMessageW]
mov rax, r12
add rsp, 0x450
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
xor r12d, r12d
jmp 0x6c644912
xor eax, eax
jmp 0x6c644870
Function at 0x6c6449f0
Capabilities:
Get graphical window text

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov rdi, qword gs:[0x30]
mov r13, rdx
mov edx, 0x965
call qword [sym.imp.user32.dll_GetDlgItem]
mov r8d, 0x30
mov edx, 8
mov rsi, qword [sym.imp.kernel32.dll_HeapAlloc]
mov r12, rax
mov rax, qword [rdi + 0x60]
mov rcx, qword [rax + 0x30]
call rsi
mov rbx, rax
test rax, rax
je 0x6c644acc
mov rcx, r13
call qword [sym.imp.ucrtbase.dll_strlen]
mov rdx, qword [rdi + 0x60]
lea r8, [rax + 1]
mov rcx, qword [rdx + 0x30]
xor edx, edx
call rsi
mov rsi, rax
test rax, rax
je 0x6c644ad8
mov rdx, r13
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_strcpy]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
movabs rax, 0xf00000002000
mov rcx, r12
mov qword [rbx + 8], rsi
mov dword [rbx], 0x30
mov dword [rsp + 0x20], 0xd
mov qword [rsp + 0x2c], rax
call qword [sym.imp.user32.dll_SendMessageW]
mov qword [rsp + 0x48], rbx
xor r8d, r8d
mov rcx, r12
mov dword [rsp + 0x24], eax
lea r9, [rsp + 0x20]
mov edx, 0x1007
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x38], rsi
call qword [sym.imp.user32.dll_SendMessageA]
nop
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov rax, qword [rdi + 0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x6c644acc
Function at 0x6c645af0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push rbx
sub rsp, 0x20
cmp edx, 1
je 0x6c645b08
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rbx, qword [r8 + 0x30]
lea rdx, [rbx + 0x18]
lea rcx, [rbx + 0x10]
call sym.free_detail_fields.isra.0
mov r8, rbx
xor edx, edx
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x6c6462d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get ntdll base address

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov r13, qword [sym.imp.user32.dll_SendMessageW]
mov rbp, r8
mov r12, rcx
xor r8d, r8d
mov rbx, rdx
mov rdi, r9
mov edx, 0x1004
xor r9d, r9d
call r13
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x20]
xor r8d, r8d
mov dword [rsp + 0x24], eax
mov rsi, rax
mov r9, rbp
mov edx, 0x104d
mov dword [rsp + 0x20], 5
mov rcx, r12
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x48], rbx
call r13
test rdi, rdi
je 0x6c64635a
mov qword [rsp + 0x38], rdi
mov r9, rbp
movsxd r8, esi
mov edx, 0x1074
mov dword [rsp + 0x28], 1
mov rcx, r12
call r13
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x6c6463f8
add eax, 1
mov r8, qword [rbx + 0x18]
cdqe
lea r9, [rax + rax*2]
mov rdx, qword gs:[0x30]
mov rax, qword [rdx + 0x60]
shl r9, 3
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapReAlloc]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x6c6463e4
movsxd rdx, dword [rbx + 0x10]
mov rcx, qword [rsp + 0xe0]
lea rdx, [rdx + rdx*2]
mov qword [rax + rdx*8], rcx
movsxd rax, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
lea rax, [rax + rax*2]
lea rax, [rdx + rax*8]
mov rdx, qword [rsp + 0xe8]
mov qword [rax + 8], 0
movsxd rax, dword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
lea rax, [rax + rax*2]
lea rax, [rcx + rax*8]
mov qword [rax + 0x10], rdx
add dword [rbx + 0x10], 1
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8d, 0x18
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rbx + 0x18], rax
jmp 0x6c646393
Function at 0x6c646a40
Capabilities:
Get graphical window text

Disassembly:
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x920
mov rax, r8
mov r14, rcx
mov r12, r8
shr rax, 0x10
test r8d, 0xffff0000
je 0x6c646a90
xor r13d, r13d
cmp ax, 0x300
jne 0x6c646a76
cmp r8w, 0x9c4
je 0x6c646ac0
mov rax, r13
add rsp, 0x920
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret
cmp r8w, 1
je 0x6c646b00
cmp r8w, 2
je 0x6c646aa8
xor r13d, r13d
jmp 0x6c646a76
mov rdx, r8
mov r13d, 1
call qword [sym.imp.user32.dll_EndDialog]
jmp 0x6c646a76
mov edx, 0x9c4
call qword [sym.imp.user32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xba
mov r12, rax
mov rcx, rax
call qword [sym.imp.user32.dll_SendMessageW]
xor r8d, r8d
mov edx, 1
mov rcx, r12
cmp eax, 1
setg r8b
call qword [sym.imp.user32.dll_ShowScrollBar]
jmp 0x6c646a76
mov edx, 0x9c4
mov rbx, qword [sym.imp.user32.dll_GetDlgItem]
lea r13, [rsp + 0x20]
call rbx
mov r9, r13
mov r8d, 0x100
mov edx, 0xd
mov rcx, rax
call qword [sym.imp.user32.dll_SendMessageA]
movzx eax, byte [rsp + 0x20]
test al, al
jne 0x6c646b50
mov edx, 2
mov rcx, r14
mov r13d, 1
call qword [sym.imp.user32.dll_EndDialog]
jmp 0x6c646a76
sub eax, 0x30
cmp al, 2
ja 0x6c646b5e
cmp byte [rsp + 0x21], 0x2e
je 0x6c646bbf
lea r12, [rsp + 0x520]
lea rbx, [rsp + 0x120]
mov rcx, qword [0x6c663008]
mov r13, qword [sym.imp.user32.dll_LoadStringW]
mov r9d, 0x200
mov r8, r12
mov edx, 0x40f
call r13
mov r9d, 0x200
mov r8, rbx
mov edx, 0x40e
mov rcx, qword [0x6c663008]
call r13
mov r9d, 0x10
mov r8, rbx
mov rdx, r12
mov rcx, r14
call qword [sym.imp.user32.dll_MessageBoxW]
jmp 0x6c646a9e
movsx eax, byte [rsp + 0x22]
lea rdx, [rsp + 0x22]
test al, al
je 0x6c646b5e
sub eax, 0x30
cmp eax, 9
ja 0x6c646b5e
movsx eax, byte [rdx + 1]
test al, al
je 0x6c646c08
cmp al, 0x2e
jne 0x6c646cb8
movsx eax, byte [rdx + 2]
test al, al
je 0x6c646b5e
sub eax, 0x30
add rdx, 2
cmp eax, 9
ja 0x6c646b5e
jmp 0x6c646bd5
mov edx, 0x10
mov rcx, r14
mov rsi, qword [sym.imp.user32.dll_GetWindowLongPtrW]
call rsi
mov edx, 0x965
mov rcx, rax
call rbx
mov rdx, r13
mov rcx, rax
call sym.find_oid_in_list
cmp rax, 0xffffffffffffffff
je 0x6c646c88
lea r12, [rsp + 0x520]
lea rbx, [rsp + 0x120]
mov rcx, qword [0x6c663008]
mov rsi, qword [sym.imp.user32.dll_LoadStringW]
mov r9d, 0x200
mov r8, r12
mov edx, 0x410
call rsi
mov r9d, 0x200
mov r8, rbx
mov edx, 0x40e
mov rcx, qword [0x6c663008]
call rsi
mov r9d, 0x30
jmp 0x6c646bab
mov edx, 0x10
mov rcx, r14
call rsi
mov rdx, r13
mov r13d, 1
mov rcx, rax
call sym.add_purpose
mov rdx, r12
mov rcx, r14
call qword [sym.imp.user32.dll_EndDialog]
jmp 0x6c646a76
add rdx, 1
jmp 0x6c646bcd
Function at 0x6c646e20
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x2a8
mov edx, 0x10
mov r12, rcx
lea rsi, [rsp + 0xa0]
call qword [sym.imp.user32.dll_GetWindowLongPtrW]
mov rdi, qword [sym.imp.user32.dll_GetDlgItem]
mov edx, 0x960
mov rcx, r12
mov rbx, rax
call rdi
mov r9, rsi
mov r8d, 0x100
mov edx, 0xd
mov rbp, qword [sym.imp.user32.dll_SendMessageW]
mov rcx, rax
call rbp
mov rcx, qword [rbx]
mov r8, rsi
mov edx, 0xb
call sym.set_cert_string_property
mov edx, 0x961
mov rcx, r12
call rdi
mov r9, rsi
mov r8d, 0x100
mov edx, 0xd
mov rcx, rax
call rbp
mov rcx, qword [rbx]
mov r8, rsi
mov edx, 0xd
call sym.set_cert_string_property
mov rsi, qword [sym.imp.user32.dll_IsDlgButtonChecked]
mov edx, 0x962
mov rcx, r12
call rsi
test eax, eax
je 0x6c646f20
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertSetEnhancedKeyUsage]
mov rsi, qword [sym.imp.user32.dll_GetParent]
mov rcx, r12
call rsi
mov rcx, rax
call rsi
xor r8d, r8d
lea rdx, [sym.refresh_propsheet_pages]
mov rcx, rax
call qword [sym.imp.user32.dll_EnumChildWindows]
mov rax, qword [rbx + 8]
test rax, rax
je 0x6c646f07
mov dword [rax], 1
add rsp, 0x2a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, 0x963
mov rcx, r12
call rsi
test eax, eax
je 0x6c646f50
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x48], 0
mov rcx, qword [rbx]
call qword [sym.imp.crypt32.dll_CertSetEnhancedKeyUsage]
jmp 0x6c646ed4
mov edx, 0x964
mov rcx, r12
call rsi
test eax, eax
je 0x6c646ed4
mov edx, 0x965
mov rcx, r12
xor r15d, r15d
call rdi
mov dword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov rsi, rax
mov edx, 0x1004
lea rdi, [rsp + 0x40]
mov rcx, rax
mov qword [rsp + 0x38], 0
call rbp
mov dword [rsp + 0x40], 0xc
mov dword [rsp + 0x48], 0
mov r13d, eax
mov dword [rsp + 0x50], 0xf000
test eax, eax
jle 0x6c647060
mov rax, qword gs:[0x30]
mov qword [rsp + 0x28], rax
jmp 0x6c646fdd
add r15d, 1
cmp r13d, r15d
je 0x6c647060
xor r8d, r8d
mov dword [rsp + 0x44], r15d
mov r9, rdi
mov edx, 0x104b
mov rcx, rsi
call rbp
test rax, rax
je 0x6c646fd0
mov eax, dword [rsp + 0x4c]
shr eax, 0xc
cmp eax, 2
jne 0x6c646fd0
mov eax, dword [rsp + 0x30]
mov r14, qword [rsp + 0x68]
test eax, eax
je 0x6c647098
lea r9d, [rax + 1]
mov r8, qword [rsp + 0x38]
mov rdx, qword gs:[0x30]
mov rax, qword [rdx + 0x60]
shl r9, 3
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapReAlloc]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x6c646fd0
mov edx, dword [rsp + 0x30]
lea ecx, [rdx + 1]
mov dword [rsp + 0x30], ecx
mov rcx, qword [r14 + 8]
mov qword [rax + rdx*8], rcx
jmp 0x6c646fd0
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
call qword [sym.imp.crypt32.dll_CertSetEnhancedKeyUsage]
mov r8, qword [rsp + 0x38]
xor edx, edx
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x6c646ed4
mov rax, qword [rsp + 0x28]
mov r8d, 8
xor edx, edx
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rsp + 0x38], rax
jmp 0x6c64703f
Function at 0x6c648570
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r13, rcx
cmp edx, 0x4e
je 0x6c6485c0
xor r12d, r12d
cmp edx, 0x110
jne 0x6c6485a2
mov r8, qword [r9 + 0x30]
mov edx, 0x10
call qword [sym.imp.user32.dll_SetWindowLongPtrW]
mov rax, r12
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [r9 + 0x10]
cmp eax, 0xffffff31
je 0x6c648600
xor r12d, r12d
cmp eax, 0xffffff38
jne 0x6c6485a2
call qword [sym.imp.user32.dll_GetParent]
mov r12d, 1
mov r9d, 3
xor r8d, r8d
mov rcx, rax
mov edx, 0x470
call qword [sym.imp.user32.dll_PostMessageW]
jmp 0x6c6485a2
mov rbx, qword [sym.imp.user32.dll_GetDlgItem]
mov edx, 0xb63
call rbx
mov edx, 0xb64
mov rcx, r13
mov r15, rax
call rbx
xor r9d, r9d
xor r8d, r8d
mov rsi, qword [sym.imp.user32.dll_SendMessageW]
mov r14, rax
mov edx, 0xe
mov rcx, r15
call rsi
xor r9d, r9d
xor r8d, r8d
mov edx, 0xe
mov r12, rax
mov rcx, r14
call rsi
mov edx, 0x10
mov rcx, r13
mov rbx, rax
call qword [sym.imp.user32.dll_GetWindowLongPtrW]
mov rdi, rax
mov eax, ebx
or eax, r12d
jne 0x6c648678
mov qword [rdi + 0x58], 0
xor r12d, r12d
jmp 0x6c6485a2
cmp r12d, ebx
je 0x6c6486a8
mov rdx, qword [rdi + 0x10]
mov rcx, r13
mov r12d, 1
call sym.export_password_mismatch.isra.0
mov r8d, 1
xor edx, edx
mov rcx, r13
call qword [sym.imp.user32.dll_SetWindowLongPtrW]
jmp 0x6c6485a2
mov r9, qword gs:[0x30]
add r12d, 1
mov rax, qword [r9 + 0x60]
mov qword [rsp + 0x28], r9
xor edx, edx
lea r8, [r12 + r12]
mov rbx, qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rsp + 0x20], r8
mov rcx, qword [rax + 0x30]
call rbx
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rbp, rax
mov rax, qword [r9 + 0x60]
mov rcx, qword [rax + 0x30]
call rbx
mov rbx, rax
test rbp, rbp
je 0x6c6487aa
test rax, rax
je 0x6c6487aa
mov r9, rbp
mov r8, r12
mov edx, 0xd
mov rcx, r15
call rsi
mov edx, 0xd
mov rcx, r14
mov r9, rbx
mov r8, r12
call rsi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.kernel32.dll_lstrcmpW]
test eax, eax
jne 0x6c648766
mov qword [rdi + 0x58], rbp
mov rsi, qword [sym.imp.kernel32.dll_HeapFree]
xor r12d, r12d
mov dword [rdi + 0x68], 1
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rax + 0x30]
call rsi
jmp 0x6c6485a2
mov rdx, qword [rdi + 0x10]
mov rcx, r13
mov r12d, 1
call sym.export_password_mismatch.isra.0
mov r8d, 1
xor edx, edx
mov rcx, r13
call qword [sym.imp.user32.dll_SetWindowLongPtrW]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rsi, qword [sym.imp.kernel32.dll_HeapFree]
mov r8, rbp
xor edx, edx
mov rcx, qword [rax + 0x30]
call rsi
jmp 0x6c648749
xor r12d, r12d
jmp 0x6c648789
Function at 0x6c64ad30
Capabilities:
Hide graphical window

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
mov r12, rcx
mov ebx, edx
test byte [0x6c653240], 8
jne 0x6c64ad60
cmp ebx, 1
je 0x6c64ad92
xor eax, eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
ret
mov qword [rsp + 0x30], r8
lea r9, str.__p___08x___08Ix__n
lea r8, str.cert_prop_sheet_proc
mov dword [rsp + 0x28], edx
lea rdx, [0x6c653240]
mov qword [rsp + 0x20], rcx
mov ecx, 3
call sym.wine_dbg_log.constprop.0
cmp ebx, 1
jne 0x6c64ad4c
mov rbx, qword [sym.imp.user32.dll_GetDlgItem]
lea rsi, [rsp + 0x40]
mov rcx, r12
mov edx, 2
call rbx
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.user32.dll_GetWindowRect]
mov r8, rsi
mov r9d, 2
xor ecx, ecx
mov rdx, r12
call qword [sym.imp.user32.dll_MapWindowPoints]
mov rcx, r12
mov edx, 2
call rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.user32.dll_ShowWindow]
mov edi, dword [rsp + 0x44]
mov esi, dword [rsp + 0x40]
mov rcx, r12
mov edx, 1
call rbx
mov dword [rsp + 0x30], 0x1d
mov r9d, edi
mov r8d, esi
mov dword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.user32.dll_SetWindowPos]
xor eax, eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
ret
Function at 0x6c64b8e0
Capabilities:
Get geographical location

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x188
mov r9d, 0x50
mov r12, rdx
lea rsi, [rsp + 0x40]
mov edx, 0x1f
mov r13, rcx
mov r8, rsi
mov ecx, 0x800
lea rbx, [rsp + 0x30]
call qword [sym.imp.kernel32.dll_GetLocaleInfoW]
mov rcx, r12
lea r12, [rsp + 0xe0]
mov rdx, rbx
call qword [sym.imp.kernel32.dll_FileTimeToSystemTime]
xor edx, edx
mov qword [rsp + 0x20], r12
mov r9, rsi
mov dword [rsp + 0x28], 0x50
mov r8, rbx
mov ecx, 0x800
call qword [sym.imp.kernel32.dll_GetDateFormatW]
cmp word [rsp + 0xe0], 0
je 0x6c64b990
mov r8, r12
nop dword [rax + rax]
add r8, 2
cmp word [r8], 0
jne 0x6c64b960
sub r8, r12
sar r8, 1
mov rdx, r12
mov rcx, r13
call sym.add_unformatted_text_to_control
nop
add rsp, 0x188
pop rbx
pop rsi
pop r12
pop r13
ret
xor r8d, r8d
jmp 0x6c64b971
Function at 0x6c64d240
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x70
mov rbx, rcx
test byte [0x6c653240], 8
jne 0x6c64d3e0
mov eax, dword [rbx]
cmp eax, 0x40
jne 0x6c64d3b8
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rbx + 0x10]
movdqu xmm2, xmmword [rbx + 0x20]
movdqu xmm3, xmmword [rbx + 0x30]
mov r8, qword [rbx + 0x18]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm3
test r8, r8
je 0x6c64d2f9
mov r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r12, qword [sym.imp.kernel32.dll_MultiByteToWideChar]
call r12
xor edx, edx
movsxd r8, eax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rsi, r8
add r8, r8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [rsp + 0x28], esi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbx + 0x18]
mov qword [rsp + 0x48], rax
call r12
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x6c64d368
mov r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r12, qword [sym.imp.kernel32.dll_MultiByteToWideChar]
call r12
xor edx, edx
movsxd r8, eax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rsi, r8
add r8, r8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [rsp + 0x28], esi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbx + 0x20]
mov qword [rsp + 0x50], rax
call r12
lea rcx, [rsp + 0x30]
call sym.cryptui.dll_CryptUIDlgSelectStoreW
mov r8, qword [rsp + 0x50]
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
xor edx, edx
mov r12, rax
mov rsi, qword gs:[0x30]
mov rax, qword [rsi + 0x60]
mov rcx, qword [rax + 0x30]
call rbx
mov rax, qword [rsi + 0x60]
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rax + 0x30]
call rbx
mov rax, r12
add rsp, 0x70
pop rbx
pop rsi
pop r12
ret
test byte [0x6c653240], 4
jne 0x6c64d410
xor r12d, r12d
mov rax, qword gs:[0x30]
mov dword [rax + 0x68], 0x80070057
mov rax, r12
add rsp, 0x70
pop rbx
pop rsi
pop r12
ret
mov qword [rsp + 0x20], rcx
lea r9, str.__p__n
lea r8, str.CryptUIDlgSelectStoreA
mov ecx, 3
lea rdx, [0x6c653240]
call sym.wine_dbg_log.constprop.0
jmp 0x6c64d258
mov dword [rsp + 0x20], eax
lea r9, str.unexpected_size__ld_n
lea r8, str.CryptUIDlgSelectStoreA
mov ecx, 2
lea rdx, [0x6c653240]
call sym.wine_dbg_log.constprop.0
jmp 0x6c64d3c1
Function at 0x6c6512c0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
call qword [sym.imp.ucrtbase.dll_strlen]
mov rbx, rax
xor eax, eax
test rbx, rbx
je 0x6c651313
cmp byte [r12 + rbx - 1], 0xa
je 0x6c6512ee
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x48]
xchg dword [0x6c663144], eax
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov edx, 1
mov r9, rax
mov r8, rbx
mov rcx, r12
call qword [sym.imp.ucrtbase.dll_fwrite]
add rsp, 0x28
pop rbx
pop r12
ret