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

Disassembly:
mov eax, 0x5c
call fcn.1018f810
mov eax, dword [esp + 0x64]
push ebx
push ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x5c], eax
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov dword [esp + 0x40], 0x3a
push esi
push edi
test ebp, ebp
je 0x1016a513
mov esi, dword [ebp]
test esi, esi
jne 0x1016a52b
call fcn.101571b0
mov esi, eax
test esi, esi
jne 0x1016a52b
mov dword [esp + 0x68], 0x184
jmp 0x1016b6d8
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x30]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
test ecx, ecx
jne 0x1016a553
mov dword [esp + 0x5c], ecx
jmp 0x1016a559
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.100bad60
add esp, 8
test eax, eax
jne 0x1016a57c
mov dword [esp + 0x68], 0x18a
jmp 0x1016b6d8
mov eax, dword [esp + 0x40]
push dword [esp + 0x58]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x40], 0
push eax
mov dword [esp + 0x3c], 0
call fcn.100ceee0
add esp, 0xc
test eax, eax
jne 0x1016a5bb
mov dword [esp + 0x68], 0x18e
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
sub eax, edx
mov ecx, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], ecx
test eax, eax
je 0x1016a5f8
push eax
call fcn.100b6600
mov ecx, dword [esp + 0x5c]
add esp, 4
mov edx, dword [esp + 0x40]
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
push ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100ceee0
add esp, 0xc
test eax, eax
jne 0x1016a620
mov dword [esp + 0x68], 0x196
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.100bb860
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1016a65d
push eax
call fcn.100b6600
add esp, 4
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x40]
push dword [esp + 0x58]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push eax
mov dword [esp + 0x2c], 0
call fcn.100cef00
add esp, 0xc
test eax, eax
jne 0x1016a69c
mov dword [esp + 0x68], 0x1a1
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x1016a6e5
cmp dword [esp + 0x20], 3
je 0x1016a6c9
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1a5
jmp 0x1016b6d8
mov ecx, dword [esp + 0x28]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
or edx, 0x200
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
jmp 0x1016a740
mov eax, edi
sar eax, 8
cmp eax, 3
je 0x1016a713
cmp eax, 0xfe
je 0x1016a713
cmp edi, 0x100
je 0x1016a713
mov dword [esp + 0x48], 0xfe
mov dword [esp + 0x68], 0x1b7
jmp 0x1016b6d8
cmp dword [esp + 0x20], 2
je 0x1016a72f
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x68], 0x1b0
jmp 0x1016b6d8
mov eax, dword [esp + 0x28]
movzx edx, byte [eax]
movzx eax, byte [eax + 1]
or edx, 0x30000
shl edx, 8
or edx, eax
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], edx
mov eax, dword [esp + 0x40]
push dword [esp + 0x58]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100cef00
add esp, 0xc
test eax, eax
jne 0x1016a784
mov dword [esp + 0x68], 0x1be
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
mov ecx, 0x20
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x20], eax
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x20]
cmp eax, ecx
jle 0x1016a7c8
push str.os.length____int_sizeof_ret__session_id_
push 0x1ca
push str.._ssl_ssl_asn1.c
call fcn.100cde30
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call fcn.101a6860
mov eax, dword [esp + 0x4c]
push dword [esp + 0x64]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.100cef00
add esp, 0x18
test eax, eax
jne 0x1016a805
mov dword [esp + 0x68], 0x1cd
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x1016a828
mov dword [esi + 0x10], 0x30
mov eax, 0x30
jmp 0x1016a82f
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x20]
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x14]
push eax
call fcn.101a6860
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x1016a8ab
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
mov al, bl
and al, 0xdf
cmp al, 0x80
jne 0x1016a8ab
mov al, bl
and al, 0x20
or al, 4
mov byte [edx], al
mov eax, dword [esp + 0x40]
push dword [esp + 0x58]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100cef00
add esp, 0xc
test eax, eax
jne 0x1016a897
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x1e7
mov byte [eax], bl
jmp 0x1016b6d8
mov ecx, dword [esp + 0x60]
mov eax, ecx
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov byte [ecx], bl
mov ecx, dword [esp + 0x20]
cmp ecx, 8
jle 0x1016a8be
mov dword [esi + 4], 8
mov eax, 8
jmp 0x1016a8c5
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x20]
push eax
push dword [esp + 0x2c]
lea eax, [esi + 8]
push eax
call fcn.101a6860
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x1016a8e7
push eax
call fcn.100b6600
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x1016a9d0
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x1016a9d0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x64], ecx
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100baa60
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016a944
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1f1
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016a960
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1016a964
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100ceee0
add esp, 0xc
test eax, eax
jne 0x1016a988
mov dword [esp + 0x68], 0x1f1
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016a9c4
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.100baa30
add esp, 8
test eax, eax
jne 0x1016a9c4
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1f1
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x1016a9fc
push dword [esp + 0x70]
call fcn.100bb860
mov dword [esi + 0xac], eax
push dword [esp + 0x3c]
call fcn.100b6600
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x1016aa0c
push 0
call fcn.101b68c7
add esp, 4
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x1016aaf5
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x1016aaf5
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x64], ecx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100baa60
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016aa69
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1fb
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016aa85
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1016aa89
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100ceee0
add esp, 0xc
test eax, eax
jne 0x1016aaad
mov dword [esp + 0x68], 0x1fb
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016aae9
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.100baa30
add esp, 8
test eax, eax
jne 0x1016aae9
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1fb
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x1016ab29
push dword [esp + 0x70]
call fcn.100bb860
mov dword [esi + 0xa8], eax
push dword [esp + 0x3c]
call fcn.100b6600
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x1016ab33
mov dword [esi + 0xa8], 3
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
test eax, eax
je 0x1016ab52
push eax
call fcn.100c06f0
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x1016ac37
cmp byte [edx], 0xa3
jne 0x1016ac37
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100baa60
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016aba7
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x208
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016abc3
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1016abc7
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.100c0780
add esp, 0xc
test eax, eax
jne 0x1016abe7
mov dword [esp + 0x68], 0x208
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016ac23
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.100baa30
add esp, 8
test eax, eax
jne 0x1016ac23
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x208
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
sub eax, edx
mov ecx, dword [esp + 0x58]
add ecx, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x1016ad91
cmp byte [edx], 0xa4
jne 0x1016ad91
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100baa60
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016ac94
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x20c
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016acb0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1016acb4
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100cef00
add esp, 0xc
test eax, eax
jne 0x1016acd8
mov dword [esp + 0x68], 0x20c
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016ad14
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.100baa30
add esp, 8
test eax, eax
jne 0x1016ad14
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x20c
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1016ad91
mov ecx, dword [esp + 0x20]
cmp ecx, 0x20
jle 0x1016ad5f
push eax
mov dword [esp + 0x4c], 0x10f
mov dword [esp + 0x6c], 0x211
call fcn.100b6600
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x1016b6d8
mov dword [esi + 0x68], ecx
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call fcn.101a6860
push dword [esp + 0x34]
call fcn.100b6600
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x1016ad98
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x1016ae81
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x1016ae81
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x64], ecx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100baa60
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016adf5
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x221
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016ae11
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1016ae15
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100ceee0
add esp, 0xc
test eax, eax
jne 0x1016ae39
mov dword [esp + 0x68], 0x221
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016ae75
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.100baa30
add esp, 8
test eax, eax
jne 0x1016ae75
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x221
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x1016aeb5
push dword [esp + 0x70]
call fcn.100bb860
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.100b6600
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x1016aebf
mov dword [esi + 0xa0], 0
mov edx, dword [esp + 0x58]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
test edx, edx
je 0x1016afb4
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xa6
jne 0x1016afb4
push edx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edi
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100baa60
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016af20
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x22d
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016af3c
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1016af40
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100cef00
add esp, 0xc
test eax, eax
jne 0x1016af64
mov dword [esp + 0x68], 0x22d
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016afa0
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.100baa30
add esp, 8
test eax, eax
jne 0x1016afa0
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x22d
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x1016afd3
push ecx
push eax
call fcn.100ccb20
mov dword [esi + 0xd0], eax
push dword [esp + 0x30]
call fcn.100b6600
add esp, 0xc
jmp 0x1016afdd
mov dword [esi + 0xd0], 0
mov edx, dword [esp + 0x58]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
test edx, edx
je 0x1016b0d2
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xa7
jne 0x1016b0d2
push edx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edi
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100baa60
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016b03e
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x23a
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016b05a
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1016b05e
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100cef00
add esp, 0xc
test eax, eax
jne 0x1016b082
mov dword [esp + 0x68], 0x23a
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016b0be
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.100baa30
add esp, 8
test eax, eax
jne 0x1016b0be
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x23a
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x1016b0f1
push ecx
push eax
call fcn.100ccb20
mov dword [esi + 0x8c], eax
push dword [esp + 0x30]
call fcn.100b6600
add esp, 0xc
jmp 0x1016b0fb
mov dword [esi + 0x8c], 0
mov edx, dword [esp + 0x58]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
test edx, edx
je 0x1016b1f0
mov edi, dword [esp + 0x40]
cmp byte [edi], 0xa8
jne 0x1016b1f0
push edx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edi
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100baa60
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016b15c
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x245
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016b178
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1016b17c
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100cef00
add esp, 0xc
test eax, eax
jne 0x1016b1a0
mov dword [esp + 0x68], 0x245
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016b1dc
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.100baa30
add esp, 8
test eax, eax
jne 0x1016b1dc
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x245
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x1016b21f
push ecx
push eax
call fcn.100ccb20
mov dword [esi + 0x90], eax
push dword [esp + 0x30]
call fcn.100b6600
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x1016b229
mov dword [esi + 0x90], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x1016b312
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x1016b312
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x64], ecx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100baa60
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016b286
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x251
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016b2a2
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1016b2a6
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100ceee0
add esp, 0xc
test eax, eax
jne 0x1016b2ca
mov dword [esp + 0x68], 0x251
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016b306
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.100baa30
add esp, 8
test eax, eax
jne 0x1016b306
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x251
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x1016b346
push dword [esp + 0x70]
call fcn.100bb860
mov dword [esi + 0xec], eax
push dword [esp + 0x3c]
call fcn.100b6600
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x1016b36b
cmp dword [esi + 0xe8], 0
je 0x1016b361
cmp dword [esi + 0x44], 0
je 0x1016b361
mov dword [esi + 0xec], 0xffffffff
jmp 0x1016b36b
mov dword [esi + 0xec], 0
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x1016b45e
mov edx, dword [esp + 0x40]
cmp byte [edx], 0xaa
jne 0x1016b45e
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100baa60
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016b3ce
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x25d
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016b3ea
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1016b3ee
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100cef00
add esp, 0xc
test eax, eax
jne 0x1016b412
mov dword [esp + 0x68], 0x25d
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016b44e
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.100baa30
add esp, 8
test eax, eax
jne 0x1016b44e
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x25d
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1016b474
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xe8], eax
jmp 0x1016b47e
mov dword [esi + 0xe4], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x1016b59c
cmp byte [edx], 0xab
jne 0x1016b59c
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100baa60
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016b4e3
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x269
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016b4ff
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1016b503
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100cef00
add esp, 0xc
test eax, eax
jne 0x1016b527
mov dword [esp + 0x68], 0x269
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016b563
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.100baa30
add esp, 8
test eax, eax
jne 0x1016b563
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x269
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
sub eax, edx
mov ecx, dword [esp + 0x58]
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
test eax, eax
je 0x1016b59c
movzx eax, byte [eax]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
call fcn.100b6600
mov ecx, dword [esp + 0x5c]
add esp, 4
mov edx, dword [esp + 0x40]
xor edi, edi
xor eax, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x1016b686
cmp byte [edx], 0xac
jne 0x1016b686
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100baa60
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1016b5f5
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x274
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016b611
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x40]
add eax, 0xfffffffe
add eax, ecx
mov dword [esp + 0x14], eax
jmp 0x1016b615
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100cef00
add esp, 0xc
test eax, eax
jne 0x1016b639
mov dword [esp + 0x68], 0x274
jmp 0x1016b6d8
cmp ebx, 0x21
jne 0x1016b672
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.100baa30
add esp, 8
test eax, eax
jne 0x1016b672
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x274
jmp 0x1016b6d8
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
test eax, eax
je 0x1016b6b5
push edi
push eax
call fcn.100ccb20
mov dword [esi + 0xf0], eax
push dword [esp + 0x30]
call fcn.100b6600
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x1016b6bf
mov dword [esi + 0xf0], 0
lea eax, [esp + 0x40]
push eax
call fcn.100bae60
add esp, 4
test eax, eax
jne 0x1016b727
mov dword [esp + 0x68], 0x27e
push dword [esp + 0x68]
push str.._ssl_ssl_asn1.c
push dword [esp + 0x50]
push 0x67
push 0xd
call fcn.100c4710
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.100badf0
add esp, 0x1c
test esi, esi
je 0x1016b71d
test ebp, ebp
je 0x1016b714
cmp dword [ebp], esi
je 0x1016b71d
push esi
call fcn.10156fd0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
test ebp, ebp
je 0x1016b738
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret