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

Disassembly:
mov eax, 0x7c
call fcn.1004e0f0
mov eax, dword [0x1006bde4]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x8c]
xor ecx, ecx
mov ebx, 1
mov dword [esp + 0x14], 0
push edi
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x870]
test eax, eax
mov dword [esp + 0x1c], ecx
cmove eax, ebx
mov dword [esp + 0x30], 5
mov dword [esp + 0x38], eax
lea ebx, [esi + 0x12e4]
mov eax, dword [esi + 0x7cc]
mov dword [esp + 0x3c], eax
lea eax, [esi + 0xce8]
mov dword [esp + 0x20], eax
mov ebp, eax
lea eax, [esi + 0x12e0]
mov dword [esp + 0x2c], eax
mov edi, eax
cmp dword [esi + 0x9bc], 0xf1
mov edx, 0x4540
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], ebx
jne 0x1002e54a
cmp dword [ebx], 5
mov edi, eax
jae 0x1002e763
lea eax, [esp + 0x28]
push eax
xor eax, eax
test ecx, ecx
sete al
push eax
push 0
push dword [esi + 0x9d0]
push 5
push esi
call fcn.1002c960
add esp, 0x18
test eax, eax
jle 0x1002f27a
mov ebx, dword [ebx]
mov eax, dword [edi]
mov dword [esi + 0x9bc], 0xf1
mov dword [esp + 0x24], eax
cmp ebx, 0x7fffffff
ja 0x1002f24c
mov edx, eax
mov edi, ebx
mov dword [esp + 0x40], edx
cmp ebx, 2
jb 0x1002f23b
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
sub edi, 2
je 0x1002f23b
cmp dword [esi + 0x1c], 0
movzx eax, byte [edx + 2]
je 0x1002e62e
cmp dword [esi + 0x1318], 0
je 0x1002e62e
test ecx, 0x8000
je 0x1002e62e
cmp eax, 1
jne 0x1002e62e
and ecx, 0x7fff
mov dword [ebp - 4], 0x16
mov dword [ebp - 8], 2
mov dword [ebp], ecx
mov eax, dword [esi + 0x9d0]
sub eax, 2
cmp ecx, eax
ja 0x1002e8b7
cmp ecx, 9
jae 0x1002e75e
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x116
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0xa0
push 0x32
jmp 0x1002f26e
test ebx, ebx
je 0x1002f1f2
movzx eax, byte [edx]
dec ebx
mov dword [esp + 0x40], eax
cmp ebx, 2
jb 0x1002f1f2
movzx edi, byte [edx + 1]
sub ebx, 2
movzx eax, byte [edx + 2]
shl edi, 8
or edi, eax
cmp ebx, 2
jb 0x1002f1f2
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [ebp - 8], edi
mov eax, dword [esp + 0x40]
mov dword [ebp], ecx
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x3dc]
test eax, eax
je 0x1002e69e
push dword [esi + 0x3e0]
push esi
push 5
push dword [esp + 0x30]
push 0x100
push edi
push 0
call eax
add esp, 0x1c
cmp dword [esi + 0x860], 0
jne 0x1002e6d6
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x1002e6c3
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x1002e6c3
cmp eax, 0x10000
jne 0x1002e6d6
cmp dword [esi + 0x7a4], 1
je 0x1002e6d6
mov eax, dword [esi]
cmp edi, eax
jne 0x1002e8de
and edi, 0xffffff00
cmp edi, 0x300
jne 0x1002f10a
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x1002e74c
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x1002e74c
cmp eax, 0x10000
je 0x1002e74c
cmp dword [esi + 0x724], 0
je 0x1002e74c
mov eax, dword [ebp - 4]
cmp eax, 0x17
je 0x1002e73f
cmp eax, 0x14
jne 0x1002e72c
cmp dword [esi + 0x1fc], 0
je 0x1002e73f
cmp dword [esi + 0x280], 0
je 0x1002e73f
cmp eax, 0x15
jne 0x1002e956
cmp dword [esi + 0x64], 1
jne 0x1002e956
cmp dword [ebp - 8], 0x303
jne 0x1002e97d
mov eax, dword [esi + 0x9d0]
sub eax, 5
cmp dword [ebp], eax
ja 0x1002f0f6
mov edx, 0x4540
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x1002e7b1
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x1002e7b1
cmp eax, 0x10000
je 0x1002e7b1
mov ecx, dword [ebp]
cmp ecx, 0x4100
jbe 0x1002e7cb
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x18c
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x96
push 0x16
jmp 0x1002f26e
cmp dword [esi + 0x740], 0
mov eax, 0x4140
mov ecx, dword [ebp]
cmovne eax, edx
cmp ecx, eax
ja 0x1002f0e2
cmp dword [ebp - 8], 2
lea eax, [ecx - 3]
cmovne eax, ecx
test eax, eax
je 0x1002e7f5
lea ecx, [esp + 0x28]
push ecx
push 0
push 1
push eax
push eax
push esi
call fcn.1002c960
add esp, 0x18
test eax, eax
jle 0x1002f27a
mov edi, dword [esp + 0x2c]
mov eax, 2
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x9bc], 0xf0
cmp dword [ebp - 8], eax
cmovne eax, dword [esp + 0x30]
inc ecx
add eax, dword [edi]
mov dword [edx + 0x10], eax
mov dword [edx + 0xc], eax
mov eax, dword [ebp]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x34]
mov ebx, eax
mov dword [ebp + 0x18], 0
add ebp, 0x30
mov dword [esp + 0x10], ecx
mov dword [esi + 0x1318], 0
mov dword [eax], 0
cmp ecx, dword [esp + 0x38]
jae 0x1002e9ac
cmp dword [edx - 4], 0x17
jne 0x1002e9ac
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x64]
test byte [eax + 0x30], 1
je 0x1002e9ac
mov eax, dword [esi + 0x724]
test eax, eax
je 0x1002e9ac
push eax
call sub.libcrypto_3.dll_EVP_CIPHER_CTX_get0_cipher
push eax
call sub.libcrypto_3.dll_EVP_CIPHER_get_flags
add esp, 8
test eax, 0x800000
je 0x1002e9a4
push esi
call fcn.1002f290
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x1002e9a8
lea eax, [esi + 0x12e0]
jmp 0x1002e526
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x111
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0xc6
push 0x16
jmp 0x1002f26e
xor eax, edi
test eax, 0xff00
jne 0x1002e92f
cmp dword [esi + 0x744], 0
jne 0x1002e92f
cmp dword [esi + 0x758], 0
jne 0x1002e92f
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], 0x15
jne 0x1002e92a
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x143
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x10b
push 0xffffffffffffffff
jmp 0x1002f26e
movzx eax, di
mov dword [esi], eax
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x14c
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x10b
push 0x46
jmp 0x1002f26e
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x174
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x1bb
push 0xa
jmp 0x1002f26e
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x179
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x10b
push 0x32
jmp 0x1002f26e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp ecx, 1
jne 0x1002ea98
cmp dword [edx - 4], 0x14
jne 0x1002ea98
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x1002e9db
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x1002e9db
cmp eax, 0x10000
jne 0x1002e9e8
cmp dword [esi + 0x7a4], 0
je 0x1002ea98
cmp dword [esi + 0x1fc], 0
je 0x1002e9fe
cmp dword [esi + 0x280], 0
jne 0x1002ea98
cmp dword [edx], 1
jne 0x1002ea71
mov eax, dword [edx + 0xc]
cmp byte [eax], 1
jne 0x1002ea71
mov dword [edx - 4], 0x16
inc dword [esi + 0x12f4]
cmp dword [esi + 0x12f4], 0x20
jbe 0x1002ea48
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x200
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x106
push 0xa
jmp 0x1002f26e
pop edi
mov dword [edx + 0x18], 1
mov eax, 1
mov dword [esi + 0x9c0], 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1004e11b
add esp, 0x7c
ret
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x1f4
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x104
push 0x2f
jmp 0x1002f26e
mov eax, dword [esi + 0x738]
test eax, eax
je 0x1002eae8
push eax
call sub.libcrypto_3.dll_EVP_MD_CTX_get0_md
add esp, 4
test eax, eax
je 0x1002eae8
push eax
call sub.libcrypto_3.dll_EVP_MD_get_size
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
cmp ebp, 0x40
jbe 0x1002eaea
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x216
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x80006
jmp 0x1002f26c
xor ebp, ebp
test dword [esi + 0x7c], 0x100
je 0x1002ec4a
cmp dword [esi + 0x738], 0
je 0x1002ec4a
xor ebx, ebx
cmp dword [esp + 0x10], ebx
jbe 0x1002eb6d
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
cmp eax, ebp
jb 0x1002ec36
sub eax, ebp
mov ebp, dword [edi + 0xc]
mov dword [edi], eax
add ebp, eax
mov eax, dword [esi + 4]
push 0
mov ecx, dword [eax + 0x64]
lea eax, [esp + 0x4c]
push eax
lea eax, [edi - 8]
push eax
mov eax, dword [ecx + 4]
push esi
call eax
add esp, 0x10
test eax, eax
je 0x1002ec0f
push dword [esp + 0x18]
lea eax, [esp + 0x4c]
push ebp
push eax
call sub.libcrypto_3.dll_CRYPTO_memcmp
add esp, 0xc
test eax, eax
jne 0x1002ec0f
mov ebp, dword [esp + 0x18]
inc ebx
add edi, 0x30
cmp ebx, dword [esp + 0x10]
jb 0x1002eb10
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, dword [esi + 4]
lea ecx, [esi + 0xce0]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
push ebp
mov eax, dword [eax + 0x64]
push edi
push 0
push ebx
mov eax, dword [eax]
push ecx
push esi
call eax
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x1002eccd
push esi
call fcn.1003af40
add esp, 4
mov ebp, ebx
test eax, eax
jne 0x1002efef
cmp ebp, 1
jne 0x1002ec9d
push esi
call fcn.1003b000
add esp, 4
test eax, eax
je 0x1002ec9d
mov ebx, dword [esp + 0x20]
push 0
push 0x68
push dword [ebx]
push esi
call fcn.1002dd20
add esp, 0x10
test eax, eax
je 0x1002efef
mov dword [esi + 0xd00], ebp
mov dword [ebx], 0
mov dword [esi + 0x9c0], ebp
add esi, 0x9b4
push esi
call fcn.1002b020
add esp, 4
mov ebx, ebp
jmp 0x1002eff2
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x230
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x119
push 0x14
jmp 0x1002f26e
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x228
jmp 0x1002e616
test ebp, ebp
je 0x1002eb73
mov eax, dword [esp + 0x10]
push 0x23c
shl eax, 3
push 0x1005e7f4
push eax
call sub.libcrypto_3.dll_CRYPTO_zalloc
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1002eb73
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x23e
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0xc0100
jmp 0x1002f26c
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x266
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x119
push 0x14
push esi
call fcn.1003aed0
add esp, 0x1c
jmp 0x1002efef
cmp dword [esp + 0x3c], 0
je 0x1002edbd
cmp dword [esi + 0x724], 0
je 0x1002edbd
test dword [esi + 0x7c], 0x100
jne 0x1002edbd
push dword [esi + 0x738]
call sub.libcrypto_3.dll_EVP_MD_CTX_get0_md
add esp, 4
test eax, eax
je 0x1002edbd
test ebx, ebx
je 0x1002edbd
mov eax, dword [esp + 0x10]
lea ebx, [esi + 0xce0]
mov dword [esp + 0x14], eax
nop
mov eax, dword [esi + 4]
lea ecx, [esp + 0x48]
push 0
push ecx
push ebx
mov eax, dword [eax + 0x64]
push esi
mov eax, dword [eax + 4]
call eax
add esp, 0x10
test eax, eax
je 0x1002ed5b
test edi, edi
je 0x1002ed5b
mov eax, dword [edi]
test eax, eax
je 0x1002ed5b
push dword [esp + 0x18]
push eax
lea eax, [esp + 0x50]
push eax
call sub.libcrypto_3.dll_CRYPTO_memcmp
add esp, 0xc
test eax, eax
je 0x1002ed5d
xor ebp, ebp
mov ecx, dword [esp + 0x18]
xor eax, eax
add ecx, 0x4400
cmp dword [ebx + 8], ecx
cmovbe eax, ebp
add edi, 8
add ebx, 0x30
mov ebp, eax
sub dword [esp + 0x14], 1
jne 0x1002ed20
test ebp, ebp
jne 0x1002edb9
push esi
call fcn.1003af40
add esp, 4
test eax, eax
jne 0x1002efeb
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x28e
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push ebp
push 0x119
push 0x14
jmp 0x1002efe2
mov ebx, dword [esp + 0x10]
xor ebp, ebp
test ebx, ebx
je 0x1002ef68
lea ebx, [esi + 0xce0]
nop dword [eax]
cmp dword [esi + 0x740], 0
je 0x1002edf8
cmp dword [ebx + 8], 0x4400
ja 0x1002efc0
push ebx
push esi
call fcn.1002e190
add esp, 8
test eax, eax
je 0x1002ef9f
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x1002eea0
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x1002eea0
cmp eax, 0x10000
je 0x1002eea0
cmp dword [esi + 0x724], 0
je 0x1002eea0
mov eax, dword [ebx + 4]
cmp eax, 0x15
je 0x1002eea0
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x1002f074
cmp eax, 0x17
jne 0x1002f074
add ecx, 0xffffffff
je 0x1002ee5b
mov eax, dword [ebx + 0x14]
nop dword [eax]
cmp byte [eax + ecx], 0
jne 0x1002ee5b
sub ecx, 1
jne 0x1002ee50
mov edx, dword [ebx + 0x14]
add edx, ecx
mov dword [ebx + 8], ecx
mov cl, byte [edx]
movzx eax, cl
mov dword [ebx + 4], eax
cmp cl, 0x17
je 0x1002ee7e
cmp cl, 0x15
je 0x1002ee7e
cmp cl, 0x16
jne 0x1002f04d
mov eax, dword [esi + 0x3dc]
test eax, eax
je 0x1002eea0
push dword [esi + 0x3e0]
push esi
push 1
push edx
push 0x101
push dword [esi]
push 0
call eax
add esp, 0x1c
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x64]
test byte [eax + 0x30], 8
jne 0x1002eed3
mov eax, dword [ecx]
cmp eax, 0x304
jl 0x1002eed3
cmp eax, 0x10000
je 0x1002eed3
mov eax, dword [ebx + 4]
cmp eax, 0x16
je 0x1002eec9
cmp eax, 0x15
jne 0x1002eed3
cmp dword [ebx + 8], 0
je 0x1002f085
mov edx, dword [ebx + 8]
cmp edx, 0x4000
ja 0x1002f0d1
mov eax, dword [esi + 0x7cc]
test eax, eax
je 0x1002ef0c
mov cl, byte [eax + 0x30c]
lea eax, [ecx - 1]
cmp al, 3
ja 0x1002ef0c
movzx ecx, cl
mov eax, 0x200
dec ecx
shl eax, cl
cmp edx, eax
ja 0x1002f0ac
mov dword [ebx + 0x10], 0
test edx, edx
jne 0x1002ef50
mov eax, dword [esi + 0x12f4]
inc eax
mov dword [esi + 0x12f4], eax
cmp eax, 0x20
jbe 0x1002ef5a
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x2f5
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x12a
push 0xa
jmp 0x1002efe2
mov dword [esi + 0x12f4], 0
inc ebp
add ebx, 0x30
cmp ebp, dword [esp + 0x10]
jb 0x1002edd0
cmp dword [esi + 0x68], 0xb
jne 0x1002ef8e
cmp dword [esi + 0xce4], 0x17
jne 0x1002ef8e
mov eax, dword [esp + 0x20]
push 0
push 0
push dword [eax]
push esi
call fcn.1002dd20
add esp, 0x10
test eax, eax
je 0x1002efeb
mov ebp, dword [esp + 0x10]
mov ebx, 1
mov dword [esi + 0x9c0], ebp
jmp 0x1002eff2
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x2a0
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x6b
push 0x1e
jmp 0x1002efe2
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x29b
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x8c
push 0x16
push esi
call fcn.1003aed0
add esp, 0x1c
mov ebp, dword [esp + 0x10]
or ebx, 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002f038
xor esi, esi
test ebp, ebp
je 0x1002f025
cmp dword [eax + esi*8 + 4], 0
je 0x1002f020
push 0x30c
push 0x1005e7f4
push dword [eax + esi*8]
call sub.libcrypto_3.dll_CRYPTO_free
mov eax, dword [esp + 0x28]
add esp, 0xc
inc esi
cmp esi, ebp
jb 0x1002f000
push 0x30e
push 0x1005e7f4
push eax
call sub.libcrypto_3.dll_CRYPTO_free
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1004e11b
add esp, 0x7c
ret
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x2ba
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x1bb
push 0xa
jmp 0x1002efe2
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x2ac
jmp 0x1002f05c
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x2ca
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x10f
push 0xa
jmp 0x1002efe2
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x2e3
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x92
jmp 0x1002efe0
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x2d8
jmp 0x1002f0bb
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x1a1
jmp 0x1002e799
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x181
jmp 0x1002e8c6
cmp dword [esi + 0x1318], 0
je 0x1002f1de
mov edi, dword [esi + 0x12e0]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
push 4
push str.GET
push edi
call ebx
add esp, 0xc
test eax, eax
je 0x1002f1b7
push 5
push str.POST
push edi
call ebx
add esp, 0xc
test eax, eax
je 0x1002f1b7
push 5
push str.HEAD
push edi
call ebx
add esp, 0xc
test eax, eax
je 0x1002f1b7
push 4
push str.PUT
push edi
call ebx
add esp, 0xc
test eax, eax
je 0x1002f1b7
push 5
push str.CONNE
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x1002f1a3
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x15d
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x9b
push 0xffffffffffffffff
jmp 0x1002f26e
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x163
jmp 0x1002e912
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x159
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0x9c
push 0xffffffffffffffff
jmp 0x1002f26e
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x167
jmp 0x1002e93e
mov eax, dword [esi + 0x3dc]
test eax, eax
je 0x1002f217
push dword [esi + 0x3e0]
push esi
push 5
push dword [esp + 0x30]
push 0x100
push 0
push 0
call eax
add esp, 0x1c
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0x123
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0xc0103
push 0x32
jmp 0x1002f26e
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0xf7
jmp 0x1002f226
call sub.libcrypto_3.dll_ERR_new
push str.ssl3_get_record
push 0xf1
push 0x1005e7f4
call sub.libcrypto_3.dll_ERR_set_debug
push 0
push 0xc0103
push 0x50
push esi
call fcn.1003aed0
add esp, 0x1c
or eax, 0xffffffff
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004e11b
add esp, 0x7c
ret