joyce8/EMBER2024-capa huggingface dataset:
Function at 0x34b371580
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 0x34b371a90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdi, qword [sym.imp.kernel32.dll_HeapFree]
mov rsi, rcx
mov ecx, dword [rcx + 0x10]
test ecx, ecx
jle 0x34b371ae6
mov rdi, qword [sym.imp.kernel32.dll_HeapFree]
xor ebx, ebx
mov rbp, qword gs:[0x30]
nop dword [rax + rax]
mov rdx, qword [rsi + 0x18]
movsxd rax, ebx
inc ebx
lea rax, [rax + rax*2]
lea rax, [rdx + rax*8]
mov rdx, qword [rbp + 0x60]
mov r8, qword [rax + 8]
mov rcx, qword [rdx + 0x30]
xor edx, edx
call rdi
cmp dword [rsi + 0x10], ebx
jg 0x34b371ac0
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8, qword [rsi + 0x18]
xor edx, edx
mov rcx, qword [rax + 0x30]
call rdi
mov qword [rsi + 0x18], 0
mov dword [rsi + 0x10], 0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x34b371d00
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 0x34b371d9f
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 0x34b371db0
cmp eax, 0xea
je 0x34b371db0
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 0x34b371d91
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 0x34b371d91
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 0x34b371d94
mov rax, qword [rdi + 0x60]
mov r8, r12
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x34b371d91
Function at 0x34b371ed0
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 0x34b371f5a
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 0x34b371ff8
inc eax
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 0x34b371fe2
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
inc dword [rbx + 0x10]
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 0x34b371f92

Function at 0x34b372be0
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 0x34b372c8e
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 0x34b372c8e
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 0x34b372ca0
Capabilities:
Get geographical location

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

Function at 0x34b372cb0
Capabilities:
Get geographical location

Disassembly:
mov rcx, qword [rcx + 0x18]
add rcx, 0x40
jmp sym.format_long_date
Function at 0x34b3745c0
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 0x34b374669
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 0x34b374c30
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 r13, rax
test rax, rax
je 0x34b374d51
lea r12, [rsp + 0x50]
mov r9d, 0x200
mov edx, 0x409
mov rcx, qword [0x34b393008]
mov r8, r12
call qword [sym.imp.user32.dll_LoadStringW]
test eax, eax
je 0x34b374d68
cmp word [rsp + 0x50], 0
je 0x34b374d70
mov rax, r12
nop word [rax + rax]
add rax, 2
cmp word [rax], 0
jne 0x34b374ca0
sub rax, r12
sar rax, 1
mov rcx, qword [r13 + 0x10]
cmp word [rcx], 0
je 0x34b374cd2
mov rdx, rcx
nop dword [rax]
add rdx, 2
cmp word [rdx], 0
jne 0x34b374cc0
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 0x34b374d68
mov rax, qword [r13 + 0x10]
mov rdx, qword [rbx + 0x18]
mov ecx, 1
mov r13, 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, r12
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, r13
add rsp, 0x450
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
xor r13d, r13d
jmp 0x34b374d51
xor eax, eax
jmp 0x34b374cb0
Function at 0x34b374e30
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 0x34b374f0c
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 0x34b374f18
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]
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.kernel32.dll_HeapFree]
Function at 0x34b376a70
Capabilities:
Get graphical window text

