Function at 0x6c644af0
Capabilities:
Check os version

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x3a8
movups xmmword [rsp + 0x390], xmm6
mov eax, 0x30
mov rsi, r9
mov rbx, r8
mov qword [rsp + 0x90], r8
mov r9, qword [rsp + 0x400]
mov r8d, dword [rsi]
mov dword [rsp + 0x88], ecx
movq xmm6, rdx
lea r10, [rsp + 0x98]
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
cmp r8d, 0x30
mov qword [rsp + 0xa8], 0
cmovbe rax, r8
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
cmp eax, 8
jae 0x6c644e90
test al, 4
jne 0x6c645160
test eax, eax
je 0x6c644bac
movzx edx, byte [rsi]
mov byte [r10], dl
test al, 2
jne 0x6c6451d8
cmp r8d, 0x30
ja 0x6c644ec8
mov r10, qword [0x6c663008]
mov r8d, dword [rsi + 0x10]
movabs rax, 0x100000020
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xc8], rax
lea rbp, [rsp + 0x80]
mov qword [rsp + 0xd8], 0
mov rdx, r10
mov dword [rsp + 0xe0], 0
mov dword [rsp + 0xe8], 0
cmp r8d, 1
je 0x6c644f20
lea r12, [rsp + 0x120]
xor eax, eax
mov ecx, 0x4e
movdqu xmm0, xmmword [0x6c655f70]
mov rdi, r12
lea r13, [rsp + 0x20]
mov qword [rsp + 0xf0], 0
rep stosq qword [rdi], rax
lea rax, [sym.export_welcome_dlg_proc]
mov dword [rsp + 0xf8], 0
mov qword [rsp + 0x148], rax
movabs rax, 0x80000000068
mov dword [rsp + 0x110], 0
mov qword [rsp + 0x128], r10
mov qword [rsp + 0x130], 0x71
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x150], rbp
movups xmmword [rsp + 0x100], xmm0
cmp r8d, 4
je 0x6c64510c
jbe 0x6c644ee0
lea r13, [rsp + 0x20]
cmp r8d, 5
jne 0x6c645206
mov dword [rsp + 0xcc], 3
mov ecx, 2
mov r8d, 3
mov eax, 1
lea r9, [rax + rax*2]
movdqu xmm0, xmmword [0x6c655f60]
movq xmm1, rdx
lea rdi, [sym.export_file_dlg_proc]
lea rax, [rax + r9*4]
punpcklqdq xmm6, xmm1
shl rax, 3
mov qword [rsp + rax + 0x148], rdi
movabs rdi, 0x300000000068
mov qword [rsp + rax + 0x120], rdi
lea rdi, [sym.export_finish_dlg_proc]
movups xmmword [rsp + rax + 0x168], xmm0
mov qword [rsp + rax + 0x128], rdx
mov qword [rsp + rax + 0x150], rbp
mov qword [rsp + rax + 0x130], 0x75
movsxd rax, ecx
lea rcx, [rax + rax*2]
lea rax, [rax + rcx*4]
mov rcx, r13
shl rax, 3
test rbx, rbx
mov qword [rsp + rax + 0x148], rdi
movabs rdi, 0x80000000068
mov qword [rsp + rax + 0x120], rdi
mov qword [rsp + rax + 0x128], rdx
mov qword [rsp + rax + 0x150], rbp
mov qword [rsp + rax + 0x130], 0x76
movabs rax, 0x108800800000060
mov qword [rsp + 0x20], rax
mov eax, 0x4b0
cmove rbx, rax
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], 0xcd
mov qword [rsp + 0x78], 0xce
movups xmmword [rsp + 0x28], xmm6
call qword [sym.imp.comctl32.dll_PropertySheetW]
mov rcx, qword [rsp + 0x80]
mov rbx, rax
call qword [sym.imp.gdi32.dll_DeleteObject]
mov eax, dword [rsp + 0xe8]
mov rbp, qword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
jne 0x6c645138
mov rsi, qword gs:[0x30]
mov rax, qword [rsi + 0x60]
xor edx, edx
mov r8, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x30]
call rbp
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rax, qword [rsi + 0x60]
xor edx, edx
mov r8, qword [rsp + 0x100]
mov rcx, qword [rax + 0x30]
call rbp
test rbx, rbx
jne 0x6c644f10
mov dword [rsi + 0x68], 0x4c7
xor eax, eax
movups xmm6, xmmword [rsp + 0x390]
add rsp, 0x3a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov edx, eax
sub eax, 1
mov rcx, qword [rsi + rdx - 8]
mov qword [r10 + rdx - 8], rcx
cmp eax, 8
jb 0x6c644bac
and eax, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r11, qword [rsi + rcx]
mov qword [r10 + rcx], r11
cmp edx, eax
jb 0x6c644ead
cmp r8d, 0x30
jbe 0x6c644bb6
mov dword [rsp + 0x98], 0x30
jmp 0x6c644bb6
sub r8d, 2
lea r13, [rsp + 0x20]
cmp r8d, 1
ja 0x6c645206
mov dword [rsp + 0xcc], 1
mov rdx, r10
jmp 0x6c644cc9
mov eax, dword [rsp + 0x110]
jmp 0x6c644e76
test r9, r9
je 0x6c644f58
cmp dword [r9], 0x20
mov eax, 0x20
cmovbe eax, dword [r9]
lea r8, [rsp + 0xc8]
cmp eax, 8
jae 0x6c645178
test al, 4
jne 0x6c6451e8
test eax, eax
jne 0x6c6451b0
nop dword [rax + rax]
xor eax, eax
mov ecx, 0x4e
lea r13, [rsp + 0x20]
xor r8d, r8d
lea r12, [rsp + 0x120]
mov r9, r13
movdqu xmm0, xmmword [0x6c655f70]
mov edx, 2
mov qword [rsp + 0xf0], 0
mov rdi, r12
rep stosq qword [rdi], rax
lea rax, [sym.export_welcome_dlg_proc]
mov dword [rsp + 0xf8], 0
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0x148], rax
movabs rax, 0x80000000068
mov dword [rsp + 0x110], 0
mov qword [rsp + 0x128], r10
mov qword [rsp + 0x130], 0x71
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x150], rbp
movups xmmword [rsp + 0x100], xmm0
call qword [sym.imp.crypt32.dll_CertGetCertificateContextProperty]
mov edx, dword [rsi + 0x10]
cmp edx, 5
je 0x6c64526b
jbe 0x6c645100
test eax, eax
je 0x6c6451ff
movdqu xmm0, xmmword [0x6c655f30]
mov rdx, qword [0x6c663008]
lea rax, [sym.export_private_key_dlg_proc]
lea rsi, [sym.export_format_dlg_proc]
mov qword [rsp + 0x1b0], rax
mov ecx, 5
movabs rax, 0x300000000068
mov r8d, 6
movups xmmword [rsp + 0x1d0], xmm0
movdqu xmm0, xmmword [0x6c655f40]
mov qword [rsp + 0x218], rsi
lea rsi, [sym.export_password_dlg_proc]
movups xmmword [rsp + 0x238], xmm0
movdqu xmm0, xmmword [0x6c655f50]
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x258], rax
mov eax, 4
mov qword [rsp + 0x190], rdx
mov qword [rsp + 0x198], 0x72
mov qword [rsp + 0x1b8], rbp
mov qword [rsp + 0x1f8], rdx
mov qword [rsp + 0x200], 0x74
mov qword [rsp + 0x220], rbp
mov qword [rsp + 0x260], rdx
mov qword [rsp + 0x268], 0x73
mov qword [rsp + 0x280], rsi
mov qword [rsp + 0x288], rbp
movups xmmword [rsp + 0x2a0], xmm0
jmp 0x6c644cd9
mov r10, qword [0x6c663008]
cmp edx, 4
jne 0x6c645120
mov dword [rsp + 0xcc], 5
mov rdx, r10
jmp 0x6c644cc9
cmp edx, 1
jbe 0x6c645008
mov r10, qword [0x6c663008]
jmp 0x6c644ef3
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8, qword [rsp + 0xd8]
xor edx, edx
mov rcx, qword [rax + 0x30]
call rbp
jmp 0x6c644e25
mov dword [r10], r8d
mov edx, dword [rsi + rax - 4]
mov dword [r10 + rax - 4], edx
jmp 0x6c644bac
mov edx, eax
sub eax, 1
mov rcx, qword [r9 + rdx - 8]
mov qword [r8 + rdx - 8], rcx
cmp eax, 8
jb 0x6c644f58
and eax, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r11, qword [r9 + rcx]
mov qword [r8 + rcx], r11
cmp edx, eax
jb 0x6c645195
jmp 0x6c644f58
movzx edx, byte [r9]
mov byte [r8], dl
test al, 2
je 0x6c644f58
mov eax, eax
movzx edx, word [r9 + rax - 2]
mov word [r8 + rax - 2], dx
jmp 0x6c644f58
movzx edx, word [rsi + rax - 2]
mov word [r10 + rax - 2], dx
jmp 0x6c644bac
mov edx, dword [r9]
mov eax, eax
mov dword [r8], edx
mov edx, dword [r9 + rax - 4]
mov dword [r8 + rax - 4], edx
jmp 0x6c644f58
mov r10, qword [0x6c663008]
lea rax, [sym.export_format_dlg_proc]
mov rdx, r10
movdqu xmm0, xmmword [0x6c655f40]
mov qword [rsp + 0x190], r10
mov qword [rsp + 0x1b0], rax
mov ecx, 3
mov r8d, 4
movabs rax, 0x300000000068
mov qword [rsp + 0x188], rax
mov eax, 2
mov qword [rsp + 0x198], 0x74
mov qword [rsp + 0x1b8], rbp
movups xmmword [rsp + 0x1d0], xmm0
jmp 0x6c644cd9
mov rdx, qword [0x6c663008]
jmp 0x6c644cbe