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

Disassembly:
mov eax, 0x70
call fcn.10228380
mov eax, dword [0x1033b254]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push esi
push edi
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov ebx, 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov edi, dword [esp + 0x8c]
test esi, esi
je 0x1010f244
mov eax, dword [esi]
test eax, eax
je 0x1010f244
cmp dword [eax + 0x44], 0
jne 0x1010ed7e
mov eax, dword [eax + 0x30]
test eax, eax
jne 0x1010ed6a
call sym.libcrypto_3.dll_ERR_new
push 0x102bbdf0
push 0x51c
push str.cryptoevpevp_enc.c
call sym.libcrypto_3.dll_ERR_set_debug
push 0
push 0x84
jmp 0x1010f264
push edi
push ecx
push dword [esp + 0x8c]
push esi
call eax
add esp, 0x10
jmp 0x1010f21d
mov eax, dword [esp + 0x84]
cmp eax, 0x27
ja case.0x1010ed95.7
movzx eax, byte [eax + 0x1010f2d8]
jmp dword [eax*4 + 0x1010f284]
test ecx, ecx
js 0x1010f26e
cmp dword [esi + 0x58], ecx
je case.0x1010ed95.0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push str.keylen
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_size_t
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x28], xmm0
mov eax, dword [eax + 0x10]
mov dword [esi + 0x58], 0xffffffff
jmp 0x1010f1f7
push ecx
push edi
xor ebx, ebx
push str.randkey
jmp 0x1010f1df
test ecx, ecx
js 0x1010f26e
cmp dword [esi + 0x5c], ecx
je case.0x1010ed95.0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push str.ivlen
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_size_t
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x28], xmm0
mov eax, dword [eax + 0x10]
mov dword [esi + 0x5c], 0xffffffff
jmp 0x1010f1f7
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1022836f
add esp, 0x70
ret
lea eax, [ecx - 2]
cmp eax, 6
ja 0x1010f26e
mov eax, 0xf
sub eax, ecx
mov dword [esp + 0xc], eax
jmp 0x1010edf2
push ecx
push edi
push str.tlsivfixed
jmp 0x1010f1df
xor eax, eax
xor ebx, ebx
test ecx, ecx
cmovs ecx, eax
push ecx
push edi
mov dword [esp + 0x14], ecx
push str.tlsivgen
jmp 0x1010f1df
test ecx, ecx
js 0x1010f26e
push ecx
push edi
push str.tlsivinv
jmp 0x1010f1df
xor ebx, ebx
test ecx, ecx
js 0x1010f26e
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ecx
push eax
lea eax, [esp + 0x14]
push str.rounds
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_uint
add esp, 0xc
jmp 0x1010f1ec
test ecx, ecx
js 0x1010f26e
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ecx
push eax
lea eax, [esp + 0x14]
push str.speed
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_uint
add esp, 0xc
jmp 0x1010f1ec
xor ebx, ebx
push ecx
push edi
push 0x102bbe40
jmp 0x1010f1df
push ecx
push edi
lea eax, [esp + 0x18]
push str.tlsaad
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_octet_string
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x38], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x90]
push dword [esi]
call fcn.10117650
add esp, 0x1c
test eax, eax
jle 0x1010f21d
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push str.tlsaadpad
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_size_t
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push eax
push dword [esi + 0x90]
push dword [esi]
call fcn.101175f0
add esp, 0x18
test eax, eax
jle 0x1010f21d
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1022836f
add esp, 0x70
ret
xor ebx, ebx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push str.keybits
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_size_t
add esp, 0xc
jmp 0x1010f1ec
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push str.tls1multi_maxsndfrag
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_size_t
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push eax
push dword [esi + 0x90]
push dword [esi]
call fcn.10117650
add esp, 0x18
test eax, eax
jle 0x1010f26e
lea eax, [esp + 0xc]
push eax
push str.tls1multi_maxbufsz
jmp 0x1010f15a
cmp ecx, 0x10
jl 0x1010f26e
push dword [edi + 8]
lea eax, [esp + 0x14]
push dword [edi + 4]
push str.tls1multi_aad
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_octet_string
add edi, 0xc
push edi
push str.tls1multi_interleave
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x28]
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_uint
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x58], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x44]
push eax
push dword [esi + 0x90]
push dword [esi]
call fcn.10117650
add esp, 0x28
test eax, eax
jle 0x1010f270
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push str.tls1multi_aadpacklen
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_size_t
push edi
push str.tls1multi_interleave
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x3c], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x24]
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_uint
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x54], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x28]
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_end
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x6c], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x44]
push eax
push dword [esi + 0x90]
push dword [esi]
call fcn.101175f0
add esp, 0x28
jmp 0x1010f1a1
push dword [edi + 8]
lea eax, [esp + 0x14]
push dword [edi]
push str.tls1multi_enc
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_octet_string
push dword [edi + 8]
push dword [edi + 4]
movups xmm0, xmmword [eax]
push str.tls1multi_encin
movups xmmword [esp + 0x44], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x2c]
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_octet_string
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x5c], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x6c], eax
lea eax, [edi + 0xc]
push eax
lea eax, [esp + 0x34]
push str.tls1multi_interleave
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_uint
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x7c], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x54]
push eax
push dword [esi + 0x90]
push dword [esi]
call fcn.10117650
add esp, 0x38
test eax, eax
jle 0x1010f270
lea eax, [esp + 0xc]
push eax
push str.tls1multi_enclen
lea eax, [esp + 0x18]
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_size_t
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x1c]
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_end
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x4c], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x90]
push dword [esi]
call fcn.101175f0
add esp, 0x1c
test eax, eax
jle 0x1010f26e
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1022836f
add esp, 0x70
ret
test ecx, ecx
jns 0x1010f1d8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1022836f
add esp, 0x70
ret
push ecx
push edi
push str.mackey
lea eax, [esp + 0x1c]
push eax
call sym.libcrypto_3.dll_OSSL_PARAM_construct_octet_string
add esp, 0x10
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x28], xmm0
mov eax, dword [eax + 0x10]
mov ecx, dword [esi + 0x90]
lea edx, [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esi]
push edx
push ecx
push eax
test ebx, ebx
je 0x1010f215
call fcn.10117650
jmp 0x1010f21a
call fcn.101175f0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1010f270
call sym.libcrypto_3.dll_ERR_new
push 0x102bbdf0
push 0x524
push str.cryptoevpevp_enc.c
call sym.libcrypto_3.dll_ERR_set_debug
push 0
push 0x85
jmp 0x1010f264
call sym.libcrypto_3.dll_ERR_new
push 0x102bbdf0
push 0x45d
push str.cryptoevpevp_enc.c
call sym.libcrypto_3.dll_ERR_set_debug
push 0
push 0x83
push 6
call sym.libcrypto_3.dll_ERR_set_error
add esp, 0x18
xor eax, eax
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1022836f
add esp, 0x70
ret