Disassembly:
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x920
mov r12, rcx
mov r13, r8
mov rbx, r9
cmp edx, 0x110
je 0x34b376b08
cmp edx, 0x111
jne 0x34b376b5b
mov rax, r8
shr rax, 0x10
test r8d, 0xffff0000
je 0x34b376b78
xor r14d, r14d
cmp ax, 0x300
jne 0x34b376b5e
cmp r8w, 0x9c4
jne 0x34b376b5e
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 0x34b376b5e
mov r13, qword [sym.imp.user32.dll_GetDlgItem]
mov edx, 0x9c4
call r13
xor r9d, r9d
mov r8d, 0xff
mov edx, 0xc5
mov rcx, rax
call qword [sym.imp.user32.dll_SendMessageW]
mov edx, 0x9c4
mov rcx, r12
call r13
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.user32.dll_ShowScrollBar]
mov r8, rbx
mov edx, 0x10
mov rcx, r12
call qword [sym.imp.user32.dll_SetWindowLongPtrW]
xor r14d, r14d
mov rax, r14
add rsp, 0x920
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret
cmp r8w, 1
je 0x34b376ba0
cmp r8w, 2
jne 0x34b376b5b
mov rdx, r8
mov r14d, 1
call qword [sym.imp.user32.dll_EndDialog]
jmp 0x34b376b5e
mov edx, 0x9c4
mov rbx, qword [sym.imp.user32.dll_GetDlgItem]
lea r14, [rsp + 0x20]
call rbx
mov r9, r14
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 0x34b376bf0
mov edx, 2
mov rcx, r12
mov r14d, 1
call qword [sym.imp.user32.dll_EndDialog]
jmp 0x34b376b5e
sub eax, 0x30
cmp al, 2
ja 0x34b376bfe
cmp byte [rsp + 0x21], 0x2e
je 0x34b376c5f
lea r13, [rsp + 0x520]
lea rbx, [rsp + 0x120]
mov rcx, qword [0x34b393008]
mov r14, qword [sym.imp.user32.dll_LoadStringW]
mov r9d, 0x200
mov r8, r13
mov edx, 0x40f
call r14
mov r9d, 0x200
mov r8, rbx
mov edx, 0x40e
mov rcx, qword [0x34b393008]
call r14
mov r9d, 0x10
mov r8, rbx
mov rdx, r13
mov rcx, r12
call qword [sym.imp.user32.dll_MessageBoxW]
jmp 0x34b376b5b
movsx eax, byte [rsp + 0x22]
lea rdx, [rsp + 0x22]
test al, al
je 0x34b376bfe
sub eax, 0x30
cmp eax, 9
ja 0x34b376bfe
movsx eax, byte [rdx + 1]
test al, al
je 0x34b376ca8
cmp al, 0x2e
jne 0x34b376d50
movsx eax, byte [rdx + 2]
test al, al
je 0x34b376bfe
sub eax, 0x30
add rdx, 2
cmp eax, 9
ja 0x34b376bfe
jmp 0x34b376c75
mov edx, 0x10
mov rcx, r12
mov rsi, qword [sym.imp.user32.dll_GetWindowLongPtrW]
call rsi
mov edx, 0x965
mov rcx, rax
call rbx
mov rdx, r14
mov rcx, rax
call sym.find_oid_in_list
cmp rax, 0xffffffffffffffff
je 0x34b376d24
lea r13, [rsp + 0x520]
lea rbx, [rsp + 0x120]
mov rcx, qword [0x34b393008]
mov rsi, qword [sym.imp.user32.dll_LoadStringW]
mov r9d, 0x200
mov r8, r13
mov edx, 0x410
call rsi
mov r9d, 0x200
mov r8, rbx
mov edx, 0x40e
mov rcx, qword [0x34b393008]
call rsi
mov r9d, 0x30
jmp 0x34b376c4b
mov edx, 0x10
mov rcx, r12
call rsi
mov rdx, r14
mov r14d, 1
mov rcx, rax
call sym.add_purpose
mov rdx, r13
mov rcx, r12
call qword [sym.imp.user32.dll_EndDialog]
jmp 0x34b376b5e
inc rdx
jmp 0x34b376c6d
Function at 0x34b377590
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 0x34b377690
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 0x34b377677
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 0x34b3776c0
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 0x34b377644
mov edx, 0x964
mov rcx, r12
call rsi
test eax, eax
je 0x34b377644
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 0x34b3777c0
mov rax, qword gs:[0x30]
mov qword [rsp + 0x28], rax
jmp 0x34b377748
inc r15d
cmp r13d, r15d
je 0x34b3777c0
xor r8d, r8d
mov dword [rsp + 0x44], r15d
mov r9, rdi
mov edx, 0x104b
mov rcx, rsi
call rbp
test rax, rax
je 0x34b377740
mov eax, dword [rsp + 0x4c]
shr eax, 0xc
cmp eax, 2
jne 0x34b377740
mov eax, dword [rsp + 0x30]
mov r14, qword [rsp + 0x68]
test eax, eax
je 0x34b3777f8
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 0x34b377740
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 0x34b377740
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 0x34b377644
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 0x34b3777a6
Function at 0x34b3782c0
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 0x34b378310
xor r12d, r12d
cmp edx, 0x110
jne 0x34b3782f2
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 0x34b378350
xor r12d, r12d
cmp eax, 0xffffff38
jne 0x34b3782f2
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 0x34b3782f2
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 0x34b3783c8
mov qword [rdi + 0x58], 0
xor r12d, r12d
jmp 0x34b3782f2
cmp r12d, ebx
je 0x34b3783f8
mov rdx, rdi
mov rcx, r13
mov r12d, 1
call sym.export_password_mismatch
mov r8d, 1
xor edx, edx
mov rcx, r13
call qword [sym.imp.user32.dll_SetWindowLongPtrW]
jmp 0x34b3782f2
mov r9, qword gs:[0x30]
inc r12d
mov rax, qword [r9 + 0x60]
mov rbx, qword [sym.imp.kernel32.dll_HeapAlloc]
xor edx, edx
lea r8, [r12 + r12]
mov qword [rsp + 0x28], r9
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 0x34b3784f8
test rax, rax
je 0x34b3784f8
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 0x34b3784b5
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 0x34b3782f2
mov rdx, rdi
mov rcx, r13
mov r12d, 1
call sym.export_password_mismatch
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 0x34b378498
xor r12d, r12d
jmp 0x34b3784d7
Function at 0x34b379ef0
Capabilities:
Hide graphical window

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
mov r12, rcx
mov ebx, edx
test byte [0x34b383240], 8
jne 0x34b379f20
cmp ebx, 1
je 0x34b379f52
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, [0x34b383240]
mov qword [rsp + 0x20], rcx
mov ecx, 3
call sym.wine_dbg_log.constprop.0
cmp ebx, 1
jne 0x34b379f0c
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 0x34b37b350
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 0x34b37b400
mov r8, r12
nop dword [rax + rax]
add r8, 2
cmp word [r8], 0
jne 0x34b37b3d0
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 0x34b37b3e1
Function at 0x34b37beb0
Capabilities:
Get number of processors

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov rsi, qword [sym.imp.user32.dll_GetDlgItem]
mov rdi, rcx
mov r13, rdx
mov qword [rsp + 0x40], rcx
mov edx, 0x898
mov qword [rsp + 0x48], rsi
call rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.user32.dll_EnableWindow]
mov rcx, rdi
mov edx, 0x899
call rsi
mov qword [rsp + 0x28], rax
mov rbx, rax
mov rax, qword [r13]
mov edx, dword [rax + 0x44]
mov rcx, qword [rax + 0x38]
mov r9d, dword [rax + 0x50]
mov r8d, dword [rax + 0x4c]
call sym.WTHelperGetProvSignerFromChain
mov r9, qword [r13 + 8]
xor r8d, r8d
mov rcx, rbx
mov r12, rax
mov rax, qword [sym.imp.user32.dll_SendMessageW]
mov edx, 0x1109
mov qword [rsp + 0x30], rax
call rax
mov edi, dword [r12 + 0xc]
test edi, edi
je 0x34b37c090
lea esi, [rdi - 1]
lea rax, [rsp + 0x50]
xor ebp, ebp
mov rbx, rsi
mov qword [rsp + 0x38], rax
imul rsi, rsi, 0x58
jmp 0x34b37bfec
mov dword [rsp + 0x84], 0
xor eax, eax
mov dword [rsp + 0x88], eax
mov rax, qword [r13]
mov edx, dword [rax + 0x44]
mov rcx, qword [rax + 0x38]
mov r9d, dword [rax + 0x50]
mov r8d, dword [rax + 0x4c]
call sym.WTHelperGetProvSignerFromChain
cmp dword [rax + 0xc], edi
je 0x34b37c118
lea eax, [rdi + rdi - 2]
or eax, 1
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
xor r8d, r8d
mov edi, ebx
mov qword [rsp + 0x90], rax
mov edx, 0x1132
mov rax, qword [rsp + 0x30]
sub rsi, 0x58
call rax
mov r8, r14
xor edx, edx
mov rbp, rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapFree]
test ebx, ebx
je 0x34b37c090
dec ebx
mov rax, qword [r12 + 0x10]
mov edx, 0xb
mov r15, qword [rax + rsi + 8]
mov rcx, r15
call sym.get_cert_property_as_string
mov r14, rax
test rax, rax
je 0x34b37c070
movabs rax, 0x2000000020
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], 0xffffffffffff0002
mov dword [rsp + 0x60], 0x2f
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], rax
cmp edi, 1
je 0x34b37c0e8
mov rax, qword [r12 + 0x10]
mov rax, qword [rax + rsi + 0x50]
mov eax, dword [rax + 0x10]
test eax, eax
je 0x34b37bf60
mov dword [rsp + 0x84], 1
mov eax, 1
jmp 0x34b37bf6d
xor edx, edx
mov rcx, r15
call sym.get_cert_name_string.constprop.0
mov r14, rax
test rax, rax
jne 0x34b37c00b
mov edi, ebx
sub rsi, 0x58
test ebx, ebx
jne 0x34b37bfea
mov rbx, qword [r13]
mov rcx, qword [rsp + 0x40]
mov edx, 0x89b
mov rax, qword [rsp + 0x48]
call rax
mov edx, dword [rbx + 0x44]
mov rcx, qword [rbx + 0x38]
mov r9d, dword [rbx + 0x50]
mov r8d, dword [rbx + 0x4c]
mov r12, rax
call sym.WTHelperGetProvSignerFromChain
mov edx, dword [rbx + 0x48]
mov rcx, rax
call sym.WTHelperGetProvCertFromChain
mov rcx, r12
mov rdx, rax
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.set_certificate_status
mov rax, qword [r12 + 0x38]
test rax, rax
je 0x34b37c0fc
test byte [rax + 6], 1
je 0x34b37c03e
mov dword [rsp + 0x84], 2
mov eax, 2
jmp 0x34b37bf6d
mov rax, r13
jmp 0x34b37bf9c