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

Disassembly:
mov eax, 0x5c
call fcn.10079f60
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 0x10017f83
mov esi, dword [ebp]
test esi, esi
jne 0x10017f9b
call fcn.100070a0
mov esi, eax
test esi, esi
jne 0x10017f9b
mov dword [esp + 0x68], 0x12c
jmp 0x10018dad
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 0x10017fc3
mov dword [esp + 0x5c], ecx
jmp 0x10017fc9
add eax, ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.1003b8f0
add esp, 8
test eax, eax
jne 0x10017fec
mov dword [esp + 0x68], 0x132
jmp 0x10018dad
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.1003ad20
add esp, 0xc
test eax, eax
jne 0x1001802b
mov dword [esp + 0x68], 0x136
jmp 0x10018dad
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 0x10018068
push eax
call fcn.10022e60
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.1003ad20
add esp, 0xc
test eax, eax
jne 0x10018090
mov dword [esp + 0x68], 0x13e
jmp 0x10018dad
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
push dword [esp + 0x70]
add dword [esp + 0x5c], eax
call fcn.1003ae40
mov edi, eax
add esp, 4
mov dword [esi], edi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100180cd
push eax
call fcn.10022e60
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.1003ad40
add esp, 0xc
test eax, eax
jne 0x1001810c
mov dword [esp + 0x68], 0x149
jmp 0x10018dad
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp edi, 2
jne 0x1001814d
cmp dword [esp + 0x20], 3
je 0x10018131
mov dword [esp + 0x48], 0x89
jmp 0x10018dad
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 0x10018184
and edi, 0xffffff00
cmp edi, 0x300
jl 0x10018da5
cmp dword [esp + 0x20], 2
je 0x10018173
mov dword [esp + 0x48], 0x89
jmp 0x10018dad
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 + 0xac], 0
mov dword [esi + 0xb0], 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.1003ad40
add esp, 0xc
test eax, eax
jne 0x100181c8
mov dword [esp + 0x68], 0x161
jmp 0x10018dad
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 0x1001820c
push str.os.length____int_sizeof_ret__session_id_
push 0x16d
push str.._ssl_ssl_asn1.c
call fcn.10022bf0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push dword [esp + 0x2c]
lea eax, [esi + 0x48]
push eax
call fcn.10078a50
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.1003ad40
add esp, 0x18
test eax, eax
jne 0x10018249
mov dword [esp + 0x68], 0x170
jmp 0x10018dad
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x30
jle 0x10018267
mov dword [esi + 0x10], 0x30
jmp 0x1001826a
mov dword [esi + 0x10], eax
push dword [esi + 0x10]
lea eax, [esi + 0x14]
push dword [esp + 0x2c]
push eax
call fcn.10078a50
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], ecx
je 0x100182f7
mov edx, dword [esp + 0x40]
mov bl, byte [edx]
movzx eax, bl
and al, 0xdf
cmp al, 0x80
jne 0x100182f7
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.1003ad40
add esp, 0xc
test eax, eax
jne 0x100182d5
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], 0x18a
mov byte [eax], bl
jmp 0x10018dad
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 0x100182f7
mov dword [esi + 4], 8
jmp 0x100182fa
mov dword [esi + 4], ecx
push dword [esi + 4]
lea eax, [esi + 8]
push dword [esp + 0x2c]
push eax
call fcn.10078a50
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x1001831e
push eax
call fcn.10022e60
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x10018407
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa1
jne 0x10018407
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.1003b630
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1001837b
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x194
jmp 0x10018dad
cmp ebx, 0x21
jne 0x10018397
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 0x1001839b
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.1003ad20
add esp, 0xc
test eax, eax
jne 0x100183bf
mov dword [esp + 0x68], 0x194
jmp 0x10018dad
cmp ebx, 0x21
jne 0x100183fb
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.1003b600
add esp, 8
test eax, eax
jne 0x100183fb
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x194
jmp 0x10018dad
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x10018433
push dword [esp + 0x70]
call fcn.1003ae40
mov dword [esi + 0xa4], eax
push dword [esp + 0x3c]
call fcn.10022e60
add esp, 8
mov dword [esp + 0x38], 0
jmp 0x10018443
push 0
call fcn.100789f8
add esp, 4
mov dword [esi + 0xa4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x1001852c
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa2
jne 0x1001852c
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.1003b630
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x100184a0
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x19e
jmp 0x10018dad
cmp ebx, 0x21
jne 0x100184bc
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 0x100184c0
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.1003ad20
add esp, 0xc
test eax, eax
jne 0x100184e4
mov dword [esp + 0x68], 0x19e
jmp 0x10018dad
cmp ebx, 0x21
jne 0x10018520
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.1003b600
add esp, 8
test eax, eax
jne 0x10018520
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x19e
jmp 0x10018dad
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x10018560
push dword [esp + 0x70]
call fcn.1003ae40
mov dword [esi + 0xa0], eax
push dword [esp + 0x3c]
call fcn.10022e60
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x1001856a
mov dword [esi + 0xa0], 3
mov eax, dword [esi + 0x94]
lea edi, [esi + 0x94]
test eax, eax
je 0x10018589
push eax
call fcn.10028e60
add esp, 4
mov dword [edi], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x1001866e
cmp byte [edx], 0xa3
jne 0x1001866e
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.1003b630
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x100185de
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1ab
jmp 0x10018dad
cmp ebx, 0x21
jne 0x100185fa
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 0x100185fe
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push edi
call fcn.10028e80
add esp, 0xc
test eax, eax
jne 0x1001861e
mov dword [esp + 0x68], 0x1ab
jmp 0x10018dad
cmp ebx, 0x21
jne 0x1001865a
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.1003b600
add esp, 8
test eax, eax
jne 0x1001865a
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1ab
jmp 0x10018dad
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 0x100187a6
cmp byte [edx], 0xa4
jne 0x100187a6
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.1003b630
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x100186cb
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1af
jmp 0x10018dad
cmp ebx, 0x21
jne 0x100186e7
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 0x100186eb
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003ad40
add esp, 0xc
test eax, eax
jne 0x1001870f
mov dword [esp + 0x68], 0x1af
jmp 0x10018dad
cmp ebx, 0x21
jne 0x1001874b
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.1003b600
add esp, 8
test eax, eax
jne 0x1001874b
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1af
jmp 0x10018dad
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x28], 0
je 0x100187a6
mov eax, dword [esp + 0x20]
cmp eax, 0x20
jle 0x10018774
mov dword [esp + 0x48], 0x10f
jmp 0x10018dad
mov dword [esi + 0x68], eax
lea eax, [esi + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push eax
call fcn.10078a50
push dword [esp + 0x34]
call fcn.10022e60
add esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x100187ad
mov dword [esi + 0x68], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x10018896
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa5
jne 0x10018896
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.1003b630
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x1001880a
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1c0
jmp 0x10018dad
cmp ebx, 0x21
jne 0x10018826
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 0x1001882a
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.1003ad20
add esp, 0xc
test eax, eax
jne 0x1001884e
mov dword [esp + 0x68], 0x1c0
jmp 0x10018dad
cmp ebx, 0x21
jne 0x1001888a
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.1003b600
add esp, 8
test eax, eax
jne 0x1001888a
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1c0
jmp 0x10018dad
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x100188ca
push dword [esp + 0x70]
call fcn.1003ae40
mov dword [esi + 0x98], eax
push dword [esp + 0x3c]
call fcn.10022e60
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x100188d4
mov dword [esi + 0x98], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x100189fb
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa6
jne 0x100189fb
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.1003b630
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10018939
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1cc
jmp 0x10018dad
cmp ebx, 0x21
jne 0x10018955
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 0x10018959
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003ad40
add esp, 0xc
test eax, eax
jne 0x1001897d
mov dword [esp + 0x68], 0x1cc
jmp 0x10018dad
cmp ebx, 0x21
jne 0x100189b9
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.1003b600
add esp, 8
test eax, eax
jne 0x100189b9
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1cc
jmp 0x10018dad
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100189fb
push dword [esp + 0x20]
push eax
call fcn.1002b7e0
mov dword [esi + 0xc8], eax
push dword [esp + 0x30]
call fcn.10022e60
add esp, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jmp 0x10018a05
mov dword [esi + 0xc8], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0
test eax, eax
je 0x10018aee
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xa9
jne 0x10018aee
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.1003b630
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10018a62
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1d5
jmp 0x10018dad
cmp ebx, 0x21
jne 0x10018a7e
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 0x10018a82
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.1003ad20
add esp, 0xc
test eax, eax
jne 0x10018aa6
mov dword [esp + 0x68], 0x1d5
jmp 0x10018dad
cmp ebx, 0x21
jne 0x10018ae2
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.1003b600
add esp, 8
test eax, eax
jne 0x10018ae2
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1d5
jmp 0x10018dad
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
cmp dword [esp + 0x38], 0
je 0x10018b22
push dword [esp + 0x70]
call fcn.1003ae40
mov dword [esi + 0xd4], eax
push dword [esp + 0x3c]
call fcn.10022e60
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jmp 0x10018b47
cmp dword [esi + 0xd0], 0
je 0x10018b3d
cmp dword [esi + 0x44], 0
je 0x10018b3d
mov dword [esi + 0xd4], 0xffffffff
jmp 0x10018b47
mov dword [esi + 0xd4], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x10018c52
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xaa
jne 0x10018c52
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.1003b630
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10018bac
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1e1
jmp 0x10018dad
cmp ebx, 0x21
jne 0x10018bc8
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 0x10018bcc
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003ad40
add esp, 0xc
test eax, eax
jne 0x10018bf0
mov dword [esp + 0x68], 0x1e1
jmp 0x10018dad
cmp ebx, 0x21
jne 0x10018c2c
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.1003b600
add esp, 8
test eax, eax
jne 0x10018c2c
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1e1
jmp 0x10018dad
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10018c52
mov dword [esi + 0xcc], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xd0], eax
jmp 0x10018c5c
mov dword [esi + 0xcc], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x10018d6f
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0xab
jne 0x10018d6f
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.1003b630
mov ebx, eax
add esp, 0x14
test bl, bl
jns 0x10018cc1
mov dword [esp + 0x48], 0x3b
mov dword [esp + 0x68], 0x1ed
jmp 0x10018dad
cmp ebx, 0x21
jne 0x10018cdd
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 0x10018ce1
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003ad40
add esp, 0xc
test eax, eax
jne 0x10018d05
mov dword [esp + 0x68], 0x1ed
jmp 0x10018dad
cmp ebx, 0x21
jne 0x10018d3e
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.1003b600
add esp, 8
test eax, eax
jne 0x10018d3e
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], 0x1ed
jmp 0x10018dad
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10018d6f
movzx eax, byte [eax]
mov dword [esi + 0xa8], eax
push dword [esp + 0x28]
call fcn.10022e60
add esp, 4
mov dword [esp + 0x28], 0
lea eax, [esp + 0x40]
push eax
call fcn.1003b9f0
add esp, 4
test eax, eax
jne 0x10018d8a
mov dword [esp + 0x68], 0x1f5
jmp 0x10018dad
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
test ebp, ebp
je 0x10018d9b
mov dword [ebp], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov dword [esp + 0x48], 0xfe
push dword [esp + 0x68]
push str.._ssl_ssl_asn1.c
push dword [esp + 0x50]
push 0x67
push 0xd
call fcn.100265e0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
call fcn.1003b980
add esp, 0x1c
test esi, esi
je 0x10018df2
test ebp, ebp
je 0x10018de9
cmp dword [ebp], esi
je 0x10018df2
push esi
call fcn.10006ec0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret