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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x58
call fcn.140473cc0
sub rsp, rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x90], 0
jg 0x1402a8639
call fcn.1402506f0
lea r8, str.asn1_check_tlen
mov edx, 0x482
lea rcx, str.crypto_asn1_tasn_dec.c
call fcn.140250740
xor r8d, r8d
mov edx, 0xe0
mov ecx, reloc.WS2_32.dll_listen
call fcn.1402507b0
jmp 0x1402a8922
cmp qword [rsp + 0xb0], 0
je 0x1402a86b0
mov rax, qword [rsp + 0xb0]
movsx eax, byte [rax]
test eax, eax
je 0x1402a86b0
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 4]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1402a87a6
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x40]
call fcn.140272bc0
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0xb0], 0
je 0x1402a87a6
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0xb0]
mov byte [rax], 1
mov eax, dword [rsp + 0x30]
and eax, 0x81
test eax, eax
jne 0x1402a87a6
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x14]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x90]
jle 0x1402a87a6
call fcn.1402506f0
lea r8, str.asn1_check_tlen
mov edx, 0x499
lea rcx, str.crypto_asn1_tasn_dec.c
call fcn.140250740
xor r8d, r8d
mov edx, 0x9b
mov ecx, reloc.WS2_32.dll_listen
call fcn.1402507b0
jmp 0x1402a8922
mov eax, dword [rsp + 0x30]
and eax, 0x80
test eax, eax
je 0x1402a87e7
call fcn.1402506f0
lea r8, str.asn1_check_tlen
mov edx, 0x4a0
lea rcx, str.crypto_asn1_tasn_dec.c
call fcn.140250740
xor r8d, r8d
mov edx, 0x66
mov ecx, reloc.WS2_32.dll_listen
call fcn.1402507b0
jmp 0x1402a8922
cmp dword [rsp + 0x98], 0
jl 0x1402a8875
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x98], eax
jne 0x1402a880f
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xa0], eax
je 0x1402a8859
movsx eax, byte [rsp + 0xa8]
test eax, eax
je 0x1402a8825
mov eax, 0xffffffff
jmp 0x1402a8940
call fcn.1402506f0
lea r8, str.asn1_check_tlen
mov edx, 0x4aa
lea rcx, str.crypto_asn1_tasn_dec.c
call fcn.140250740
xor r8d, r8d
mov edx, 0xa8
mov ecx, reloc.WS2_32.dll_listen
call fcn.1402507b0
jmp 0x1402a8922
cmp qword [rsp + 0xb0], 0
je 0x1402a886f
mov rax, qword [rsp + 0xb0]
mov byte [rax], 0
xor eax, eax
test eax, eax
jne 0x1402a8859
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x1402a889f
movsxd rax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rcx, rdx
sub rax, rcx
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x78], 0
je 0x1402a88b5
mov eax, dword [rsp + 0x30]
and eax, 1
mov rcx, qword [rsp + 0x78]
mov byte [rcx], al
cmp qword [rsp + 0x80], 0
je 0x1402a88d1
mov eax, dword [rsp + 0x30]
and eax, 0x20
mov rcx, qword [rsp + 0x80]
mov byte [rcx], al
cmp qword [rsp + 0x60], 0
je 0x1402a88e4
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
cmp qword [rsp + 0x70], 0
je 0x1402a88f8
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x38]
mov byte [rax], cl
cmp qword [rsp + 0x68], 0
je 0x1402a890b
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov eax, 1
jmp 0x1402a8940
cmp qword [rsp + 0xb0], 0
je 0x1402a8938
mov rax, qword [rsp + 0xb0]
mov byte [rax], 0
xor eax, eax
test eax, eax
jne 0x1402a8922
xor eax, eax
add rsp, 0x58
ret