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

Disassembly:
mov eax, 0x1c
call fcn.10046610
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push edi
mov eax, dword [esi + 0x68]
push 0x93d
push str.....openssl_1.1.0f_ssl_t1_lib.c
mov dword [eax + 0x344], 0
mov eax, dword [esi + 0x68]
mov dword [esi + 0x194], 0
push dword [eax + 0x348]
call fcn.1013fd60
mov eax, dword [esi + 0x68]
add esp, 0xc
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov dword [eax + 0x348], 0
mov eax, dword [esi + 0x68]
mov dword [esi + 0x1e4], 0
and dword [eax], 0xfffffdff
mov edi, dword [ebx + 4]
cmp edi, 2
jb 0x1021a8cc
mov ecx, dword [ebx]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
or edx, eax
lea eax, [ecx + 2]
mov dword [ebx], eax
lea eax, [edi - 2]
mov edi, ebx
mov dword [edi + 4], eax
cmp eax, edx
jne 0x1021a2fe
push edi
call fcn.1021bff0
add esp, 4
test eax, eax
jne 0x1021a314
mov eax, ebp
mov dword [eax], 0x32
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov edi, dword [esp + 0x34]
mov edx, dword [edi + 4]
cmp edx, 2
jb 0x1021a855
mov ecx, dword [edi]
add edx, 0xfffffffe
movzx eax, byte [ecx]
movzx ebx, byte [ecx + 1]
add ecx, 2
shl eax, 8
or ebx, eax
mov dword [edi], ecx
mov dword [edi + 4], edx
cmp edx, 2
jb 0x1021a855
movzx eax, byte [ecx]
add edx, 0xfffffffe
movzx edi, byte [ecx + 1]
add ecx, 2
shl eax, 8
or edi, eax
mov eax, dword [esp + 0x34]
mov dword [eax], ecx
mov dword [eax + 4], edx
cmp edx, edi
jb 0x1021a8c4
cmp edi, 0x7fffffff
jbe 0x1021a371
xor eax, eax
jmp 0x1021a37e
mov dword [esp + 0x24], ecx
mov eax, 1
mov dword [esp + 0x28], edi
test eax, eax
je 0x1021a8c4
mov eax, dword [esp + 0x34]
sub edx, edi
add dword [eax], edi
mov dword [eax + 4], edx
cmp dword [esp + 0x28], edi
jb 0x1021a8c4
mov eax, dword [esi + 0x154]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
test eax, eax
je 0x1021a3c2
push dword [esi + 0x158]
push edi
push ecx
push ebx
push 1
push esi
call eax
mov ecx, dword [esp + 0x28]
add esp, 0x18
cmp ebx, 0xff01
jne 0x1021a3ee
push ebp
lea eax, [esp + 0x28]
push eax
push esi
call fcn.10231c50
add esp, 0xc
test eax, eax
je 0x1021a306
mov dword [esp + 0x1c], 1
jmp 0x1021a310
cmp dword [esi], 0x300
je 0x1021a310
test ebx, ebx
jne 0x1021a41f
cmp dword [esi + 0x15c], ebx
je 0x1021a8b3
test edi, edi
jne 0x1021a8b3
mov dword [esp + 0x18], 1
jmp 0x1021a310
cmp ebx, 0xb
jne 0x1021a4ec
cmp dword [esp + 0x28], 0
je 0x1021a4db
mov ecx, dword [esp + 0x24]
lea eax, [edi - 1]
movzx ebx, byte [ecx]
inc dword [esp + 0x24]
dec dword [esp + 0x28]
cmp ebx, eax
jne 0x1021a4db
cmp dword [esi + 0x78], 0
mov edi, dword [esp + 0x34]
jne 0x1021a314
mov eax, dword [esi + 0xf0]
push 0x976
push str.....openssl_1.1.0f_ssl_t1_lib.c
mov dword [eax + 0xc8], 0
mov eax, dword [esi + 0xf0]
push dword [eax + 0xcc]
call fcn.1013fd60
push 0x978
push str.....openssl_1.1.0f_ssl_t1_lib.c
push ebx
call fcn.1013fd30
mov ecx, dword [esi + 0xf0]
add esp, 0x18
mov dword [ecx + 0xcc], eax
test eax, eax
je 0x1021a833
mov eax, dword [esi + 0xf0]
push ebx
mov dword [eax + 0xc8], ebx
mov eax, dword [esi + 0xf0]
push dword [eax + 0xcc]
lea eax, [esp + 0x2c]
push eax
call fcn.10217920
add esp, 0xc
test eax, eax
jne 0x1021a314
pop edi
pop esi
mov dword [ebp], 0x32
xor eax, eax
pop ebp
pop ebx
add esp, 0x1c
ret
cmp ebx, 0x23
jne 0x1021a539
mov eax, dword [esi + 0x1ac]
test eax, eax
je 0x1021a511
push dword [esi + 0x1b0]
push edi
push ecx
push esi
call eax
add esp, 0x10
test eax, eax
je 0x1021a833
push esi
call fcn.1021d730
add esp, 4
test eax, eax
je 0x1021a844
test edi, edi
jne 0x1021a844
mov dword [esi + 0x194], 1
jmp 0x1021a310
cmp ebx, 5
jne 0x1021a562
cmp dword [esi + 0x164], 0xffffffff
je 0x1021a844
test edi, edi
jne 0x1021a844
mov dword [esi + 0x180], 1
jmp 0x1021a310
cmp ebx, 0x12
jne 0x1021a5df
cmp dword [esi + 0x168], 0
je 0x1021a787
mov eax, dword [esi + 0x174]
test eax, eax
je 0x1021a59b
push 0x9ac
push str.....openssl_1.1.0f_ssl_t1_lib.c
push eax
call fcn.1013fd60
add esp, 0xc
mov dword [esi + 0x174], 0
mov word [esi + 0x178], di
test edi, edi
je 0x1021a310
push 0x9b1
push str.....openssl_1.1.0f_ssl_t1_lib.c
push edi
call fcn.1013fd30
add esp, 0xc
mov dword [esi + 0x174], eax
test eax, eax
je 0x1021a833
mov ecx, dword [esp + 0x10]
push edi
push ecx
push eax
call fcn.100a4e10
add esp, 0xc
jmp 0x1021a310
cmp ebx, 0x3374
jne 0x1021a6b7
mov eax, dword [esi + 0x68]
cmp dword [eax + 0x180], 0
jne 0x1021a787
mov ebx, dword [esi + 0x114]
cmp dword [ebx + 0x1cc], 0
je 0x1021a844
lea eax, [esp + 0x24]
push eax
call fcn.102198e0
add esp, 4
test al, al
je 0x1021a4db
push dword [ebx + 0x1d0]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push edi
push ecx
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebx + 0x1cc]
push esi
call eax
add esp, 0x18
test eax, eax
jne 0x1021a833
push 0x9d5
push str.....openssl_1.1.0f_ssl_t1_lib.c
push dword [esi + 0x1c0]
call fcn.1013fd60
movzx eax, byte [esp + 0x3c]
push 0x9d6
push str.....openssl_1.1.0f_ssl_t1_lib.c
push eax
call fcn.1013fd30
add esp, 0x18
mov dword [esi + 0x1c0], eax
test eax, eax
je 0x1021a833
movzx ecx, byte [esp + 0x30]
push ecx
push dword [esp + 0x24]
push eax
call fcn.100a4e10
mov al, byte [esp + 0x3c]
add esp, 0xc
mov byte [esi + 0x1c4], al
mov eax, dword [esi + 0x68]
mov dword [eax + 0x344], 1
jmp 0x1021a310
cmp ebx, 0x10
jne 0x1021a787
mov ebx, dword [esi + 0x68]
cmp dword [ebx + 0x358], 0
je 0x1021a844
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.10217aa0
add esp, 8
test eax, eax
je 0x1021a4db
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x14]
jne 0x1021a4db
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.102179b0
add esp, 8
test eax, eax
je 0x1021a4db
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x28], edi
jne 0x1021a4db
push 0x9f4
push str.....openssl_1.1.0f_ssl_t1_lib.c
push dword [ebx + 0x348]
call fcn.1013fd60
push 0x9f5
push str.....openssl_1.1.0f_ssl_t1_lib.c
push edi
call fcn.1013fd30
mov ecx, dword [esi + 0x68]
add esp, 0x18
mov dword [ecx + 0x348], eax
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x348]
test eax, eax
je 0x1021a833
push edi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10217920
add esp, 0xc
test eax, eax
je 0x1021a4db
mov eax, dword [esi + 0x68]
mov dword [eax + 0x34c], edi
jmp 0x1021a310
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x64]
test byte [eax + 0x34], 8
je 0x1021a7b4
cmp ebx, 0xe
jne 0x1021a7b4
push ebp
lea eax, [esp + 0x28]
push eax
push esi
call fcn.102318a0
add esp, 0xc
test eax, eax
jne 0x1021a306
jmp 0x1021a310
cmp ebx, 0x16
jne 0x1021a7e9
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x34]
mov eax, dword [eax + 0x210]
cmp dword [eax + 0x18], 0x40
je 0x1021a314
cmp dword [eax + 0x14], 4
je 0x1021a314
mov dword [esi + 0x1e4], 1
jmp 0x1021a314
cmp ebx, 0x17
jne 0x1021a817
mov eax, dword [esi + 0x68]
mov edi, dword [esp + 0x34]
or dword [eax], 0x200
cmp dword [esi + 0x78], 0
jne 0x1021a314
mov eax, dword [esi + 0xf0]
or dword [eax + 0xe8], 1
jmp 0x1021a314
push ebp
push edi
push ecx
push ebx
push 0
push esi
call fcn.10214080
add esp, 0x18
test eax, eax
jle 0x1021a306
jmp 0x1021a310
pop edi
pop esi
mov dword [ebp], 0x50
xor eax, eax
pop ebp
pop ebx
add esp, 0x1c
ret
pop edi
pop esi
mov dword [ebp], 0x6e
xor eax, eax
pop ebp
pop ebx
add esp, 0x1c
ret
test edx, edx
jne 0x1021a4db
cmp dword [esi + 0x78], edx
jne 0x1021a8c4
cmp dword [esp + 0x18], 1
jne 0x1021a8c4
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x1021a8c4
mov eax, dword [esi + 0xf0]
cmp dword [eax + 0xc4], edx
jne 0x1021a4db
push 0xa36
push str.....openssl_1.1.0f_ssl_t1_lib.c
push ecx
call fcn.1015d7a0
mov ecx, dword [esi + 0xf0]
add esp, 0xc
mov dword [ecx + 0xc4], eax
mov eax, dword [esi + 0xf0]
cmp dword [eax + 0xc4], 0
jne 0x1021a8c4
pop edi
pop esi
mov dword [ebp], 0x70
xor eax, eax
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1021a907
test dword [esi + 0x12c], 0x40004
jne 0x1021a907
push 0xa4f
push str.....openssl_1.1.0f_ssl_t1_lib.c
push 0x152
push 0x141
push 0x14
mov dword [ebp], 0x28
call fcn.10151c30
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp dword [esi + 0x78], 0
je 0x1021a93a
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
mov eax, dword [esi + 0xf0]
shr ecx, 9
not ecx
mov eax, dword [eax + 0xe8]
not eax
xor ecx, eax
test cl, 1
je 0x1021a93a
push 0xa5b
push str.....openssl_1.1.0f_ssl_t1_lib.c
push 0x68
jmp 0x1021a8e7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret