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

Disassembly:
mov eax, 0x60
call fcn.1002b6e0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
mov eax, dword [esi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x70]
xor ebx, ebx
push edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x4c], 0x3a
cmp eax, ebx
je 0x10028a8a
mov eax, dword [eax]
cmp eax, ebx
je 0x10028a8a
mov ebp, eax
mov eax, dword [esi]
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
cmp ecx, ebx
jne 0x10028aa2
mov dword [esp + 0x60], ebx
jmp 0x10028aa8
call sym.SSLEAY32.dll_SSL_SESSION_new
mov ebp, eax
cmp ebp, ebx
jne 0x10028a66
mov dword [esp + 0x6c], 0x16c
jmp 0x10029900
add eax, ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x48]
push ecx
call sub.LIBEAY32.dll_Ordinal_703
add esp, 8
test eax, eax
jne 0x10028acb
mov dword [esp + 0x6c], 0x172
jmp 0x10029900
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], edx
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ebx
call sub.LIBEAY32.dll_Ordinal_716
add esp, 0xc
test eax, eax
jne 0x10028b03
mov dword [esp + 0x6c], 0x175
jmp 0x10029900
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x10028b28
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
push edx
lea eax, [esp + 0x48]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call sub.LIBEAY32.dll_Ordinal_716
add esp, 0xc
test eax, eax
jne 0x10028b58
mov dword [esp + 0x6c], 0x179
jmp 0x10029900
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
add dword [esp + 0x5c], edx
push eax
call sub.LIBEAY32.dll_Ordinal_7
mov esi, eax
mov dword [ebp], esi
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, ebx
je 0x10028b8f
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
push edx
lea eax, [esp + 0x48]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
call sub.LIBEAY32.dll_Ordinal_718
add esp, 0xc
test eax, eax
jne 0x10028bc7
mov dword [esp + 0x6c], 0x17f
jmp 0x10029900
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov edi, 3
add dword [esp + 0x5c], edx
cmp esi, 2
jne 0x10028c10
cmp dword [esp + 0x24], edi
je 0x10028bf0
mov dword [esp + 0x4c], 0x89
jmp 0x10029900
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
movzx ecx, byte [ecx + 2]
or eax, 0x200
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
jmp 0x10028c4b
and esi, 0xffffff00
cmp esi, 0x300
jl 0x100298f8
cmp dword [esp + 0x24], 2
je 0x10028c36
mov dword [esp + 0x4c], 0x89
jmp 0x10029900
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
or eax, 0x30000
shl eax, 8
or eax, edx
mov dword [ebp + 0xb8], eax
mov dword [ebp + 0xb4], ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x68], eax
push edx
lea eax, [esp + 0x1c]
push eax
call sub.LIBEAY32.dll_Ordinal_718
add esp, 0xc
test eax, eax
jne 0x10028c87
mov dword [esp + 0x6c], 0x1a0
jmp 0x10029900
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
add dword [esp + 0x5c], ecx
cmp eax, 0x20
jle 0x10028ca5
mov eax, 0x20
mov dword [esp + 0x24], eax
mov dword [ebp + 0x44], eax
cmp dword [esp + 0x24], 0x20
jle 0x10028cc6
push str.os.length____int_sizeof_ret__session_id_
push 0x1ac
push str.._ssl_ssl_asn1.c
call sub.LIBEAY32.dll_Ordinal_3244
add esp, 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [ebp + 0x48]
push ecx
call fcn.1002b710
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x74], edx
push ecx
lea edx, [esp + 0x28]
push edx
call sub.LIBEAY32.dll_Ordinal_718
add esp, 0x18
test eax, eax
jne 0x10028d09
mov dword [esp + 0x6c], 0x1af
jmp 0x10029900
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x30
jle 0x10028d27
mov dword [ebp + 0x10], 0x30
jmp 0x10028d2a
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [ebp + 0x14]
push eax
call fcn.1002b710
xor eax, eax
add esp, 0xc
mov dword [esp + 0x24], eax
cmp dword [esp + 0x5c], ebx
je 0x10028dbe
mov esi, dword [esp + 0x44]
mov bl, byte [esi]
movzx ecx, bl
and cl, 0xdf
cmp cl, 0x80
jne 0x10028dbe
mov dl, bl
and dl, 0x20
or dl, 4
mov byte [esi], dl
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x68], eax
push edx
lea eax, [esp + 0x1c]
push eax
call sub.LIBEAY32.dll_Ordinal_718
add esp, 0xc
test eax, eax
jne 0x10028d9c
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], 0x1ca
mov byte [ecx], bl
jmp 0x10029900
mov eax, dword [esp + 0x64]
mov edx, eax
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
mov byte [eax], bl
mov eax, dword [esp + 0x24]
cmp eax, 8
jle 0x10028dbe
mov dword [ebp + 4], 8
jmp 0x10028dc1
mov dword [ebp + 4], eax
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [ebp + 8]
push edx
call fcn.1002b710
mov eax, dword [esp + 0x38]
xor esi, esi
add esp, 0xc
cmp eax, esi
je 0x10028de9
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], esi
cmp eax, esi
je 0x10028ecb
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa1
jne 0x10028ecb
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call sub.LIBEAY32.dll_Ordinal_32
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10028e42
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1d3
jmp 0x10029900
cmp ebx, 0x21
jne 0x10028e5b
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x18]
push eax
call sub.LIBEAY32.dll_Ordinal_716
add esp, 0xc
test eax, eax
jne 0x10028e83
mov dword [esp + 0x6c], 0x1d3
jmp 0x10029900
cmp ebx, 0x21
jne 0x10028ebf
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_3623
add esp, 8
test eax, eax
jne 0x10028ebf
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1d3
jmp 0x10029900
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x3c], esi
je 0x10028ef4
mov eax, dword [esp + 0x10]
push eax
call sub.LIBEAY32.dll_Ordinal_7
mov dword [ebp + 0xac], eax
mov ecx, dword [esp + 0x40]
push ecx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 8
mov dword [esp + 0x3c], esi
jmp 0x10028f03
push esi
call fcn.1002b68a
add esp, 4
mov dword [ebp + 0xac], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], esi
cmp eax, esi
je 0x10028fe5
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa2
jne 0x10028fe5
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x6c], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x54]
push edx
call sub.LIBEAY32.dll_Ordinal_32
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10028f5c
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1dd
jmp 0x10029900
cmp ebx, 0x21
jne 0x10028f75
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 2]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
push edx
call sub.LIBEAY32.dll_Ordinal_716
add esp, 0xc
test eax, eax
jne 0x10028f9d
mov dword [esp + 0x6c], 0x1dd
jmp 0x10029900
cmp ebx, 0x21
jne 0x10028fd9
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
push eax
call sub.LIBEAY32.dll_Ordinal_3623
add esp, 8
test eax, eax
jne 0x10028fd9
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1dd
jmp 0x10029900
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
add dword [esp + 0x5c], ecx
cmp dword [esp + 0x3c], esi
je 0x10029012
mov edx, dword [esp + 0x10]
push edx
call sub.LIBEAY32.dll_Ordinal_7
mov dword [ebp + 0xa8], eax
mov eax, dword [esp + 0x40]
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 8
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], esi
jmp 0x10029018
mov dword [ebp + 0xa8], edi
mov eax, dword [ebp + 0x9c]
lea esi, [ebp + 0x9c]
xor edi, edi
cmp eax, edi
je 0x10029035
push eax
call sub.LIBEAY32.dll_Ordinal_641
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
cmp eax, edi
je 0x10029117
cmp byte [ecx], 0xa3
jne 0x10029117
push eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
push ecx
call sub.LIBEAY32.dll_Ordinal_32
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1002908a
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1eb
jmp 0x10029900
cmp ebx, 0x21
jne 0x100290a3
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
lea ecx, [edx + eax - 2]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
push esi
call sub.LIBEAY32.dll_Ordinal_754
add esp, 0xc
test eax, eax
jne 0x100290c7
mov dword [esp + 0x6c], 0x1eb
jmp 0x10029900
cmp ebx, 0x21
jne 0x10029103
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_3623
add esp, 8
test eax, eax
jne 0x10029103
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1eb
jmp 0x10029900
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
sub edx, ecx
add eax, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x1002923e
cmp byte [ecx], 0xa4
jne 0x1002923e
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call sub.LIBEAY32.dll_Ordinal_32
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1002916c
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1ef
jmp 0x10029900
cmp ebx, 0x21
jne 0x10029185
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
call sub.LIBEAY32.dll_Ordinal_718
add esp, 0xc
test eax, eax
jne 0x100291ad
mov dword [esp + 0x6c], 0x1ef
jmp 0x10029900
cmp ebx, 0x21
jne 0x100291e9
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_3623
add esp, 8
test eax, eax
jne 0x100291e9
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1ef
jmp 0x10029900
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x2c], edi
je 0x1002923e
mov eax, dword [esp + 0x24]
cmp eax, 0x20
jle 0x10029211
mov dword [esp + 0x4c], 0x10f
jmp 0x10029900
mov dword [ebp + 0x68], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [ebp + 0x6c]
push edx
call fcn.1002b710
mov eax, dword [esp + 0x38]
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 0x10
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
jmp 0x10029241
mov dword [ebp + 0x68], edi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], edi
cmp eax, edi
je 0x10029323
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa5
jne 0x10029323
push eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
push ecx
call sub.LIBEAY32.dll_Ordinal_32
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1002929a
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x203
jmp 0x10029900
cmp ebx, 0x21
jne 0x100292b3
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
lea ecx, [edx + eax - 2]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
push ecx
call sub.LIBEAY32.dll_Ordinal_716
add esp, 0xc
test eax, eax
jne 0x100292db
mov dword [esp + 0x6c], 0x203
jmp 0x10029900
cmp ebx, 0x21
jne 0x10029317
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea edx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push edx
mov dword [esp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_3623
add esp, 8
test eax, eax
jne 0x10029317
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x203
jmp 0x10029900
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
cmp dword [esp + 0x3c], edi
je 0x10029350
mov ecx, dword [esp + 0x10]
push ecx
call sub.LIBEAY32.dll_Ordinal_7
mov dword [ebp + 0xa0], eax
mov edx, dword [esp + 0x40]
push edx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 8
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
jmp 0x10029356
mov dword [ebp + 0xa0], edi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x10029464
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa6
jne 0x10029464
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call sub.LIBEAY32.dll_Ordinal_32
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x100293b3
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x20f
jmp 0x10029900
cmp ebx, 0x21
jne 0x100293cc
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
call sub.LIBEAY32.dll_Ordinal_718
add esp, 0xc
test eax, eax
jne 0x100293f4
mov dword [esp + 0x6c], 0x20f
jmp 0x10029900
cmp ebx, 0x21
jne 0x10029430
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_3623
add esp, 8
test eax, eax
jne 0x10029430
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x20f
jmp 0x10029900
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, edi
je 0x10029464
mov ecx, dword [esp + 0x24]
push ecx
push eax
call sub.LIBEAY32.dll_Ordinal_3513
mov dword [ebp + 0xd0], eax
mov edx, dword [esp + 0x34]
push edx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 0xc
jmp 0x1002946a
mov dword [ebp + 0xd0], edi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x10029580
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa7
jne 0x10029580
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call sub.LIBEAY32.dll_Ordinal_32
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x100294c7
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x21e
jmp 0x10029900
cmp ebx, 0x21
jne 0x100294e0
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
call sub.LIBEAY32.dll_Ordinal_718
add esp, 0xc
test eax, eax
jne 0x10029508
mov dword [esp + 0x6c], 0x21e
jmp 0x10029900
cmp ebx, 0x21
jne 0x10029544
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_3623
add esp, 8
test eax, eax
jne 0x10029544
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x21e
jmp 0x10029900
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, edi
je 0x10029580
mov ecx, dword [esp + 0x24]
push ecx
push eax
call sub.LIBEAY32.dll_Ordinal_3513
mov dword [ebp + 0x8c], eax
mov edx, dword [esp + 0x34]
push edx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 0xc
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
jmp 0x10029586
mov dword [ebp + 0x8c], edi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], edi
cmp eax, edi
je 0x10029668
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa9
jne 0x10029668
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call sub.LIBEAY32.dll_Ordinal_32
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x100295df
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x22c
jmp 0x10029900
cmp ebx, 0x21
jne 0x100295f8
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x18]
push eax
call sub.LIBEAY32.dll_Ordinal_716
add esp, 0xc
test eax, eax
jne 0x10029620
mov dword [esp + 0x6c], 0x22c
jmp 0x10029900
cmp ebx, 0x21
jne 0x1002965c
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_3623
add esp, 8
test eax, eax
jne 0x1002965c
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x22c
jmp 0x10029900
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x3c], edi
je 0x10029695
mov eax, dword [esp + 0x10]
push eax
call sub.LIBEAY32.dll_Ordinal_7
mov dword [ebp + 0xec], eax
mov ecx, dword [esp + 0x40]
push ecx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 8
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
jmp 0x100296b4
cmp dword [ebp + 0xe8], edi
je 0x100296ae
cmp dword [ebp + 0x44], edi
je 0x100296ae
mov dword [ebp + 0xec], 0xffffffff
jmp 0x100296b4
mov dword [ebp + 0xec], edi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x100297b4
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xaa
jne 0x100297b4
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x6c], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x54]
push edx
call sub.LIBEAY32.dll_Ordinal_32
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10029711
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x238
jmp 0x10029900
cmp ebx, 0x21
jne 0x1002972a
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 2]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x1c]
push edx
call sub.LIBEAY32.dll_Ordinal_718
add esp, 0xc
test eax, eax
jne 0x10029752
mov dword [esp + 0x6c], 0x238
jmp 0x10029900
cmp ebx, 0x21
jne 0x1002978e
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
push eax
call sub.LIBEAY32.dll_Ordinal_3623
add esp, 8
test eax, eax
jne 0x1002978e
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x238
jmp 0x10029900
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], ecx
cmp eax, edi
je 0x100297b4
mov dword [ebp + 0xe4], eax
mov edx, dword [esp + 0x24]
mov dword [ebp + 0xe8], edx
jmp 0x100297ba
mov dword [ebp + 0xe4], edi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x100298bf
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xab
jne 0x100298bf
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
call sub.LIBEAY32.dll_Ordinal_32
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10029817
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x246
jmp 0x10029900
cmp ebx, 0x21
jne 0x10029830
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
lea eax, [ecx + edx - 2]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
call sub.LIBEAY32.dll_Ordinal_718
add esp, 0xc
test eax, eax
jne 0x10029858
mov dword [esp + 0x6c], 0x246
jmp 0x10029900
cmp ebx, 0x21
jne 0x10029891
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
add eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_3623
add esp, 8
test eax, eax
jne 0x10029891
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x246
jmp 0x10029900
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, edi
je 0x100298bf
movzx eax, byte [eax]
mov dword [ebp + 0xb0], eax
mov ecx, dword [esp + 0x2c]
push ecx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov dword [esp + 0x2c], edi
lea edx, [esp + 0x44]
push edx
call sub.LIBEAY32.dll_Ordinal_3700
add esp, 4
test eax, eax
jne 0x100298da
mov dword [esp + 0x6c], 0x24f
jmp 0x10029900
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov dword [ecx], eax
mov eax, dword [esp + 0x74]
cmp eax, edi
je 0x100298ee
mov dword [eax], ebp
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x60
ret
mov dword [esp + 0x4c], 0xfe
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x4c]
push edx
push str.._ssl_ssl_asn1.c
push eax
push 0x67
push 0xd
call sub.LIBEAY32.dll_Ordinal_252
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov edx, dword [esp + 0x78]
sub edx, eax
push edx
push eax
call sub.LIBEAY32.dll_Ordinal_1091
add esp, 0x1c
test ebp, ebp
je 0x1002994a
mov eax, dword [esp + 0x74]
test eax, eax
je 0x10029941
cmp dword [eax], ebp
je 0x1002994a
push ebp
call sym.SSLEAY32.dll_SSL_SESSION_free
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret