Function at 0x140060ce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x378
mov rdi, qword [0x14041fc80]
mov rax, qword [rsp + 0x3e0]
mov r15, qword [rsp + 0x3e8]
mov r14, qword [rsp + 0x3f0]
mov qword [rsp + 0x30], rax
mov rbp, rcx
lea rcx, [rsp + 0x80]
lea r12, [rsp + 0x100]
mov rax, qword [rdi]
mov qword [rsp + 0x368], rax
xor eax, eax
lea rdi, [rsp + 0x50]
mov dword [rsp + 0x38], edx
lea rax, [rsp + 0x6f]
mov rdx, r8
mov r8, rdi
mov qword [rsp + 0x28], rcx
lea r13, [rsp + 0x110]
mov dword [rsp + 0x3c], r9d
mov byte [rsp + 0x6f], 0x2f
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x58], rax
call fcn.1401b34f0
mov rbx, qword [rsp + 0x80]
mov rcx, r12
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
mov qword [rsp + 0x100], r13
add r8, rdx
call fcn.14004daa0
mov rax, qword [rsp + 0x108]
test rax, rax
je 0x140060fe0
mov rsi, qword [rsp + 0x88]
mov rdx, rsi
sub rdx, rbx
cmp rdx, 0x10
je 0x140060ee0
lea rdi, [rsp + 0x160]
mov rdx, r12
mov rcx, rdi
call fcn.140048930
lea rcx, [rsp + 0x240]
mov rdx, r12
call fcn.140047780
cmp qword [rsp + 0x198], 0
je 0x140061330
mov rax, qword [rsi - 8]
pxor xmm0, xmm0
mov rcx, qword [rsi - 0x10]
lea rdx, [rsi - 0x10]
mov qword [rsp + 0xb0], 0
movups xmmword [rsp + 0xa0], xmm0
cmp rax, 1
je 0x140061308
cmp rax, 2
je 0x140061220
mov dword [rsp + 0x3c], 0
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
mov r9, r14
mov r8, r15
mov rdx, rax
mov qword [rsp + 0x40], rax
call fcn.140060840
test al, al
jne 0x140061000
mov qword [rbp], 0
mov rcx, qword [rsp + 0x40]
call fcn.140242430
lea rcx, [rsp + 0x198]
call fcn.14023eaa0
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x100]
sub rsi, rbx
cmp rcx, r13
je 0x140060ea2
mov rax, qword [rsp + 0x110]
lea rdx, [rax + 1]
call fcn.1402aa7f0
mov rdx, rsi
mov rcx, rbx
call fcn.1402aa7f0
mov rdi, qword [0x14041fc80]
mov rax, qword [rsp + 0x368]
sub rax, qword [rdi]
jne 0x1400616f3
mov rax, rbp
add rsp, 0x378
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x100]
mov rcx, rdi
mov qword [rsp + 0x58], rax
call fcn.1400b76f0
test al, al
je 0x140061250
mov rax, qword [rsp + 0x108]
lea rcx, [rsp + 0xa0]
mov rdx, rdi
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x58], rax
call fcn.14019f9d0
mov rax, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xa0]
mov qword [rsp + 0x48], rax
cmp r15, rax
je 0x140060f6f
movzx eax, byte [r15]
lea edx, [rax - 2]
cmp dl, 1
jbe 0x14006160f
lea edx, [rax - 6]
cmp dl, 1
jbe 0x140061448
cmp al, 4
je 0x140061448
mov ecx, 0xff
mov byte [rsp + 0x1a0], 0xff
lea rsi, [rsp + 0x1a0]
call fcn.1401bcf30
mov qword [rsp + 0x30], rsi
test eax, eax
jne 0x1400614b0
mov rcx, qword [rsp + 0x30]
call fcn.1400c2b50
test al, al
je 0x1400615b0
cmp dword [rsp + 0x3c], 1
jbe 0x140061548
movzx ecx, byte [rsp + 0x1a0]
call fcn.1401bcf30
cmp eax, 0x21
je 0x140061548
lea rdx, str.Uncompressed_keys_are_not_allowed
mov rcx, r14
call fcn.14005cae0
jmp 0x1400614bf
lea rdx, str.No_key_provided
mov rcx, r14
call fcn.14005cae0
mov qword [rbp], 0
jmp 0x140060e79
cmp qword [rsp + 0x198], 0
je 0x140061149
lea rcx, [rsp + 0x2c0]
mov rdx, rdi
call fcn.1400455d0
movdqu xmm4, xmmword [rsp + 0x2c0]
movdqu xmm5, xmmword [rsp + 0x2d0]
lea rsi, [rsp + 0xe0]
lea rdx, [rsp + 0x270]
movdqu xmm1, xmmword [rsp + 0x300]
movzx eax, byte [rsp + 0x330]
mov rcx, rsi
movdqu xmm2, xmmword [rsp + 0x310]
movups xmmword [rsp + 0x240], xmm4
movdqu xmm3, xmmword [rsp + 0x320]
movdqu xmm4, xmmword [rsp + 0x2e0]
movups xmmword [rsp + 0x250], xmm5
movdqu xmm5, xmmword [rsp + 0x2f0]
mov byte [rsp + 0x2b0], al
movups xmmword [rsp + 0x260], xmm4
movups xmmword [rsp + 0x270], xmm5
movups xmmword [rsp + 0x280], xmm1
movups xmmword [rsp + 0x290], xmm2
movups xmmword [rsp + 0x2a0], xmm3
call fcn.1401cb820
mov rax, qword [rsp + 0x30]
mov r14, qword [rax + 0xa8]
lea rdx, [rax + 0xa0]
mov rdi, rdx
test r14, r14
je 0x140061380
mov qword [rsp + 0x48], rbx
mov rbx, r14
mov r14, rdx
jmp 0x1400610fb
mov rdi, rbx
mov rbx, rdx
test rbx, rbx
je 0x140061121
lea rcx, [rbx + 0x20]
mov rdx, rsi
mov r8d, 0x14
call sub.msvcrt.dll_memcmp
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
test eax, eax
jns 0x1400610f0
mov rbx, rcx
test rbx, rbx
jne 0x1400610fb
mov rbx, qword [rsp + 0x48]
cmp rdi, r14
je 0x140061380
lea rdx, [rdi + 0x20]
mov r8d, 0x14
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
js 0x140061380
mov ecx, 0xa0
call fcn.1402aa8b0
mov edi, dword [rsp + 0x38]
pxor xmm1, xmm1
movzx edx, byte [r15]
mov qword [rbp], rax
mov rcx, qword [rsp + 0xb0]
mov r8d, dword [rsp + 0x2b0]
mov qword [rsp + 0xb0], 0
movdqu xmm2, xmmword [rsp + 0x240]
mov dword [rax + 8], edi
lea rdi, [0x1402bdb48]
movdqu xmm3, xmmword [rsp + 0x250]
mov qword [rax], rdi
movdqu xmm0, xmmword [rsp + 0xa0]
mov edi, dword [rsp + 0x3c]
movups xmmword [rsp + 0xa0], xmm1
movdqu xmm4, xmmword [rsp + 0x260]
movups xmmword [rax + 0xc], xmm2
movdqu xmm5, xmmword [rsp + 0x270]
movdqu xmm1, xmmword [rsp + 0x280]
movups xmmword [rax + 0x1c], xmm3
movdqu xmm2, xmmword [rsp + 0x290]
movdqu xmm3, xmmword [rsp + 0x2a0]
mov dword [rax + 0x7c], r8d
mov qword [rax + 0x90], rcx
mov dword [rax + 0x98], edi
mov byte [rax + 0x9c], dl
movups xmmword [rax + 0x2c], xmm4
movups xmmword [rax + 0x3c], xmm5
movups xmmword [rax + 0x4c], xmm1
movups xmmword [rax + 0x5c], xmm2
movups xmmword [rax + 0x6c], xmm3
movups xmmword [rax + 0x80], xmm0
jmp 0x140060e62
cmp word [rcx], 0x272a
sete al
jne 0x1400614e0
mov byte [r15], al
mov qword [rsp + 0x88], rdx
mov dword [rsp + 0x3c], 2
jmp 0x140060e32
lea rax, [rsp + 0x70]
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x40], rax
call fcn.140048a70
cmp qword [rsp + 0x78], 0
je 0x140061600
cmp dword [rsp + 0x3c], 1
jbe 0x140061283
cmp byte [rsp + 0x70], 0
je 0x140061528
lea rdi, [rsp + 0x1f0]
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140044f50
lea rsi, [rsp + 0xc0]
mov rdx, rdi
mov rcx, rsi
call fcn.1401cb820
mov rax, qword [rsp + 0x30]
mov r14, qword [rax + 0xa8]
lea r15, [rax + 0xa0]
mov rdi, r15
test r14, r14
jne 0x1400612df
jmp 0x140061500
mov rdi, r14
mov r14, rdx
test r14, r14
je 0x1400613a8
lea rcx, [r14 + 0x20]
mov rdx, rsi
mov r8d, 0x14
call sub.msvcrt.dll_memcmp
mov rdx, qword [r14 + 0x10]
mov rcx, qword [r14 + 0x18]
test eax, eax
jns 0x1400612d0
mov r14, rcx
jmp 0x1400612d6
cmp byte [rcx], 0x2a
jne 0x140060e2a
mov qword [rsp + 0x88], rdx
mov dword [rsp + 0x3c], 1
jmp 0x140060e32
movzx ecx, byte [rsp + 0x270]
call fcn.1401bcf30
test eax, eax
jne 0x140060df2
lea rsi, [rsp + 0x140]
mov r8, r12
lea rdx, str.key__s_is_not_valid
mov rcx, rsi
call fcn.1401adf80
mov rdx, rsi
mov rcx, r14
call fcn.14004cc90
mov rcx, rsi
call fcn.140271720
mov qword [rbp], 0
jmp 0x140060e6c
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x190]
mov r8, rsi
mov rdx, rdi
add rcx, 0x98
call fcn.14028e7d0
jmp 0x140061149
cmp r15, rdi
je 0x140061500
lea rdx, [rdi + 0x20]
mov r8d, 0x14
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
js 0x140061500
cmp dword [rsp + 0x3c], 4
mov ecx, 0x50
sete sil
call fcn.1402aa8b0
mov edi, dword [rsp + 0x38]
mov byte [rax + 0x4d], sil
movzx edx, byte [rsp + 0x230]
mov qword [rbp], rax
movdqu xmm4, xmmword [rsp + 0x1f0]
mov dword [rax + 8], edi
lea rdi, [0x1402bdaf0]
movdqu xmm5, xmmword [rsp + 0x200]
mov qword [rax], rdi
movdqu xmm1, xmmword [rsp + 0x210]
mov byte [rax + 0x4c], dl
movdqu xmm2, xmmword [rsp + 0x220]
movups xmmword [rax + 0xc], xmm4
movups xmmword [rax + 0x1c], xmm5
movups xmmword [rax + 0x2c], xmm1
movups xmmword [rax + 0x3c], xmm2
lea rcx, [rsp + 0x78]
call fcn.14023eaa0
jmp 0x140060e79
mov edx, 0x41
mov r8d, 0x41
mov rax, qword [rsp + 0x48]
sub rax, r15
cmp rdx, rax
jne 0x140060f6f
mov ecx, r8d
lea rdi, [rsp + 0x1a0]
xor eax, eax
mov rsi, r15
shr ecx, 3
and r8d, 1
mov qword [rsp + 0x30], rdi
rep movsq qword [rdi], qword [rsi]
je 0x14006148c
movzx edx, byte [rsi + rax]
mov byte [rdi + rax], dl
movzx ecx, byte [rsp + 0x1a0]
mov esi, ecx
call fcn.1401bcf30
test eax, eax
je 0x140060f96
lea eax, [rsi - 2]
cmp al, 2
jbe 0x140060f96
nop
lea rdx, str.Hybrid_public_keys_are_not_allowed
mov rcx, r14
call fcn.14005cae0
mov qword [rbp], 0
mov rcx, qword [rsp + 0x40]
call fcn.140242370
jmp 0x140060e79
cmp word [rcx], 0x682a
mov dword [rsp + 0x3c], 0
jne 0x140060e32
jmp 0x14006122e
mov rcx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
mov r8, rsi
mov rdx, rdi
add rcx, 0x98
call fcn.14028e7d0
jmp 0x1400613cb
lea rdx, str.Uncompressed_keys_are_not_allowed
mov rcx, r14
call fcn.14005cae0
mov qword [rbp], 0
jmp 0x140061436
mov ecx, 0x50
call fcn.1402aa8b0
mov esi, dword [rsp + 0x38]
mov byte [rax + 0x4d], 0
movdqu xmm3, xmmword [rsp + 0x1a0]
movzx edx, byte [rsp + 0x1e0]
movdqu xmm4, xmmword [rsp + 0x1b0]
mov dword [rax + 8], esi
lea rsi, [0x1402bdaf0]
movdqu xmm5, xmmword [rsp + 0x1c0]
movups xmmword [rax + 0xc], xmm3
movdqu xmm3, xmmword [rsp + 0x1d0]
mov qword [rax], rsi
mov byte [rax + 0x4c], dl
movups xmmword [rax + 0x1c], xmm4
movups xmmword [rax + 0x2c], xmm5
movups xmmword [rax + 0x3c], xmm3
mov qword [rbp], rax
jmp 0x1400614c7
mov rax, qword [rsp + 0x48]
sub rax, r15
cmp rax, 0x20
jne 0x1400615c5
cmp dword [rsp + 0x3c], 4
je 0x14006161f
lea rsi, [rsp + 0x120]
mov r8, r12
lea rdx, str.Pubkey__s_is_invalid
mov rcx, rsi
call fcn.1401adf80
mov rcx, r14
mov rdx, rsi
call fcn.14004cc90
mov rcx, rsi
call fcn.140271720
jmp 0x1400614bf
lea rcx, [rsp + 0x78]
call fcn.14023eaa0
jmp 0x140060dc0
mov edx, 0x21
mov r8d, 0x21
jmp 0x140061453
movdqu xmm4, xmmword [r15]
movdqu xmm5, xmmword [r15 + 0x10]
mov ecx, 2
mov qword [rsp + 0x340], 2
lea rsi, [rsp + 0x340]
movups xmmword [rsp + 0x341], xmm4
movups xmmword [rsp + 0x351], xmm5
call fcn.1401bcf30
cmp eax, 0x21
je 0x1400616e2
mov byte [rsp + 0x1a0], 0xff
mov rcx, qword [rsp + 0x30]
call fcn.1400c2b50
test al, al
je 0x1400615c5
mov ecx, 0x50
call fcn.1402aa8b0
mov esi, dword [rsp + 0x38]
movzx edx, byte [rsp + 0x1e0]
mov byte [rax + 0x4d], 1
movdqu xmm4, xmmword [rsp + 0x1a0]
movdqu xmm5, xmmword [rsp + 0x1b0]
mov dword [rax + 8], esi
lea rsi, [0x1402bdaf0]
movups xmmword [rax + 0xc], xmm4
movdqu xmm4, xmmword [rsp + 0x1c0]
movups xmmword [rax + 0x1c], xmm5
movdqu xmm5, xmmword [rsp + 0x1d0]
mov qword [rax], rsi
mov byte [rax + 0x4c], dl
movups xmmword [rax + 0x2c], xmm4
movups xmmword [rax + 0x3c], xmm5
mov qword [rbp], rax
jmp 0x1400614c7
mov rdi, qword [rsp + 0x30]
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
jmp 0x140061669
call fcn.14018c640
endbr64
lea rcx, [rsp + 0x78]
mov rbx, rax
call fcn.14023eaa0
mov rcx, r12
call fcn.140271720
mov rcx, qword [rsp + 0x28]
call fcn.140241db0
mov rcx, rbx
call fcn.14018db80
endbr64
mov rcx, qword [rsp + 0x40]
mov rbx, rax
call fcn.140242370
jmp 0x140061709