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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov edi, ecx
xor eax, eax
mov dword [esp + 0x10], edi
lea eax, [edi + 0x138]
test dl, dl
je 0x100299aa
xor edi, edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x10]
mov esi, eax
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x10029cda
xor edi, edi
and byte [esi], 0xfd
mov eax, dword [esi + 4]
test eax, eax
je 0x10029994
cmp eax, dword [esi + 0xc]
je 0x1002998d
push eax
push 0
push dword [0x10059a38]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 4], 0
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.100483f7
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x28]
mov esi, eax
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], esi
push ecx
lea edx, [esp + 0x28]
mov ecx, eax
call fcn.10038260
add esp, 8
test al, al
jne 0x100299ec
test byte [0x10059ab8], 4
je 0x100299ec
push str.DataAvailable
push str.C:__w1_s_srccorecrypto.c
push 0x713
call fcn.1003e120
add esp, 0xc
lea ecx, [edi - 0x878]
xor edx, edx
cmp dword [esp + 0x28], 4
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edx
jb 0x10029a48
mov esi, dword [esp + 0x28]
nop
movzx eax, byte [edi + 1]
movzx ecx, byte [edi + 2]
shl eax, 8
add ecx, eax
movzx eax, byte [edi + 3]
shl ecx, 8
add eax, 4
add eax, ecx
cmp esi, eax
jb 0x10029a38
sub esi, eax
add edx, eax
add edi, eax
cmp esi, 4
jae 0x10029a10
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], edx
test edx, edx
jne 0x10029a8f
test byte [0x10059abc], 1
je 0x1002996d
push str.No_complete_TLS_messages_to_process
push 0xffffffffffffffff
lea eax, [esp + 0x70]
push 0x80
push eax
call fcn.100015f0
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x78]
push eax
push edi
mov edx, 0x1004c9b0
call fcn.10001280
add esp, 0x18
jmp 0x1002996d
cmp dword [ecx], 4
mov eax, esi
jne 0x1002995c
test byte [ecx + 0xc2], 4
jne 0x1002995c
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x40], xmm0
movq qword [esp + 0x50], xmm0
nop word [eax + eax]
cmp edx, 4
jb 0x10029ccc
cmp byte [edi], 1
jne 0x10029c7a
movzx esi, byte [edi + 1]
movzx eax, byte [edi + 2]
shl esi, 8
add esi, eax
movzx eax, byte [edi + 3]
shl esi, 8
add esi, eax
lea eax, [esi + 4]
cmp edx, eax
jb 0x10029ccc
lea eax, [esp + 0x30]
push eax
push esi
lea edx, [edi + 4]
lfence
call fcn.10034a00
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
js 0x10029c74
mov edx, dword [esp + 0x18]
lea edi, [edi + 4]
mov ecx, dword [esp + 0xc]
lea edi, [edi + esi]
mov eax, 0xfffffffc
sub eax, esi
add edx, eax
mov dword [esp + 0x18], edx
jne 0x10029ac0
cmp dword [esp + 0x4c], 0
jne 0x10029b61
test byte [0x10059abb], 4
mov edi, ecx
je 0x10029c9a
push str.No_ALPN_list_extension_present
push edi
mov edx, 0x1004c7e0
lfence
call fcn.10001280
add esp, 8
jmp 0x10029c9a
cmp dword [esp + 0x54], 0
jne 0x10029ba3
test byte [0x10059abb], 0x40
je 0x10029ba3
push str.No_SNI_extension_present
push 0xffffffffffffffff
lea eax, [esp + 0x70]
push 0x80
push eax
lfence
call fcn.100015f0
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x78]
push eax
push edi
mov edx, 0x1004ca20
call fcn.10001280
add esp, 0x18
jmp 0x10029ba5
mov edi, ecx
xor dl, dl
mov ecx, edi
lfence
call fcn.10012c60
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
js 0x10029cc3
lfence
and byte [esi], 0xfd
mov eax, dword [esi + 4]
test eax, eax
je 0x10029be9
cmp eax, dword [esi + 0xc]
je 0x10029be2
push eax
push 0
push dword [0x10059a38]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 4], 0
mov eax, dword [edi + 0xb2c]
mov edx, edi
mov ecx, dword [edi + 0x128]
mov dword [esp + 0x30], eax
lea eax, [edi + 0x14c]
mov dword [esp + 0x34], eax
lea eax, [edi + 0x130]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
push eax
call fcn.10005380
mov ecx, dword [edi + 0xc0c]
add esp, 4
test ecx, ecx
je 0x10029c5c
mov al, byte [edi + 0xc1]
test al, 1
jne 0x10029c5c
test al, 0x20
je 0x10029c5c
mov eax, dword [esp + 0x2c]
movups xmm0, xmmword [eax + 6]
movups xmmword [ecx + 2], xmm0
movups xmm0, xmmword [eax + 0x16]
or byte [ecx + 1], 1
movups xmmword [ecx + 0x12], xmm0
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.100483f7
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
jmp 0x10029ca2
test byte [0x10059abb], 4
je 0x10029c96
push str.Invalid_message_in_TlsReadInitial
push ecx
mov edx, 0x1004c7e0
call fcn.10001280
add esp, 8
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], 0x80070057
push 0
push 0
push 0
push 0x128
mov edx, 2
mov ecx, edi
lfence
call fcn.10010570
mov esi, dword [esp + 0x24]
add esp, 0x10
mov edi, dword [esp + 0x10]
jmp 0x1002996f
mov esi, dword [esp + 0x14]
mov edi, 0x703e5
jmp 0x1002996f
mov esi, dword [esp + 0x10]
xor edx, edx
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.10045950
mov edx, dword [esp + 0x34]
add esp, 0xc
mov ecx, esi
mov dword [esi + 0x7c], eax
call fcn.10029780
mov ecx, dword [esp + 0xec]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.100483f7
mov esp, ebp
pop ebp
ret