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

Disassembly:
mov eax, 0x2ec
call fcn.004de730
mov eax, dword [0x624394]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2fc]
lea ecx, [esp + 0x2c]
push ecx
xor eax, eax
xor ebp, ebp
push 0x800
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 8]
push 0x10
push 0x2191
push 0x2190
mov eax, dword [eax + 0x30]
push esi
call eax
add esp, 0x18
mov ebx, eax
cmp dword [esp + 0x2c], ebp
je 0x5a5547
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x40]
mov dword [esp + 0xc], edx
push edi
mov edi, dword [eax + 0x344]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x14], ecx
test cl, 1
je 0x5a4a06
cmp dword [eax + 0x370], ebp
je 0x5a4712
mov edi, dword [esi + 0x98]
test edi, edi
je 0x5a46fe
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x5a4737
push 0x8a9
push str.._ssl_s3_srvr.c
push 0xad
jmp 0x5a54ea
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 0x40]
test edi, edi
je 0x5a49f2
cmp dword [edi], 6
jne 0x5a49f2
mov edi, dword [edi + 0x14]
test edi, edi
je 0x5a49f2
mov eax, dword [esi]
cmp eax, 0x300
jle 0x5a4791
cmp eax, 0x100
je 0x5a4791
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
add edx, 2
shl ecx, 8
or ecx, eax
mov dword [esp + 0x10], edx
lea eax, [ecx + 2]
cmp ebx, eax
je 0x5a478f
test dword [esi + 0x100], 0x100
jne 0x5a4786
push 0x8c0
push str.._ssl_s3_srvr.c
mov edi, 0x32
push 0xea
jmp 0x5a54ef
sub edx, 2
mov dword [esp + 0x10], edx
jmp 0x5a4791
mov ebx, ecx
cmp ebx, 0x30
jge 0x5a47af
push 0x8d2
push str.._ssl_s3_srvr.c
mov edi, 0x33
push 0xea
jmp 0x5a54ef
lea eax, [esp + 0x40]
push 0x30
push eax
call fcn.005122d0
add esp, 8
test eax, eax
jle 0x5a550a
mov eax, dword [esp + 0x10]
push 3
push edi
push eax
push eax
push ebx
call fcn.0050f5e0
add esp, 0x14
test eax, eax
js 0x5a550a
cmp eax, 0x3b
jge 0x5a47fe
push 0x8f5
push str.._ssl_s3_srvr.c
mov edi, 0x33
push 0x93
jmp 0x5a54ef
mov edi, dword [esp + 0x10]
lea edx, [eax - 0x30]
lea ebp, [edx - 1]
mov dword [esp + 0x14], edx
mov edx, 2
movzx eax, byte [edi + 1]
movzx ecx, byte [edi]
xor eax, 2
lea ebx, [eax - 1]
not eax
shr eax, 0x1f
shr ebx, 0x1f
and bl, al
lea eax, [ecx - 1]
shr eax, 0x1f
not ecx
shr ecx, 0x1f
neg bl
and al, cl
neg al
and bl, al
cmp ebp, edx
jbe 0x5a485a
nop
movzx eax, byte [edx + edi]
inc edx
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and cl, al
dec cl
and bl, cl
cmp edx, ebp
jb 0x5a4840
mov ebp, dword [esp + 0x14]
add ebp, edi
movzx eax, byte [ebp - 1]
mov dword [esp + 0x10], ebp
movzx edx, byte [ebp + 1]
movzx edi, byte [ebp]
lea ecx, [eax - 1]
mov dword [esp + 0x14], edx
not eax
shr ecx, 0x1f
shr eax, 0x1f
and cl, al
mov eax, dword [esi + 0x110]
neg cl
and bl, cl
mov ecx, eax
movzx eax, al
xor eax, edx
sar ecx, 8
xor ecx, edi
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and dl, al
lea eax, [ecx - 1]
shr eax, 0x1f
not ecx
shr ecx, 0x1f
neg dl
and al, cl
neg al
and dl, al
test dword [esi + 0x100], 0x800000
mov dword [esp + 0x1c], edx
je 0x5a48fd
mov eax, dword [esi]
mov edx, eax
movzx eax, al
xor eax, dword [esp + 0x14]
sar edx, 8
xor edx, edi
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and cl, al
lea eax, [edx - 1]
not edx
shr eax, 0x1f
shr edx, 0x1f
neg cl
and al, dl
mov edx, dword [esp + 0x1c]
neg al
and cl, al
or dl, cl
and bl, dl
xor edi, edi
movzx eax, bl
mov bl, al
mov dword [esp + 0x18], eax
not bl
nop dword [eax]
and al, byte [edi + ebp]
movzx ecx, byte [esp + edi + 0x40]
and cl, bl
or cl, al
mov al, bl
mov byte [edi + ebp], cl
and al, byte [esp + edi + 0x41]
mov edx, dword [esp + 0x10]
movzx ecx, byte [edx + edi + 1]
and cl, byte [esp + 0x18]
or cl, al
mov byte [edx + edi + 1], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x42]
and cl, bl
movzx eax, byte [edx + edi + 2]
and al, byte [esp + 0x18]
or cl, al
movzx eax, byte [esp + 0x18]
mov byte [edx + edi + 2], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x43]
and cl, bl
and al, byte [edx + edi + 3]
or cl, al
mov byte [edx + edi + 3], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x44]
and cl, bl
movzx eax, byte [edx + edi + 4]
and al, byte [esp + 0x18]
or cl, al
mov byte [edx + edi + 4], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x45]
and cl, bl
movzx eax, byte [edx + edi + 5]
and al, byte [esp + 0x18]
or cl, al
mov byte [edx + edi + 5], cl
add edi, 6
cmp edi, 0x30
jae 0x5a49b5
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
jmp 0x5a4910
mov eax, dword [esi + 8]
push 0x30
push dword [esp + 0x14]
mov ecx, dword [eax + 0x64]
mov eax, dword [esi + 0xc0]
add eax, 0x14
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov ecx, dword [esi + 0xc0]
push 0x30
mov dword [ecx + 0x10], eax
push dword [esp + 0x24]
call fcn.00401360
add esp, 0x18
mov eax, 1
jmp 0x5a5546
push 0x8b3
push str.._ssl_s3_srvr.c
push 0xa8
jmp 0x5a54ea
test cl, 0xe
je 0x5a4c52
mov dword [esp + 0x1c], ebp
cmp ebx, 1
jle 0x5a4a2d
movzx edi, byte [edx]
movzx eax, byte [edx + 1]
shl edi, 8
or edi, eax
add edx, 2
mov dword [esp + 0x10], edx
jmp 0x5a4a48
test cl, 8
je 0x5a4a46
push 0x946
push str.._ssl_s3_srvr.c
push 0x94
jmp 0x5a54ea
xor edi, edi
test ebx, ebx
je 0x5a4a8a
lea eax, [edi + 2]
cmp ebx, eax
je 0x5a4a8a
test byte [esi + 0x100], 0x80
jne 0x5a4a81
push 0x94e
push str.._ssl_s3_srvr.c
push 0x94
push 0x8b
push 0x14
call fcn.00514f30
mov edi, 0x28
jmp 0x5a54fb
sub edx, 2
mov edi, ebx
mov dword [esp + 0x10], edx
test cl, 2
je 0x5a4a96
mov eax, 3
jmp 0x5a4aa0
test cl, 4
je 0x5a4adf
mov eax, 4
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x98]
mov eax, dword [eax + ecx*4 + 0x40]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x5a4acb
cmp dword [eax], 0x1c
jne 0x5a4acb
mov eax, dword [eax + 0x14]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5a4b04
push 0x960
push str.._ssl_s3_srvr.c
push 0xa8
jmp 0x5a54ea
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x348]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5a4b04
push 0x967
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x5a54ea
test ebx, ebx
jne 0x5a4b65
mov eax, dword [esi + 0xc0]
push dword [eax + 0x9c]
call fcn.00511ac0
mov edi, eax
add esp, 4
test edi, edi
je 0x5a4b51
push dword [esp + 0x1c]
push edi
call fcn.0050ed40
add esp, 8
cmp eax, 1
jne 0x5a4b51
push edi
call fcn.0050eec0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x5a4b51
push edi
call fcn.0050ee40
mov ebx, dword [ebp + 0x14]
add esp, 4
jmp 0x5a4b73
push 0x976
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x5a54ea
push 0
push edi
push edx
call fcn.0050a920
add esp, 0xc
mov ebx, eax
test ebx, ebx
jne 0x5a4b9a
push 0x97e
push str.._ssl_s3_srvr.c
push 0x82
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a550a
push dword [esp + 0x14]
push ebx
push dword [esp + 0x18]
call fcn.00549080
mov edi, eax
add esp, 0xc
test edi, edi
jg 0x5a4bdc
push 0x986
push str.._ssl_s3_srvr.c
push 5
push 0x8b
push 0x14
mov edi, 0x28
call fcn.00514f30
push ebx
call fcn.0050aa80
add esp, 0x18
jmp 0x5a54fe
mov eax, dword [esi + 0x58]
push dword [eax + 0x348]
call fcn.00522340
mov eax, dword [esi + 0x58]
add esp, 4
mov dword [eax + 0x348], 0
test ebp, ebp
je 0x5a4c06
push ebp
call fcn.00522340
jmp 0x5a4c0c
push ebx
call fcn.0050aa80
mov eax, dword [esi + 8]
add esp, 4
mov ecx, dword [eax + 0x64]
mov eax, dword [esi + 0xc0]
push edi
push dword [esp + 0x14]
add eax, 0x14
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov ecx, dword [esi + 0xc0]
push edi
mov dword [ecx + 0x10], eax
push dword [esp + 0x24]
call fcn.00401360
add esp, 0x18
test ebp, ebp
je 0x5a49e8
mov eax, 2
jmp 0x5a5546
test cl, 0xe0
je 0x5a4f2b
call fcn.005221b0
mov dword [esp + 0x20], eax
test eax, eax
jne 0x5a4c88
push 0xa64
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a550a
test byte [esp + 0x14], 0x60
je 0x5a4ca0
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0xcc]
mov ebp, dword [eax + 0x14]
jmp 0x5a4ca9
mov eax, dword [esi + 0x58]
mov ebp, dword [eax + 0x34c]
push ebp
call fcn.0052cdf0
push ebp
mov edi, eax
call fcn.0057d480
mov ebp, eax
mov eax, dword [esp + 0x28]
push edi
push eax
call fcn.00522270
add esp, 0x10
test eax, eax
je 0x5a4f0b
push ebp
mov ebp, dword [esp + 0x24]
push ebp
call fcn.005222a0
add esp, 8
test eax, eax
je 0x5a4f0b
push edi
call fcn.0052d370
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x5a4d00
push 0xa7f
jmp 0x5a4c6d
test ebx, ebx
jne 0x5a4d9e
test byte [esp + 0x14], 0x80
je 0x5a4d23
push 0xa89
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x5a54ea
mov eax, dword [esi + 0xc0]
push dword [eax + 0x9c]
call fcn.00511ac0
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x5a4d8a
cmp dword [eax], 0x198
jne 0x5a4d8a
push dword [eax + 0x14]
call fcn.0050bcc0
push eax
push dword [esp + 0x20]
call fcn.0052cf30
add esp, 0xc
test eax, eax
jne 0x5a4d80
push 0xa9f
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a550a
mov ebx, 2
jmp 0x5a4e24
push 0xa98
push str.._ssl_s3_srvr.c
push 0x139
jmp 0x5a54ea
call fcn.00524340
mov dword [esp + 0x24], eax
test eax, eax
jne 0x5a4db5
push 0xaaa
jmp 0x5a4c6d
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
lea eax, [edx + 1]
cmp ebx, eax
je 0x5a4ded
push 0xab2
push str.._ssl_s3_srvr.c
push 0x9f
push 0x8b
push 0x14
call fcn.00514f30
mov edi, 0x32
jmp 0x5a54fb
push dword [esp + 0x24]
push edx
push ecx
push dword [esp + 0x24]
push edi
call fcn.0056f870
add esp, 0x14
test eax, eax
jne 0x5a4e15
push 0xab7
push str.._ssl_s3_srvr.c
push 0x10
jmp 0x5a4a6b
mov eax, dword [esi + 0x3c]
mov ebx, 1
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
push edi
call fcn.0052ca50
add esp, 4
test eax, eax
jg 0x5a4e51
push 0xac5
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a550a
add eax, 7
cdq
push 0
push ebp
push dword [esp + 0x20]
and edx, 7
add eax, edx
sar eax, 3
push eax
push dword [esp + 0x20]
call fcn.00561030
mov edi, eax
add esp, 0x14
test edi, edi
jg 0x5a4e97
push 0xacb
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a550a
push dword [esp + 0x28]
call fcn.0050ee40
push dword [esp + 0x1c]
call fcn.0052d060
push ebp
call fcn.00521f40
push dword [esp + 0x30]
call fcn.005242b0
mov eax, dword [esi + 0x58]
push dword [eax + 0x34c]
call fcn.00521f40
mov eax, dword [esi + 0x58]
push edi
mov dword [eax + 0x34c], 0
mov eax, dword [esi + 8]
push dword [esp + 0x28]
mov ecx, dword [eax + 0x64]
mov eax, dword [esi + 0xc0]
add eax, 0x14
push eax
mov ecx, dword [ecx + 0xc]
push esi
call ecx
mov ecx, dword [esi + 0xc0]
push edi
mov dword [ecx + 0x10], eax
push dword [esp + 0x38]
call fcn.00401360
add esp, 0x2c
mov eax, ebx
jmp 0x5a5546
push 0xa79
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a550a
test ecx, 0x100
je 0x5a51f9
movzx ebp, byte [edx]
mov edi, 0x28
movzx eax, byte [edx + 1]
add edx, 2
shl ebp, 8
or ebp, eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], edx
lea eax, [ebp + 2]
cmp ebx, eax
je 0x5a4f81
push 0xaed
push str.._ssl_s3_srvr.c
push 0x9f
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a51cf
cmp ebp, 0x80
jbe 0x5a4fac
push 0xaf2
push str.._ssl_s3_srvr.c
push 0x92
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a51cf
mov ebx, dword [esi + 0xe0]
test ebx, ebx
jne 0x5a4fd9
push 0xaf7
push str.._ssl_s3_srvr.c
push 0xe1
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a51cf
push ebp
push edx
lea eax, [esp + 0x78]
push eax
call fcn.004e0bc0
mov eax, 0x81
sub eax, ebp
push eax
lea eax, [esp + 0x80]
add eax, ebp
push 0
push eax
call fcn.004e0970
push 0x204
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x90]
push eax
push esi
call ebx
mov ebx, eax
lea eax, [esp + 0x98]
push 0x81
push eax
mov dword [esp + 0x44], ebx
call fcn.00401360
add esp, 0x30
cmp ebx, 0x100
jbe 0x5a5059
push 0xb06
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a51cf
test ebx, ebx
jne 0x5a5083
push 0xb0d
push str.._ssl_s3_srvr.c
push 0xdf
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
lea edi, [ebx + 0x73]
jmp 0x5a51cf
lea eax, [ebx*2 + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xf4]
push ebx
push eax
lea eax, [esp + 0x100]
add eax, ebx
push eax
call fcn.004dffe0
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x105], al
lea eax, [esp + 0x106]
push 0
shr ebx, 8
push eax
mov byte [esp + 0x10c], bl
call fcn.004e0970
mov eax, dword [esp + 0x2c]
add esp, 0x18
mov byte [esp + eax + 0xf6], bl
mov byte [esp + eax + 0xf7], al
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x5a50f9
push eax
call fcn.00508170
add esp, 4
push ebp
push dword [esp + 0x14]
call fcn.0051aba0
mov ecx, dword [esi + 0xc0]
add esp, 8
mov dword [ecx + 0x90], eax
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0x90], 0
jne 0x5a5141
push 0xb1f
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a51cf
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x5a5154
push eax
call fcn.00508170
add esp, 4
mov eax, dword [esi + 0xe4]
push dword [eax + 0x14c]
call fcn.0051aad0
mov ecx, dword [esi + 0xc0]
add esp, 4
mov dword [ecx + 0x8c], eax
mov eax, dword [esi + 0xe4]
cmp dword [eax + 0x14c], 0
je 0x5a5199
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0x8c], 0
jne 0x5a5199
push 0xb28
jmp 0x5a5126
mov eax, dword [esi + 8]
push dword [esp + 0x2c]
mov ecx, dword [eax + 0x64]
lea eax, [esp + 0xf8]
push eax
mov eax, dword [esi + 0xc0]
add eax, 0x14
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov ecx, dword [esi + 0xc0]
add esp, 0x10
mov dword [esp + 0x1c], 0
mov dword [ecx + 0x10], eax
lea eax, [esp + 0xf4]
push 0x204
push eax
call fcn.00401360
add esp, 8
cmp dword [esp + 0x1c], 0
jne 0x5a54fe
mov eax, 1
jmp 0x5a5546
test ecx, 0x400
je 0x5a5336
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
add edx, 2
shl ecx, 8
or ecx, eax
mov dword [esp + 0x10], edx
lea eax, [ecx + 2]
cmp eax, ebx
jle 0x5a5238
push 0xb42
push str.._ssl_s3_srvr.c
mov edi, 0x32
push 0x15b
jmp 0x5a54ef
push 0
push ecx
push edx
call fcn.0050a920
add esp, 0xc
mov dword [esi + 0x1b8], eax
test eax, eax
jne 0x5a526e
push 0xb46
push str.._ssl_s3_srvr.c
push 3
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a550a
push dword [esi + 0x1a8]
push eax
call fcn.0050b2b0
add esp, 8
test eax, eax
jns 0x5a531d
mov eax, dword [esi + 0x1b8]
cmp dword [eax + 4], ebp
je 0x5a531d
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x5a52ad
push eax
call fcn.00508170
add esp, 4
push dword [esi + 0x1a4]
call fcn.0051aad0
mov ecx, dword [esi + 0xc0]
add esp, 4
mov dword [ecx + 0xf0], eax
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0xf0], ebp
jne 0x5a52df
push 0xb54
jmp 0x5a4c6d
add eax, 0x14
push eax
push esi
call fcn.0058b520
mov ecx, dword [esi + 0xc0]
add esp, 8
mov dword [ecx + 0x10], eax
test eax, eax
jns 0x5a49e8
push 0xb5b
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
jmp 0x5a550a
push 0xb4d
push str.._ssl_s3_srvr.c
mov edi, 0x2f
push 0x173
jmp 0x5a54ef
test ecx, 0x200
je 0x5a54db
xor ebp, ebp
mov dword [esp + 0x38], 0x20
mov ecx, dword [edi + 0x10]
xor eax, eax
mov dword [esp + 0x14], ebp
test ecx, 0x100
je 0x5a536b
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0xe8]
jmp 0x5a537f
test ecx, 0x200
je 0x5a537f
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x104]
push 0
push eax
call fcn.0051fac0
mov edi, eax
add esp, 8
test edi, edi
jne 0x5a53a4
push 0xb76
push str.._ssl_s3_srvr.c
lea edi, [eax + 0x50]
push 0x41
jmp 0x5a54ef
push edi
call fcn.0055c610
add esp, 4
test eax, eax
jg 0x5a53c2
push 0xb7a
push str.._ssl_s3_srvr.c
push 0x44
jmp 0x5a54b2
mov eax, dword [esi + 0xc0]
push dword [eax + 0x9c]
call fcn.00511ac0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x5a53f1
push eax
push edi
call fcn.0055c770
add esp, 8
test eax, eax
jg 0x5a53f1
call fcn.00514690
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0050bf40
add esp, 0x14
cmp eax, 0x20
jne 0x5a54a3
cmp dword [esp + 0x2c], 0x10
jne 0x5a54a3
cmp dword [esp + 0x1c], ebp
jne 0x5a54a3
push dword [esp + 0x34]
lea eax, [esp + 0x3c]
push dword [esp + 0x14]
push eax
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.0055c510
add esp, 0x14
test eax, eax
jg 0x5a544e
push 0xb96
jmp 0x5a54a8
mov eax, dword [esi + 8]
push 0x20
mov ecx, dword [eax + 0x64]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esi + 0xc0]
add eax, 0x14
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov ecx, dword [esi + 0xc0]
push 0x20
mov dword [ecx + 0x10], eax
lea eax, [esp + 0x54]
push eax
call fcn.00401360
push 0
push 2
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
call fcn.0051f870
xor ecx, ecx
add esp, 0x30
test eax, eax
setg cl
inc ecx
mov dword [esp + 0x3c], ecx
mov ebp, ecx
jmp 0x5a54c1
push 0xb8e
push str.._ssl_s3_srvr.c
push 0x93
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
push dword [esp + 0x14]
call fcn.0050ee40
push edi
call fcn.0051fa60
add esp, 8
test ebp, ebp
je 0x5a550a
mov eax, ebp
jmp 0x5a5546
push 0xbaf
push str.._ssl_s3_srvr.c
push 0xf9
mov edi, 0x28
push 0x8b
push 0x14
call fcn.00514f30
add esp, 0x14
push edi
push 2
push esi
call fcn.0058d480
add esp, 0xc
push dword [esp + 0x28]
call fcn.0050ee40
push dword [esp + 0x1c]
call fcn.0052d060
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x5a5530
push eax
call fcn.00521f40
add esp, 4
push dword [esp + 0x24]
call fcn.005242b0
add esp, 4
mov dword [esi + 0x34], 5
or eax, 0xffffffff
pop edi
mov ecx, dword [esp + 0x2f4]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004dda5e
add esp, 0x2ec
ret