Function at 0x34b375220
Capabilities:
Check os version

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x390
mov eax, 0x30
mov r14, r9
mov r9d, dword [r9]
mov rbx, r8
mov dword [rsp + 0x88], ecx
mov qword [rsp + 0x90], rbx
mov rdi, rdx
mov r8, qword [rsp + 0x3f0]
lea r10, [rsp + 0x98]
mov qword [rsp + 0x98], 0
cmp r9d, 0x30
mov qword [rsp + 0xa0], 0
cmovbe rax, r9
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
cmp eax, 8
jae 0x34b3755b0
test al, 4
jne 0x34b3758a8
test eax, eax
je 0x34b3752d5
movzx edx, byte [r14]
mov byte [r10], dl
test al, 2
jne 0x34b375920
cmp r9d, 0x30
ja 0x34b3755e7
mov r13d, dword [r14 + 0x10]
movabs rax, 0x100000020
mov qword [rsp + 0xd0], 0
lea rbp, [rsp + 0x80]
mov qword [rsp + 0xc8], rax
mov rsi, qword [0x34b393008]
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0xe0], 0
mov dword [rsp + 0xe8], 0
cmp r13d, 1
je 0x34b375640
lea r12, [rsp + 0x120]
xor edx, edx
mov r8d, 0x270
mov qword [rsp + 0xf0], 0
mov dword [rsp + 0xf8], 0
mov rcx, r12
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0xffffffffffffffff
mov dword [rsp + 0x110], 0
call sym.memset
lea rax, [sym.export_welcome_dlg_proc]
mov qword [rsp + 0x128], rsi
mov qword [rsp + 0x148], rax
movabs rax, 0x80000000068
mov qword [rsp + 0x130], 0x71
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x150], rbp
cmp r13d, 4
je 0x34b375860
jbe 0x34b375600
cmp r13d, 5
lea r13, [rsp + 0x20]
jne 0x34b375948
mov dword [rsp + 0xcc], 3
mov edx, 2
mov ecx, 3
mov eax, 1
imul rax, rax, 0x68
lea r11, [sym.export_file_dlg_proc]
movabs r10, 0x300000000068
mov qword [rsp + rax + 0x120], r10
mov qword [rsp + rax + 0x148], r11
mov qword [rsp + rax + 0x128], rsi
mov qword [rsp + rax + 0x130], 0x75
mov qword [rsp + rax + 0x150], rbp
mov qword [rsp + rax + 0x168], 0x4b3
mov qword [rsp + rax + 0x170], 0x4b4
movsxd rax, edx
lea rdx, [sym.export_finish_dlg_proc]
imul rax, rax, 0x68
test rbx, rbx
mov qword [rsp + rax + 0x148], rdx
movabs rdx, 0x80000000068
mov qword [rsp + rax + 0x120], rdx
mov qword [rsp + rax + 0x128], rsi
mov qword [rsp + rax + 0x130], 0x76
mov qword [rsp + rax + 0x150], rbp
movabs rax, 0x108800800000060
mov qword [rsp + 0x20], rax
mov eax, 0x4b0
cmove rbx, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ecx
mov rcx, r13
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], 0xcd
mov qword [rsp + 0x78], 0xce
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 rdi, qword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
jne 0x34b375880
mov rsi, qword gs:[0x30]
mov rax, qword [rsi + 0x60]
xor edx, edx
mov r8, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x30]
call rdi
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 rdi
test rbx, rbx
jne 0x34b375630
mov dword [rsi + 0x68], 0x4c7
xor eax, eax
add rsp, 0x390
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov edx, eax
dec eax
mov rcx, qword [r14 + rdx - 8]
mov qword [r10 + rdx - 8], rcx
cmp eax, 8
jb 0x34b3752d5
and eax, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r11, qword [r14 + rcx]
mov qword [r10 + rcx], r11
cmp edx, eax
jb 0x34b3755cc
cmp r9d, 0x30
jbe 0x34b3752df
mov dword [rsp + 0x98], 0x30
jmp 0x34b3752df
sub r13d, 2
cmp r13d, 1
lea r13, [rsp + 0x20]
ja 0x34b375948
mov dword [rsp + 0xcc], 1
mov rsi, qword [0x34b393008]
jmp 0x34b3753f5
mov eax, dword [rsp + 0x110]
jmp 0x34b375594
test r8, r8
je 0x34b375678
cmp dword [r8], 0x20
mov eax, 0x20
cmovbe eax, dword [r8]
lea r9, [rsp + 0xc8]
cmp eax, 8
jae 0x34b3758c0
test al, 4
jne 0x34b375931
test eax, eax
jne 0x34b3758f8
nop dword [rax + rax]
lea r12, [rsp + 0x120]
xor edx, edx
mov r8d, 0x270
mov qword [rsp + 0xf0], 0
mov rcx, r12
mov dword [rsp + 0xf8], 0
lea r13, [rsp + 0x20]
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0xffffffffffffffff
mov dword [rsp + 0x110], 0
call sym.memset
mov edx, 2
mov r9, r13
xor r8d, r8d
lea rax, [sym.export_welcome_dlg_proc]
mov qword [rsp + 0x128], rsi
mov rcx, qword [r14 + 0x18]
mov qword [rsp + 0x148], rax
movabs rax, 0x80000000068
mov qword [rsp + 0x130], 0x71
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x150], rbp
call qword [sym.imp.crypt32.dll_CertGetCertificateContextProperty]
mov edx, dword [r14 + 0x10]
cmp edx, 5
je 0x34b3759b8
jbe 0x34b375848
test eax, eax
je 0x34b375948
mov rsi, qword [0x34b393008]
lea rax, [sym.export_private_key_dlg_proc]
lea rdx, [sym.export_format_dlg_proc]
mov qword [rsp + 0x198], 0x72
mov qword [rsp + 0x1b0], rax
movabs rax, 0x300000000068
mov ecx, 6
mov qword [rsp + 0x218], rdx
lea rdx, [sym.export_password_dlg_proc]
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x280], rdx
mov edx, 5
mov qword [rsp + 0x258], rax
mov eax, 4
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1d0], 0x4c4
mov qword [rsp + 0x1d8], 0x4c5
mov qword [rsp + 0x1b8], rbp
mov qword [rsp + 0x1f8], rsi
mov qword [rsp + 0x200], 0x74
mov qword [rsp + 0x238], 0x4b1
mov qword [rsp + 0x240], 0x4b2
mov qword [rsp + 0x220], rbp
mov qword [rsp + 0x260], rsi
mov qword [rsp + 0x268], 0x73
mov qword [rsp + 0x2a0], 0x4c6
mov qword [rsp + 0x2a8], 0x4c7
mov qword [rsp + 0x288], rbp
jmp 0x34b375404
cmp edx, 4
je 0x34b375865
cmp edx, 1
jbe 0x34b375734
jmp 0x34b375613
lea r13, [rsp + 0x20]
mov dword [rsp + 0xcc], 5
mov rsi, qword [0x34b393008]
jmp 0x34b3753f5
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8, qword [rsp + 0xd8]
xor edx, edx
mov rcx, qword [rax + 0x30]
call rdi
jmp 0x34b375543
mov dword [r10], r9d
mov edx, dword [r14 + rax - 4]
mov dword [r10 + rax - 4], edx
jmp 0x34b3752d5
mov edx, eax
dec eax
mov rcx, qword [r8 + rdx - 8]
mov qword [r9 + rdx - 8], rcx
cmp eax, 8
jb 0x34b375678
and eax, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r10, qword [r8 + rcx]
mov qword [r9 + rcx], r10
cmp edx, eax
jb 0x34b3758dc
jmp 0x34b375678
movzx edx, byte [r8]
mov byte [r9], dl
test al, 2
je 0x34b375678
mov eax, eax
movzx edx, word [r8 + rax - 2]
mov word [r9 + rax - 2], dx
jmp 0x34b375678
movzx edx, word [r14 + rax - 2]
mov word [r10 + rax - 2], dx
jmp 0x34b3752d5
mov edx, dword [r8]
mov eax, eax
mov dword [r9], edx
mov edx, dword [r8 + rax - 4]
mov dword [r9 + rax - 4], edx
jmp 0x34b375678
lea rax, [sym.export_format_dlg_proc]
mov rsi, qword [0x34b393008]
mov qword [rsp + 0x198], 0x74
mov edx, 3
mov qword [rsp + 0x1b0], rax
mov ecx, 4
movabs rax, 0x300000000068
mov qword [rsp + 0x188], rax
mov eax, 2
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x1d0], 0x4b1
mov qword [rsp + 0x1d8], 0x4b2
mov qword [rsp + 0x1b8], rbp
jmp 0x34b375404
mov rsi, qword [0x34b393008]
jmp 0x34b3753ea