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

Disassembly:
mov eax, 0x2ec
call fcn.004cf3e0
mov eax, dword [0x61df80]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x2fc]
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x30]
push ecx
push 0x800
push 0x10
xor esi, esi
push 0x2191
push 0x2190
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], esi
call edx
add esp, 0x18
mov ebp, eax
cmp dword [esp + 0x30], esi
je 0x56ccbe
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x58]
mov dword [esp + 0xc], eax
mov edx, dword [ecx + 0x344]
push ebx
mov ebx, dword [edx + 0xc]
test bl, 1
je 0x56c14d
cmp dword [ecx + 0x370], esi
mov ecx, dword [edi + 0x98]
je 0x56bee0
cmp ecx, esi
je 0x56becc
mov ecx, dword [ecx + 0x1c]
cmp ecx, esi
jne 0x56beff
push 0x883
push str.._ssl_s3_srvr.c
push 0xad
jmp 0x56cc57
mov ecx, dword [ecx + 0x40]
cmp ecx, esi
je 0x56c139
cmp dword [ecx], 6
jne 0x56c139
mov ecx, dword [ecx + 0x14]
cmp ecx, esi
je 0x56c139
mov esi, ecx
mov ecx, dword [edi]
cmp ecx, 0x300
jle 0x56bf60
cmp ecx, 0x100
je 0x56bf60
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
add eax, 2
lea edx, [ecx + 2]
mov dword [esp + 0x10], eax
cmp ebp, edx
je 0x56bf5e
test dword [edi + 0x100], 0x100
jne 0x56bf55
push 0x89a
push str.._ssl_s3_srvr.c
mov dword [esp + 0x1c], 0x32
push 0xea
jmp 0x56cc5f
sub eax, 2
mov dword [esp + 0x10], eax
jmp 0x56bf60
mov ebp, ecx
cmp ebp, 0x30
jge 0x56bf81
push 0x8ac
push str.._ssl_s3_srvr.c
mov dword [esp + 0x1c], 0x33
push 0xea
jmp 0x56cc5f
lea eax, [esp + 0x40]
push 0x30
push eax
call fcn.004e7280
add esp, 8
test eax, eax
jle 0x56cc7e
mov eax, dword [esp + 0x10]
push 1
push esi
push eax
push eax
push ebp
call fcn.004ef4f0
add esp, 0x14
mov esi, eax
call fcn.004e66a0
mov eax, dword [edi + 0x110]
xor esi, 0x30
mov edx, esi
not edx
shr edx, 0x1f
lea ecx, [esi - 1]
shr ecx, 0x1f
and cl, dl
mov edx, dword [esp + 0x10]
movzx ebx, byte [edx]
movzx edx, byte [edx + 1]
movzx ebp, al
xor ebp, edx
mov esi, eax
sar esi, 8
xor esi, ebx
mov edx, ebp
not edx
shr edx, 0x1f
lea eax, [ebp - 1]
shr eax, 0x1f
and al, dl
mov ebx, esi
lea edx, [esi - 1]
shr edx, 0x1f
not ebx
shr ebx, 0x1f
and dl, bl
neg al
neg dl
neg cl
and al, dl
test dword [edi + 0x100], 0x800000
mov byte [esp + 0x1f], cl
je 0x56c059
mov ecx, dword [edi]
mov edx, dword [esp + 0x10]
movzx ebx, byte [edx]
mov esi, ecx
movzx ebp, cl
movzx ecx, byte [edx + 1]
xor ebp, ecx
sar esi, 8
xor esi, ebx
mov edx, ebp
not edx
shr edx, 0x1f
lea ecx, [ebp - 1]
shr ecx, 0x1f
and cl, dl
mov ebx, esi
lea edx, [esi - 1]
shr edx, 0x1f
not ebx
shr ebx, 0x1f
and dl, bl
neg cl
neg dl
and cl, dl
or al, cl
mov cl, byte [esp + 0x1f]
and cl, al
movzx eax, cl
mov cl, al
xor esi, esi
not cl
movzx edx, byte [esp + esi + 0x40]
mov ebp, dword [esp + 0x10]
and dl, cl
mov bl, al
and bl, byte [esi + ebp]
add esi, 6
or dl, bl
mov byte [esi + ebp - 6], dl
mov ebp, dword [esp + 0x10]
mov dl, cl
and dl, byte [esp + esi + 0x3b]
mov bl, al
and bl, byte [esi + ebp - 5]
or dl, bl
mov byte [esi + ebp - 5], dl
mov ebp, dword [esp + 0x10]
movzx ebx, byte [esi + ebp - 4]
movzx edx, byte [esp + esi + 0x3c]
and dl, cl
and bl, al
or dl, bl
mov byte [esi + ebp - 4], dl
mov ebp, dword [esp + 0x10]
movzx ebx, byte [esi + ebp - 3]
movzx edx, byte [esp + esi + 0x3d]
and dl, cl
and bl, al
or dl, bl
mov byte [esi + ebp - 3], dl
movzx edx, byte [esp + esi + 0x3e]
mov ebp, dword [esp + 0x10]
and dl, cl
mov bl, al
and bl, byte [esi + ebp - 2]
or dl, bl
mov byte [esi + ebp - 2], dl
movzx edx, byte [esp + esi + 0x3f]
mov ebp, dword [esp + 0x10]
mov bl, al
and bl, byte [esi + ebp - 1]
and dl, cl
or dl, bl
mov byte [esi + ebp - 1], dl
cmp esi, 0x30
jb 0x56c064
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x64]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0xc0]
mov ecx, dword [ecx + 0xc]
push 0x30
push edx
add eax, 0x14
push eax
push edi
call ecx
mov edx, dword [edi + 0xc0]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x20]
push 0x30
push eax
call fcn.004ea0c0
add esp, 0x18
mov eax, 1
jmp 0x56ccbd
push 0x88d
push str.._ssl_s3_srvr.c
push 0xa8
jmp 0x56cc57
test bl, 0xe
je 0x56c390
cmp ebp, 1
mov dword [esp + 0x18], esi
jle 0x56c174
movzx edx, byte [eax]
movzx esi, byte [eax + 1]
shl edx, 8
or edx, esi
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x56c18f
test bl, 8
je 0x56c18d
push 0x90d
push str.._ssl_s3_srvr.c
push 0x94
jmp 0x56cc57
xor edx, edx
test ebp, ebp
je 0x56c1cf
lea esi, [edx + 2]
cmp ebp, esi
je 0x56c1cf
test byte [edi + 0x100], 0x80
jne 0x56c1c6
push 0x915
push str.._ssl_s3_srvr.c
push 0x94
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56cc7e
sub eax, 2
mov dword [esp + 0x10], eax
mov edx, ebp
test bl, 2
je 0x56c1db
mov ecx, 3
jmp 0x56c1e5
test bl, 4
je 0x56c220
mov ecx, 4
lea esi, [ecx*8]
sub esi, ecx
mov ecx, dword [edi + 0x98]
mov ecx, dword [ecx + esi*4 + 0x40]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x56c20c
cmp dword [ecx], 0x1c
jne 0x56c20c
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x56c23e
push 0x926
push str.._ssl_s3_srvr.c
push 0xa8
jmp 0x56cc57
mov ecx, dword [ecx + 0x348]
test ecx, ecx
jne 0x56c23e
push 0x92d
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x56cc57
mov ebx, ecx
test ebp, ebp
jne 0x56c2a3
mov edx, dword [edi + 0xc0]
mov eax, dword [edx + 0x9c]
push eax
call fcn.005179b0
mov esi, eax
add esp, 4
test esi, esi
je 0x56c281
mov ecx, dword [esp + 0x18]
push ecx
push esi
call fcn.004fda20
add esp, 8
cmp eax, 1
jne 0x56c281
push esi
call fcn.004fdb00
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x56c295
push 0x93c
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x56cc57
push esi
call fcn.004fde70
mov esi, dword [ebp + 0x14]
add esp, 4
jmp 0x56c2b5
push 0
push edx
push eax
call fcn.004ff5b0
mov ebp, dword [esp + 0x2c]
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x56c2dc
push 0x944
push str.._ssl_s3_srvr.c
push 0x82
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56cc7e
mov edx, dword [esp + 0x10]
push ebx
push esi
push edx
call fcn.00507e10
mov ebx, eax
add esp, 0xc
test ebx, ebx
jg 0x56c317
push 0x94b
push str.._ssl_s3_srvr.c
push 5
push 0x8b
push 0x14
call fcn.004e65b0
push esi
call fcn.004ff250
add esp, 0x18
jmp 0x56cc7e
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x348]
push ecx
call fcn.00507810
mov edx, dword [edi + 0x58]
add esp, 4
mov dword [edx + 0x348], 0
test ebp, ebp
je 0x56c342
push ebp
call fcn.00507810
jmp 0x56c348
push esi
call fcn.004ff250
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x64]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0xc0]
mov ecx, dword [ecx + 0xc]
add esp, 4
push ebx
push edx
add eax, 0x14
push eax
push edi
call ecx
mov edx, dword [edi + 0xc0]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x20]
push ebx
push eax
call fcn.004ea0c0
add esp, 0x18
test ebp, ebp
je 0x56c12f
mov eax, 2
jmp 0x56ccbd
test bl, 0xe0
je 0x56c68d
mov dword [esp + 0x18], 1
call fcn.0050a4d0
mov dword [esp + 0x24], eax
cmp eax, esi
jne 0x56c3ce
push 0xa29
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56cc7e
test bl, 0x60
je 0x56c3e4
mov ecx, dword [edi + 0x98]
mov edx, dword [ecx + 0xcc]
mov esi, dword [edx + 0x14]
jmp 0x56c3ed
mov eax, dword [edi + 0x58]
mov esi, dword [eax + 0x34c]
push esi
call fcn.0050a8a0
push esi
mov dword [esp + 0x1c], eax
call fcn.00559420
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov esi, eax
call fcn.0050a8b0
add esp, 0x10
test eax, eax
je 0x56c66d
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.0050a8e0
add esp, 8
test eax, eax
je 0x56c66d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0050afd0
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
jne 0x56c450
push 0xa44
jmp 0x56c3b3
test ebp, ebp
jne 0x56c4ed
test bl, bl
jns 0x56c470
push 0xa4e
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x56cc57
mov edx, dword [edi + 0xc0]
mov eax, dword [edx + 0x9c]
push eax
call fcn.005179b0
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
je 0x56c4d9
cmp dword [eax], 0x198
jne 0x56c4d9
mov ecx, dword [eax + 0x14]
push ecx
call fcn.004edc70
push eax
push esi
call fcn.0050b0f0
add esp, 0xc
test eax, eax
jne 0x56c4cc
push 0xa64
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56cc7e
mov dword [esp + 0x18], 2
jmp 0x56c578
push 0xa5d
push str.._ssl_s3_srvr.c
push 0x139
jmp 0x56cc57
call fcn.00501490
mov edx, eax
mov dword [esp + 0x30], edx
test edx, edx
jne 0x56c506
push 0xa6f
jmp 0x56c3b3
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax]
inc eax
lea ebx, [ecx + 1]
mov dword [esp + 0x10], eax
cmp ebp, ebx
je 0x56c539
push 0xa77
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56cc7e
push edx
mov edx, dword [esp + 0x18]
push ecx
push eax
push esi
push edx
call fcn.0053e7e0
add esp, 0x14
test eax, eax
jne 0x56c56e
push 0xa7b
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56cc7e
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x14]
push edx
call fcn.0050add0
add esp, 4
test eax, eax
jg 0x56c5a9
push 0xa88
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56cc7e
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
add eax, 7
cdq
push 0
and edx, 7
push ebp
add eax, edx
sar eax, 3
push ebx
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0050c400
mov esi, eax
add esp, 0x14
test esi, esi
jg 0x56c5f5
push 0xa8e
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56cc7e
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004fde70
push ebx
call fcn.0050b080
push ebp
call fcn.0050a530
mov edx, dword [esp + 0x3c]
push edx
call fcn.005014f0
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x34c]
push ecx
call fcn.0050a530
mov edx, dword [edi + 0x58]
mov dword [edx + 0x34c], 0
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x64]
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0xc0]
mov ecx, dword [ecx + 0xc]
push esi
push edx
add eax, 0x14
push eax
push edi
call ecx
mov edx, dword [edi + 0xc0]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x34]
push esi
push eax
call fcn.004ea0c0
mov eax, dword [esp + 0x44]
add esp, 0x2c
jmp 0x56ccbd
push 0xa3e
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56cc7e
test ebx, 0x100
je 0x56c953
movzx esi, byte [eax]
movzx ecx, byte [eax + 1]
shl esi, 8
or esi, ecx
add eax, 2
lea edx, [esi + 2]
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x10], eax
cmp ebp, edx
je 0x56c6e6
push 0xab0
push str.._ssl_s3_srvr.c
push 0x9f
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56c929
cmp esi, 0x80
jle 0x56c711
push 0xab5
push str.._ssl_s3_srvr.c
push 0x92
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56c929
mov ebx, dword [edi + 0xe0]
test ebx, ebx
jne 0x56c73e
push 0xaba
push str.._ssl_s3_srvr.c
push 0xe1
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56c929
push esi
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004d34f0
mov ecx, 0x81
sub ecx, esi
push ecx
lea edx, [esp + esi + 0x80]
push 0
push edx
call fcn.004ce490
push 0x204
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x90]
push ecx
push edi
call ebx
lea edx, [esp + 0x98]
push 0x81
push edx
mov ebx, eax
call fcn.004ea0c0
add esp, 0x30
cmp ebx, 0x100
jbe 0x56c7b8
push 0xac9
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56c929
test ebx, ebx
jne 0x56c7e7
push 0xad0
push str.._ssl_s3_srvr.c
push 0xdf
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
mov dword [esp + 0x14], 0x73
jmp 0x56c929
push ebx
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + ebx + 0x100]
push ecx
lea ebp, [ebx + ebx + 4]
call fcn.004c9660
push ebx
mov eax, ebx
shr eax, 8
lea edx, [esp + 0x106]
push 0
push edx
mov dword [esp + 0x38], eax
mov byte [esp + 0x10c], al
mov byte [esp + 0x10d], bl
call fcn.004ce490
mov cl, byte [esp + 0x38]
lea eax, [esp + ebx + 0x10e]
mov byte [eax], cl
mov byte [eax + 1], bl
mov edx, dword [edi + 0xc0]
mov eax, dword [edx + 0x90]
add esp, 0x18
test eax, eax
je 0x56c854
push eax
call fcn.004e9ce0
add esp, 4
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.004eb620
mov ecx, dword [edi + 0xc0]
mov dword [ecx + 0x90], eax
mov eax, dword [edi + 0xc0]
add esp, 8
cmp dword [eax + 0x90], 0
jne 0x56c89d
push 0xae2
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56c929
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x56c8b0
push eax
call fcn.004e9ce0
add esp, 4
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + 0x14c]
push eax
call fcn.004eb7a0
mov ecx, dword [edi + 0xc0]
mov dword [ecx + 0x8c], eax
mov edx, dword [edi + 0xe4]
add esp, 4
cmp dword [edx + 0x14c], 0
je 0x56c8f6
mov eax, dword [edi + 0xc0]
cmp dword [eax + 0x8c], 0
jne 0x56c8f6
push 0xaeb
jmp 0x56c882
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
mov ecx, dword [edi + 0xc0]
mov edx, dword [edx + 0xc]
push ebp
lea eax, [esp + 0xf8]
push eax
add ecx, 0x14
push ecx
push edi
call edx
mov ecx, dword [edi + 0xc0]
add esp, 0x10
mov dword [ecx + 0x10], eax
mov dword [esp + 0x18], 0
lea edx, [esp + 0xf4]
push 0x204
push edx
call fcn.004ea0c0
add esp, 8
cmp dword [esp + 0x18], 0
jne 0x56cc6e
mov eax, 1
jmp 0x56ccbd
test ebx, 0x400
je 0x56ca9e
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
add eax, 2
lea edx, [ecx + 2]
cmp edx, ebp
mov dword [esp + 0x10], eax
jle 0x56c995
push 0xb05
push str.._ssl_s3_srvr.c
mov dword [esp + 0x1c], 0x32
push 0x15b
jmp 0x56cc5f
push esi
push ecx
push eax
call fcn.004ff5b0
add esp, 0xc
mov dword [edi + 0x1b8], eax
cmp eax, esi
jne 0x56c9ca
push 0xb09
push str.._ssl_s3_srvr.c
push 3
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56cc7e
mov ecx, dword [edi + 0x1a8]
push ecx
push eax
call fcn.004ff710
add esp, 8
test eax, eax
jge 0x56ca82
mov edx, dword [edi + 0x1b8]
cmp dword [edx + 4], esi
je 0x56ca82
mov eax, dword [edi + 0xc0]
mov eax, dword [eax + 0xf0]
cmp eax, esi
je 0x56ca0a
push eax
call fcn.004e9ce0
add esp, 4
mov ecx, dword [edi + 0x1a4]
push ecx
call fcn.004eb7a0
mov edx, dword [edi + 0xc0]
mov dword [edx + 0xf0], eax
mov eax, dword [edi + 0xc0]
add esp, 4
cmp dword [eax + 0xf0], esi
jne 0x56ca3d
push 0xb17
jmp 0x56c3b3
add eax, 0x14
push eax
push edi
call fcn.00567330
mov ecx, dword [edi + 0xc0]
mov dword [ecx + 0x10], eax
mov edx, dword [edi + 0xc0]
add esp, 8
cmp dword [edx + 0x10], esi
jge 0x56c12f
push 0xb1e
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
jmp 0x56cc7e
push 0xb10
push str.._ssl_s3_srvr.c
mov dword [esp + 0x1c], 0x2f
push 0x173
jmp 0x56cc5f
test ebx, 0x200
je 0x56cc48
mov dword [esp + 0x3c], 0x20
mov eax, dword [ecx + 0x344]
mov eax, dword [eax + 0x10]
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x14], esi
test eax, 0x100
je 0x56cad8
mov ecx, dword [edi + 0x98]
mov edx, dword [ecx + 0xe8]
jmp 0x56caeb
test eax, 0x200
je 0x56caeb
mov edx, dword [edi + 0x98]
mov edx, dword [edx + 0x104]
push 0
push edx
call fcn.004eddc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x56cb15
push 0xb39
push str.._ssl_s3_srvr.c
mov dword [esp + 0x1c], 0x50
push 0x41
jmp 0x56cc5f
push esi
call fcn.0052eaa0
add esp, 4
test eax, eax
jg 0x56cb33
push 0xb3d
push str.._ssl_s3_srvr.c
push 0x44
jmp 0x56cc1e
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax + 0x9c]
push ecx
call fcn.005179b0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x56cb65
mov edx, eax
push edx
push esi
call fcn.0052ebf0
add esp, 8
test eax, eax
jg 0x56cb65
call fcn.004e66a0
push ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004fe420
add esp, 0x14
cmp eax, 0x20
jne 0x56cc0f
cmp dword [esp + 0x20], 0x10
jne 0x56cc0f
cmp dword [esp + 0x18], ebx
jne 0x56cc0f
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
call fcn.0052eb10
add esp, 0x14
test eax, eax
jg 0x56cbc0
push 0xb59
jmp 0x56cc14
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x64]
mov edx, dword [edi + 0xc0]
mov eax, dword [eax + 0xc]
push 0x20
lea ecx, [esp + 0x44]
push ecx
add edx, 0x14
push edx
push edi
call eax
mov ecx, dword [edi + 0xc0]
lea edx, [esp + 0x50]
push 0x20
push edx
mov dword [ecx + 0x10], eax
call fcn.004ea0c0
push 0
push 2
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.004edb80
xor ebx, ebx
add esp, 0x30
test eax, eax
setg bl
inc ebx
jmp 0x56cc2d
push 0xb51
push str.._ssl_s3_srvr.c
push 0x93
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
mov eax, dword [esp + 0x14]
push eax
call fcn.004fde70
push esi
call fcn.004edb20
add esp, 8
test ebx, ebx
je 0x56cc7e
mov eax, ebx
jmp 0x56ccbd
push 0xb72
push str.._ssl_s3_srvr.c
push 0xf9
mov dword [esp + 0x20], 0x28
push 0x8b
push 0x14
call fcn.004e65b0
add esp, 0x14
mov ecx, dword [esp + 0x14]
push ecx
push 2
push edi
call fcn.005652d0
add esp, 0xc
mov edx, dword [esp + 0x2c]
push edx
call fcn.004fde70
mov eax, dword [esp + 0x2c]
push eax
call fcn.0050b080
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x56cca6
push eax
call fcn.0050a530
add esp, 4
mov ecx, dword [esp + 0x30]
push ecx
call fcn.005014f0
add esp, 4
mov dword [edi + 0x34], 5
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2f4]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004c7d13
add esp, 0x2ec
ret