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

Disassembly:
mov eax, 0x60
call fcn.10032340
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 ebp, ebp
cmp eax, ebp
push edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x4c], 0x3a
je 0x1002d94a
mov eax, dword [eax]
cmp eax, ebp
je 0x1002d94a
mov edi, eax
mov eax, dword [esi]
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x7c]
cmp ecx, ebp
lea edx, [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
jne 0x1002d962
mov dword [esp + 0x60], ebp
jmp 0x1002d968
call sym.SSLEAY32.dll_SSL_SESSION_new
mov edi, eax
cmp edi, ebp
jne 0x1002d926
mov dword [esp + 0x6c], 0x184
jmp 0x1002ea0d
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 0x1002d98b
mov dword [esp + 0x6c], 0x18a
jmp 0x1002ea0d
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], ebp
mov dword [esp + 0x40], ebp
call sub.LIBEAY32.dll_Ordinal_716
add esp, 0xc
test eax, eax
jne 0x1002d9c3
mov dword [esp + 0x6c], 0x18e
jmp 0x1002ea0d
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x1002d9e8
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
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 0x1002da18
mov dword [esp + 0x6c], 0x196
jmp 0x1002ea0d
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 [edi], esi
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, ebp
je 0x1002da4e
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
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], ebp
mov dword [esp + 0x30], ebp
call sub.LIBEAY32.dll_Ordinal_718
add esp, 0xc
test eax, eax
jne 0x1002da86
mov dword [esp + 0x6c], 0x1a1
jmp 0x1002ea0d
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp esi, 2
jne 0x1002dad3
cmp dword [esp + 0x24], 3
je 0x1002dab3
mov dword [esp + 0x4c], 0x89
mov dword [esp + 0x6c], 0x1a5
jmp 0x1002ea0d
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 0x1002db32
mov eax, esi
sar eax, 8
cmp eax, 3
je 0x1002db01
cmp eax, 0xfe
je 0x1002db01
cmp esi, 0x100
je 0x1002db01
mov dword [esp + 0x4c], 0xfe
mov dword [esp + 0x6c], 0x1b7
jmp 0x1002ea0d
cmp dword [esp + 0x24], 2
je 0x1002db1d
mov dword [esp + 0x4c], 0x89
mov dword [esp + 0x6c], 0x1b0
jmp 0x1002ea0d
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 [edi + 0xb8], eax
mov dword [edi + 0xb4], ebp
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 0x1002db6e
mov dword [esp + 0x6c], 0x1be
jmp 0x1002ea0d
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
add dword [esp + 0x5c], ecx
cmp eax, 0x20
jle 0x1002db8c
mov eax, 0x20
mov dword [esp + 0x24], eax
mov dword [edi + 0x44], eax
cmp dword [esp + 0x24], 0x20
jle 0x1002dbad
push str.os.length____int_sizeof_ret__session_id_
push 0x1ca
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, [edi + 0x48]
push ecx
call fcn.10032370
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 0x1002dbf0
mov dword [esp + 0x6c], 0x1cd
jmp 0x1002ea0d
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x30
jle 0x1002dc0e
mov dword [edi + 0x10], 0x30
jmp 0x1002dc11
mov dword [edi + 0x10], eax
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [edi + 0x14]
push eax
call fcn.10032370
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x5c], ebp
mov dword [esp + 0x24], eax
je 0x1002dca4
mov esi, dword [esp + 0x44]
mov bl, byte [esi]
mov cl, bl
and cl, 0xdf
cmp cl, 0x80
jne 0x1002dca4
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 0x1002dc82
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], 0x1e7
mov byte [ecx], bl
jmp 0x1002ea0d
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 0x1002dca4
mov dword [edi + 4], 8
jmp 0x1002dca7
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [edi + 8]
push edx
call fcn.10032370
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebp
je 0x1002dccd
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x34], ebp
je 0x1002ddaf
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa1
jne 0x1002ddaf
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 0x1002dd26
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1f1
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002dd3f
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 0x1002dd67
mov dword [esp + 0x6c], 0x1f1
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002dda3
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 0x1002dda3
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1f1
jmp 0x1002ea0d
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x3c], ebp
je 0x1002ddd8
mov eax, dword [esp + 0x10]
push eax
call sub.LIBEAY32.dll_Ordinal_7
mov dword [edi + 0xac], eax
mov ecx, dword [esp + 0x40]
push ecx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 8
mov dword [esp + 0x3c], ebp
jmp 0x1002dde7
push ebp
call fcn.100322fe
add esp, 4
mov dword [edi + 0xac], eax
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x34], ebp
je 0x1002dec9
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa2
jne 0x1002dec9
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 0x1002de40
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x1fb
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002de59
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 0x1002de81
mov dword [esp + 0x6c], 0x1fb
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002debd
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 0x1002debd
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x1fb
jmp 0x1002ea0d
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
add dword [esp + 0x5c], ecx
cmp dword [esp + 0x3c], ebp
je 0x1002def6
mov edx, dword [esp + 0x10]
push edx
call sub.LIBEAY32.dll_Ordinal_7
mov dword [edi + 0xa8], eax
mov eax, dword [esp + 0x40]
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
jmp 0x1002df00
mov dword [edi + 0xa8], 3
mov eax, dword [edi + 0x9c]
cmp eax, ebp
lea esi, [edi + 0x9c]
je 0x1002df1b
push eax
call sub.LIBEAY32.dll_Ordinal_641
add esp, 4
mov dword [esi], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov ecx, dword [esp + 0x44]
je 0x1002dffd
cmp byte [ecx], 0xa3
jne 0x1002dffd
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 0x1002df70
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x208
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002df89
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 0x1002dfad
mov dword [esp + 0x6c], 0x208
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002dfe9
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 0x1002dfe9
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x208
jmp 0x1002ea0d
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
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x1002e13f
cmp byte [ecx], 0xa4
jne 0x1002e13f
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 0x1002e052
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x20c
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e06b
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 0x1002e093
mov dword [esp + 0x6c], 0x20c
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e0cf
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 0x1002e0cf
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x20c
jmp 0x1002ea0d
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, ebp
je 0x1002e13f
mov ecx, dword [esp + 0x24]
cmp ecx, 0x20
jle 0x1002e112
push eax
mov dword [esp + 0x50], 0x10f
mov dword [esp + 0x70], 0x211
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
jmp 0x1002ea0d
mov dword [edi + 0x68], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [edi + 0x6c]
push edx
call fcn.10032370
mov eax, dword [esp + 0x38]
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 0x10
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
jmp 0x1002e142
mov dword [edi + 0x68], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x34], ebp
je 0x1002e224
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa5
jne 0x1002e224
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 0x1002e19b
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x221
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e1b4
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 0x1002e1dc
mov dword [esp + 0x6c], 0x221
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e218
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 0x1002e218
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x221
jmp 0x1002ea0d
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add dword [esp + 0x5c], eax
cmp dword [esp + 0x3c], ebp
je 0x1002e251
mov ecx, dword [esp + 0x10]
push ecx
call sub.LIBEAY32.dll_Ordinal_7
mov dword [edi + 0xa0], eax
mov edx, dword [esp + 0x40]
push edx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
jmp 0x1002e257
mov dword [edi + 0xa0], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x1002e365
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa6
jne 0x1002e365
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 0x1002e2b4
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x22d
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e2cd
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 0x1002e2f5
mov dword [esp + 0x6c], 0x22d
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e331
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 0x1002e331
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x22d
jmp 0x1002ea0d
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, ebp
je 0x1002e365
mov ecx, dword [esp + 0x24]
push ecx
push eax
call sub.LIBEAY32.dll_Ordinal_3513
mov dword [edi + 0xd0], eax
mov edx, dword [esp + 0x34]
push edx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 0xc
jmp 0x1002e36b
mov dword [edi + 0xd0], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x1002e479
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa7
jne 0x1002e479
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 0x1002e3c8
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x23a
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e3e1
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 0x1002e409
mov dword [esp + 0x6c], 0x23a
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e445
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 0x1002e445
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x23a
jmp 0x1002ea0d
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, ebp
je 0x1002e479
mov ecx, dword [esp + 0x24]
push ecx
push eax
call sub.LIBEAY32.dll_Ordinal_3513
mov dword [edi + 0x8c], eax
mov edx, dword [esp + 0x34]
push edx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 0xc
jmp 0x1002e47f
mov dword [edi + 0x8c], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x1002e595
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa8
jne 0x1002e595
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 0x1002e4dc
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x245
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e4f5
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 0x1002e51d
mov dword [esp + 0x6c], 0x245
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e559
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 0x1002e559
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x245
jmp 0x1002ea0d
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], edx
cmp eax, ebp
je 0x1002e595
mov ecx, dword [esp + 0x24]
push ecx
push eax
call sub.LIBEAY32.dll_Ordinal_3513
mov dword [edi + 0x90], eax
mov edx, dword [esp + 0x34]
push edx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 0xc
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
jmp 0x1002e59b
mov dword [edi + 0x90], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x34], ebp
je 0x1002e67d
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xa9
jne 0x1002e67d
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 0x1002e5f4
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x251
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e60d
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 0x1002e635
mov dword [esp + 0x6c], 0x251
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e671
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 0x1002e671
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x251
jmp 0x1002ea0d
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x3c], ebp
je 0x1002e6aa
mov eax, dword [esp + 0x10]
push eax
call sub.LIBEAY32.dll_Ordinal_7
mov dword [edi + 0xec], eax
mov ecx, dword [esp + 0x40]
push ecx
call sub.LIBEAY32.dll_Ordinal_181
add esp, 8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
jmp 0x1002e6c9
cmp dword [edi + 0xe8], ebp
je 0x1002e6c3
cmp dword [edi + 0x44], ebp
je 0x1002e6c3
mov dword [edi + 0xec], 0xffffffff
jmp 0x1002e6c9
mov dword [edi + 0xec], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x1002e7c9
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0xaa
jne 0x1002e7c9
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 0x1002e726
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x25d
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e73f
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 0x1002e767
mov dword [esp + 0x6c], 0x25d
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e7a3
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 0x1002e7a3
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x25d
jmp 0x1002ea0d
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], ecx
cmp eax, ebp
je 0x1002e7c9
mov dword [edi + 0xe4], eax
mov edx, dword [esp + 0x24]
mov dword [edi + 0xe8], edx
jmp 0x1002e7cf
mov dword [edi + 0xe4], ebp
mov eax, dword [esp + 0x5c]
cmp eax, ebp
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x1002e8e3
cmp byte [ecx], 0xab
jne 0x1002e8e3
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 0x1002e82c
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x269
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e845
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 0x1002e86d
mov dword [esp + 0x6c], 0x269
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e8a9
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 0x1002e8a9
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x269
jmp 0x1002ea0d
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
sub edx, ecx
add eax, edx
mov edx, dword [esp + 0x2c]
cmp edx, ebp
mov dword [esp + 0x5c], eax
je 0x1002e8e3
movzx eax, byte [edx]
mov dword [edi + 0xb0], eax
mov ecx, dword [esp + 0x2c]
push ecx
call sub.LIBEAY32.dll_Ordinal_181
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x48]
add esp, 4
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
je 0x1002e9ee
cmp byte [ecx], 0xac
jne 0x1002e9ee
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 0x1002e938
mov dword [esp + 0x4c], 0x3b
mov dword [esp + 0x6c], 0x274
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e951
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 0x1002e979
mov dword [esp + 0x6c], 0x274
jmp 0x1002ea0d
cmp ebx, 0x21
jne 0x1002e9b2
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 0x1002e9b2
mov dword [esp + 0x4c], 0x3f
mov dword [esp + 0x6c], 0x274
jmp 0x1002ea0d
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], ecx
cmp eax, ebp
je 0x1002e9ee
mov edx, dword [esp + 0x24]
push edx
push eax
call sub.LIBEAY32.dll_Ordinal_3513
mov dword [edi + 0xf0], eax
mov eax, dword [esp + 0x34]
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 0xc
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
jmp 0x1002e9f4
mov dword [edi + 0xf0], ebp
lea ecx, [esp + 0x44]
push ecx
call sub.LIBEAY32.dll_Ordinal_3700
add esp, 4
test eax, eax
jne 0x1002ea61
mov dword [esp + 0x6c], 0x27e
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
cmp edi, ebp
je 0x1002ea57
mov eax, dword [esp + 0x74]
cmp eax, ebp
je 0x1002ea4e
cmp dword [eax], edi
je 0x1002ea57
push edi
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
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov dword [ecx], eax
mov eax, dword [esp + 0x74]
cmp eax, ebp
je 0x1002ea75
mov dword [eax], edi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret