Function at 0x140160a10
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, 0x238
lea rax, [rsp + 0x80]
mov r12, rdx
mov ebp, r8d
mov r13, r9
mov qword [rsp + 0x20], rax
lea r9, [0x1401616e0]
mov r8d, 1
mov edx, 0x2c
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x80], 0xffffffffffffffff
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x228], 0
call fcn.1400fbd10
mov esi, eax
test eax, eax
jne 0x1401611a0
mov ebx, dword [rsp + 0x88]
lea eax, [rbx - 0x10]
cmp eax, 1
ja 0x140160bc8
test r12, r12
je 0x140161330
cmp ebp, 0x31
jg 0x1401611b0
mov qword [rsp + 0x60], 0
mov r14, qword [rsp + 0x90]
call fcn.1400b6e10
mov r15, rax
test rax, rax
je 0x140161340
test r14, r14
je 0x140160b37
mov rdx, r14
mov rcx, r12
call fcn.140167990
mov r14, rax
test rax, rax
je 0x140161395
xor edi, edi
add ebp, 1
jmp 0x140160b2b
mov edx, edi
mov rcx, r14
call fcn.1400b7640
mov rdx, r12
mov r9, r13
mov r8d, ebp
mov rcx, qword [rax + 0x10]
call fcn.140160a10
mov rdx, rax
test rax, rax
je 0x1401611c0
mov rcx, r15
call fcn.1400b72f0
test eax, eax
je 0x1401611c0
add edi, 1
mov rcx, r14
call fcn.1400b7630
cmp edi, eax
jl 0x140160af0
lea rdx, [rsp + 0x60]
mov rcx, r15
cmp ebx, 0x11
je 0x140161320
call fcn.1400d9900
mov edi, eax
test edi, edi
js 0x140161205
call fcn.1400d9780
mov r13, rax
test rax, rax
je 0x140161208
mov ecx, ebx
call fcn.1400daf10
mov qword [r13 + 8], rax
test rax, rax
je 0x140161208
mov rdx, qword [rsp + 0x60]
mov dword [r13], ebx
mov rcx, r15
mov dword [rax], edi
mov qword [rax + 8], rdx
lea rdx, [fcn.1400d9790]
mov qword [rsp + 0x60], 0
call fcn.1400b7570
test r14, r14
je 0x140160f3d
mov rdx, r14
mov rcx, r12
call fcn.140167a20
test r13, r13
jne 0x140160f3d
jmp 0x140160ee0
mov edi, dword [rsp + 0x8c]
mov r12, qword [rsp + 0x90]
call fcn.1400d9780
mov r13, rax
test rax, rax
je 0x14016136c
test r12, r12
je 0x140160c10
cmp ebx, 0x1e
ja case.0x140160c06.0
lea rcx, [0x1404ca534]
mov edx, ebx
movsxd rax, dword [rcx + rdx*4]
add rax, rcx
jmp rax
cmp ebx, 0x1e
ja case.0x140160c29.0
lea rcx, [0x1404ca5b0]
mov edx, ebx
movsxd rax, dword [rcx + rdx*4]
add rax, rcx
jmp rax
lea r12, [0x1404ca520]
cmp edi, 1
jne 0x14016129a
call fcn.1400dae90
mov qword [r13 + 8], rax
mov rcx, rax
test rax, rax
je 0x14016142f
mov r8d, 0xffffffff
mov rdx, r12
call fcn.1400dac20
test eax, eax
je 0x140161422
mov rcx, qword [r13 + 8]
mov dword [rcx + 4], ebx
call fcn.140157fd0
test eax, eax
jne case.0x140160c29.5
mov r8d, 0xb8
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2ce
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ec4
lea r12, [0x1404ca520]
cmp edi, 1
je 0x1401612ec
mov ebp, 0x1000
cmp edi, 2
jne 0x1401613d0
mov ecx, ebx
call fcn.1400d6150
lea rcx, [r13 + 8]
mov r9d, ebp
mov rdx, r12
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
call fcn.14017bfa0
test eax, eax
jg case.0x140160c29.5
mov dword [rsp + 0x20], 0x2e9
mov r8d, 0x41
mov edx, 0xb3
mov ecx, 0xd
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ec4
lea r12, [0x1404ca520]
cmp edi, 1
jne 0x140161271
xor edx, edx
mov rcx, r12
call fcn.1400706e0
mov qword [r13 + 8], rax
test rax, rax
jne case.0x140160c29.5
mov r8d, 0xb7
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2b9
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ec4
lea r12, [0x1404ca520]
call fcn.1400dae90
mov qword [r13 + 8], rax
test rax, rax
je 0x1401612f6
cmp edi, 3
je 0x140160efa
cmp edi, 1
je 0x1401613ba
cmp edi, 4
jne 0x1401613f9
cmp ebx, 3
jne 0x1401613f9
mov qword [rsp + 0x20], rax
lea r9, [0x1401615f0]
mov edx, 0x2c
mov rcx, r12
mov r8d, 1
call fcn.1400fbd10
test eax, eax
jne case.0x140160c29.5
mov r8d, 0xbc
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x309
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ec4
lea r12, [0x1404ca520]
cmp edi, 1
jne 0x140161248
mov rdx, r12
xor ecx, ecx
call fcn.1400eeea0
mov qword [r13 + 8], rax
test rax, rax
jne case.0x140160c29.5
mov r8d, 0xb4
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2ae
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ec4
lea r12, [0x1404ca520]
cmp edi, 1
jne 0x1401612c3
pxor xmm0, xmm0
lea rdx, [r13 + 8]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], r12
movaps xmmword [rsp + 0x60], xmm0
call fcn.1400ef0e0
test eax, eax
jne case.0x140160c29.5
mov r8d, 0xb0
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2a2
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ec4
lea r12, [0x1404ca520]
mov r8d, 0xc4
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x31c
lea r9, str.asn1_gen.c
call fcn.1400ba710
mov r8, r12
lea rdx, str.string
mov ecx, 2
call fcn.1400bb680
mov rcx, r13
call fcn.1400d9790
xor r13d, r13d
mov rax, r13
add rsp, 0x238
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rdi, [rsp + 0x58]
mov rcx, r12
mov rdx, rdi
call fcn.1400ef7b0
test rax, rax
je 0x14016143c
mov rdx, qword [r13 + 8]
mov qword [rdx + 8], rax
mov eax, dword [rsp + 0x58]
mov dword [rdx + 4], ebx
mov dword [rdx], eax
cmp ebx, 3
jne case.0x140160c29.5
mov rdx, qword [r13 + 8]
mov eax, dword [rdx + 0x10]
and eax, 0xfffffff0
or eax, 8
mov dword [rdx + 0x10], eax
mov dword [r13], ebx
cmp dword [rsp + 0x80], 0xffffffff
jne 0x140160f52
mov ecx, dword [rsp + 0x228]
test ecx, ecx
je 0x140160ee3
lea rdx, [rsp + 0x48]
mov rcx, r13
call fcn.1400d9770
mov rcx, r13
mov ebp, eax
call fcn.1400d9790
mov rax, qword [rsp + 0x48]
cmp dword [rsp + 0x80], 0xffffffff
mov qword [rsp + 0x50], rax
je 0x140160ff0
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x40]
call fcn.1400da320
mov edx, eax
mov r13d, eax
and edx, 0x80
jne 0x140161180
mov rax, qword [rsp + 0x50]
mov r14d, ebp
sub rax, qword [rsp + 0x48]
sub r14d, eax
test r13b, 1
je 0x1401611f8
mov dword [rsp + 0x3c], 0
mov r13d, 2
mov r8d, dword [rsp + 0x80]
xor ecx, ecx
call fcn.1400da6b0
mov ebp, eax
jmp 0x140160ff6
xor r13d, r13d
mov r14d, ebp
movsxd rdx, dword [rsp + 0x228]
mov rax, rdx
lea rdx, [rdx + rdx*4]
lea rbx, [rsp + rdx*4 + 0x84]
test eax, eax
jle 0x14016103c
xor edi, edi
nop dword [rax + rax]
mov edx, dword [rbx + 0xc]
mov r8d, dword [rbx]
xor ecx, ecx
add edi, 1
sub rbx, 0x14
add edx, ebp
mov dword [rbx + 0x24], edx
call fcn.1400da6b0
mov ebp, eax
cmp dword [rsp + 0x228], edi
jg 0x140161018
mov r8d, 0xf5
lea rdx, str.asn1_gen.c
mov ecx, ebp
call fcn.14006d260
mov r15, rax
test rax, rax
je 0x140161180
mov edx, dword [rsp + 0x228]
mov qword [rsp + 0x58], rax
lea rdi, [rsp + 0x58]
lea r12, [rsp + 0x98]
test edx, edx
jle 0x1401610cd
nop dword [rax]
mov eax, dword [r12 + 4]
mov edx, dword [r12 + 8]
mov rcx, rdi
mov dword [rsp + 0x20], eax
mov r9d, dword [r12]
mov r8d, dword [r12 + 0x10]
call fcn.1400da560
mov eax, dword [r12 + 0xc]
test eax, eax
je 0x140161148
mov rax, qword [rsp + 0x58]
add esi, 1
add r12, 0x14
lea rdx, [rax + 1]
mov qword [rsp + 0x58], rdx
mov byte [rax], 0
cmp esi, dword [rsp + 0x228]
jl 0x140161080
mov r9d, dword [rsp + 0x80]
cmp r9d, 0xffffffff
je 0x140161100
mov eax, dword [rsp + 0x84]
test eax, eax
je 0x140161168
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x3c]
lea rcx, [rsp + 0x58]
mov edx, r13d
call fcn.1400da560
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
movsxd r8, r14d
call sub.msvcrt.dll_memcpy
xor ecx, ecx
lea rdx, [rsp + 0x60]
mov r8d, ebp
mov qword [rsp + 0x60], r15
call fcn.1400d9760
mov rcx, qword [rsp + 0x48]
mov r13, rax
test rcx, rcx
je 0x140161138
call fcn.14006d560
mov rcx, r15
call fcn.14006d560
jmp 0x140160ee3
add esi, 1
add r12, 0x14
cmp dword [rsp + 0x228], esi
jg 0x140161080
jmp 0x1401610cd
lea edx, [r9 - 0x10]
cmp edx, 1
mov edx, 0x20
cmovbe r13d, edx
jmp 0x1401610ea
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140160ee0
call fcn.14006d560
xor r13d, r13d
jmp 0x140160ee3
mov dword [r13], 0xc2
xor r13d, r13d
jmp 0x140160ee3
mov dword [r13], 0xb5
xor r13d, r13d
jmp 0x140160ee3
mov rcx, qword [rsp + 0x60]
xor r13d, r13d
test rcx, rcx
je 0x140161358
call fcn.14006d560
lea rdx, [fcn.1400d9790]
mov rcx, r15
call fcn.1400b7570
test r14, r14
jne 0x140160bac
jmp 0x140160bb7
mov edx, dword [rsp + 0x3c]
and r13d, 0x20
jmp 0x140160fd3
xor r13d, r13d
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x1401611d1
jmp 0x1401611d6
cmp byte [r12], 0
je case.0x140160c29.5
mov r8d, 0xb6
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x294
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ed8
mov r8d, 0xb9
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2aa
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ed8
mov r8d, 0xbf
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2b5
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ed8
mov r8d, 0xc1
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2c1
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ed8
mov r8d, 0xbe
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x29b
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ed8
mov ebp, 0x1001
jmp 0x140160cc1
mov r8d, 0x41
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2f4
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ed8
call fcn.1400d9920
mov edi, eax
jmp 0x140160b4f
mov dword [r13], 0xc0
xor r13d, r13d
jmp 0x140160ee3
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140160ee0
call fcn.14006d560
jmp 0x140160ee0
lea rdx, [fcn.1400d9790]
mov rcx, r15
call fcn.1400b7570
jmp 0x140160bac
mov r8d, 0x41
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x289
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ee3
mov rcx, qword [rsp + 0x60]
xor r13d, r13d
test rcx, rcx
jne 0x1401611d1
lea rdx, [fcn.1400d9790]
mov rcx, r15
call fcn.1400b7570
jmp 0x140160ee0
mov r8d, 0xffffffff
mov rdx, r12
mov rcx, rax
call fcn.1400dac20
jmp 0x140160f24
mov r8d, 0xb1
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2e3
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ed8
mov r8d, 0xaf
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x30f
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ed8
mov dword [rsp + 0x20], 0x2c9
jmp 0x140160cf1
mov dword [rsp + 0x20], 0x2c5
jmp 0x140160cf1
mov r8d, 0xb2
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2fb
lea r9, str.asn1_gen.c
call fcn.1400ba710
jmp 0x140160ec4