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

Disassembly:
mov eax, 0x90
call fcn.0066af60
mov eax, dword [0x74b738]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
mov ebx, dword [esp + 0x98]
xor eax, eax
push ebp
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push edi
push eax
mov dword [esp + 0x58], ebx
xor edi, edi
mov dword [esp + 0x1c], 0
call fcn.005c19b0
add esp, 4
cmp dword [ebx + 0x34], 0x2150
jne 0x6619cf
mov ecx, dword [ebx + 0x58]
mov esi, dword [ebx + 0x3c]
mov ebp, dword [ebx + 0x98]
mov dword [esp + 0x50], esi
xor esi, esi
mov eax, dword [ecx + 0x344]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
mov dword [esp + 0x58], edi
test dl, 1
je 0x6610c7
mov edi, dword [ebp + 0x1c]
test edi, edi
jne 0x661096
mov edx, dword [ebp + 0x20]
test edx, edx
je 0x6610b3
mov ecx, dword [eax + 0x20]
mov edi, 0x200
test cl, 8
mov eax, 0x400
cmovne eax, edi
and ecx, 2
push eax
push ecx
push ebx
call edx
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x661087
push 0x66e
push str.._ssl_s3_srvr.c
push 0x11a
jmp 0x661a37
push edi
call fcn.005bc440
mov dword [ebp + 0x1c], edi
add esp, 4
mov ecx, dword [ebx + 0x58]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x5c], eax
mov dword [ecx + 0x370], 1
jmp 0x6614c7
push 0x677
push str.._ssl_s3_srvr.c
push 0xac
jmp 0x661a37
test dl, 8
je 0x6611a7
mov ecx, dword [ebp + 0x24]
test ecx, ecx
jne 0x661116
mov edx, dword [ebp + 0x28]
test edx, edx
je 0x661102
mov ecx, dword [eax + 0x20]
mov ebp, 0x200
test cl, 8
mov eax, 0x400
cmovne eax, ebp
and ecx, 2
push eax
push ecx
push ebx
call edx
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x661116
push 0x68b
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x661a37
mov eax, dword [ebx + 0x58]
cmp dword [eax + 0x348], esi
je 0x661141
push 0x691
push str.._ssl_s3_srvr.c
push 0x44
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
jmp 0x661a6a
push ecx
call fcn.005eaef0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x661170
push 0x696
push str.._ssl_s3_srvr.c
push 5
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
jmp 0x661a6a
mov eax, dword [ebx + 0x58]
push ebp
mov dword [eax + 0x348], ebp
call fcn.005ec180
add esp, 4
test eax, eax
jne 0x66118d
push 0x69c
jmp 0x661155
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x60], eax
jmp 0x6614c7
test dl, dl
jns 0x66144e
mov esi, dword [ebp + 0x2c]
cmp dword [ebp + 0x34], edi
je 0x6611d1
push 0xfffffffffffffffe
push ebx
call fcn.005cde60
add esp, 8
test eax, eax
je 0x6611fc
push eax
call fcn.005bbbe0
add esp, 4
jmp 0x6611fa
test esi, esi
jne 0x661214
mov edx, dword [ebp + 0x30]
test edx, edx
je 0x661200
mov ecx, dword [eax + 0x20]
mov esi, 0x200
test cl, 8
mov eax, 0x400
cmovne eax, esi
and ecx, 2
push eax
push ecx
push ebx
call edx
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x661214
push 0x6b8
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x661a37
mov eax, dword [ebx + 0x58]
cmp dword [eax + 0x34c], edi
je 0x661229
push 0x6be
jmp 0x661126
mov eax, dword [ebx + 0x98]
cmp dword [eax + 0x34], edi
jne 0x661263
push esi
call fcn.005bb880
mov esi, eax
add esp, 4
test esi, esi
jne 0x661263
push 0x6ca
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
jmp 0x661a6a
mov eax, dword [ebx + 0x58]
push esi
mov dword [eax + 0x34c], esi
call fcn.005bba70
add esp, 4
test eax, eax
je 0x661292
push esi
call fcn.005bba60
add esp, 4
test eax, eax
je 0x661292
test dword [ebx + 0x100], 0x80000
je 0x6612bf
push esi
call fcn.005bb920
add esp, 4
test eax, eax
jne 0x6612bf
push 0x6d4
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
jmp 0x661a6a
push esi
call fcn.005bba50
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x66142e
push esi
call fcn.005bba70
add esp, 4
test eax, eax
je 0x66142e
push esi
call fcn.005bba60
add esp, 4
test eax, eax
je 0x66142e
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x344]
test byte [eax + 0x20], 2
je 0x661336
push ebp
call fcn.005e6cd0
add esp, 4
cmp eax, 0xa3
jle 0x661336
push 0x6e3
push str.._ssl_s3_srvr.c
push 0x136
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
jmp 0x661a6a
push ebp
call fcn.005e6cc0
push eax
call fcn.005cc560
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x661370
push 0x6f0
push str.._ssl_s3_srvr.c
push 0x13b
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
jmp 0x661a6a
push 0
push 0
push 0
push 4
push esi
call fcn.005bba70
add esp, 4
push eax
push ebp
call fcn.005ee4e0
push 0x6fe
push str.._ssl_s3_srvr.c
push eax
mov dword [esp + 0x48], eax
call fcn.005ae120
add esp, 0x24
mov dword [esp + 0x18], eax
call fcn.005e9bb0
mov edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x66140e
test edi, edi
je 0x66140e
push edi
push dword [esp + 0x28]
push eax
push 4
push esi
call fcn.005bba70
add esp, 4
push eax
push ebp
call fcn.005ee4e0
add esp, 0x18
mov dword [esp + 0x20], eax
test eax, eax
jne 0x6613f9
push 0x70c
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
jmp 0x661a59
push edi
call fcn.005e99c0
mov esi, dword [esp + 0x24]
add esp, 4
add esi, 4
jmp 0x6614c7
push 0x702
push str.._ssl_s3_srvr.c
push 0x41
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
jmp 0x661a59
push 0x6dc
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
jmp 0x661a6a
test edx, 0x100
je 0x661473
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + 0x14c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x661465
sub ecx, edx
lea esi, [ecx + 2]
jmp 0x6614c7
test edx, 0x400
je 0x661a28
mov eax, dword [ebx + 0x1a8]
test eax, eax
je 0x661a08
mov edx, dword [ebx + 0x1ac]
test edx, edx
je 0x661a08
mov ebp, dword [ebx + 0x1b0]
test ebp, ebp
je 0x661a08
mov ecx, dword [ebx + 0x1b4]
test ecx, ecx
je 0x661a08
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ecx
mov ebp, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + eax*4 + 0x58]
test eax, eax
je 0x661516
push eax
call fcn.005947b0
add eax, 7
add esp, 4
cdq
and edx, 7
lea ecx, [edx + eax]
mov eax, dword [esp + 0x10]
sar ecx, 3
mov dword [esp + eax*4 + 0x68], ecx
cmp eax, 2
jne 0x661507
test ebp, 0x400
je 0x661507
inc esi
jmp 0x66150a
add esi, 2
inc eax
add esi, ecx
mov dword [esp + 0x10], eax
cmp eax, 4
jl 0x6614d1
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x14], esi
mov eax, dword [eax + 0x344]
test dword [eax + 0x10], 0x404
jne 0x661575
test dword [eax + 0xc], 0x100
jne 0x661575
lea ecx, [esp + 0x34]
push ecx
push eax
push ebx
call fcn.005992d0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x661556
lea esi, [eax + 0x32]
jmp 0x661a4b
push edi
call fcn.00593580
mov edx, eax
add esp, 4
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x64]
test byte [ecx + 0x38], 2
je 0x661570
add edx, 2
add edx, 2
jmp 0x661580
xor eax, eax
xor edx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x64]
mov eax, dword [eax + 0x3c]
add eax, edx
add eax, esi
push eax
push dword [esp + 0x54]
call fcn.005bf180
add esp, 8
test eax, eax
jne 0x6615bb
push 0x75f
push str.._ssl_s3_srvr.c
push 7
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
jmp 0x661a57
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x3c]
mov bl, byte [esp + 0x70]
mov eax, dword [eax + 0x64]
mov edi, dword [eax + 0x3c]
add edi, dword [ecx + 4]
xor eax, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], eax
nop dword [eax + eax]
lea ecx, [eax*4]
cmp dword [esp + ecx + 0x58], 0
je 0x661645
cmp eax, 2
jne 0x661604
test ebp, 0x400
je 0x661604
mov byte [edi], bl
mov eax, 1
jmp 0x66161d
mov eax, dword [esp + ecx + 0x68]
sar eax, 8
mov byte [edi], al
mov eax, dword [esp + 0x10]
mov al, byte [esp + eax*4 + 0x68]
mov byte [edi + 1], al
mov eax, 2
lea esi, [eax + edi]
mov eax, dword [esp + 0x10]
push esi
push dword [esp + eax*4 + 0x5c]
call fcn.00593f20
mov eax, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + eax*4 + 0x68]
inc eax
add edi, esi
mov dword [esp + 0x10], eax
cmp eax, 4
jl 0x6615e0
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x54]
test al, al
jns 0x66168c
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov word [edi], 3
mov byte [edi + 2], al
mov eax, dword [esp + 0x20]
push eax
mov byte [edi + 3], al
add edi, 4
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
push esi
call fcn.005adf40
mov eax, dword [esp + 0x38]
add esp, 0x10
add edi, dword [esp + 0x20]
mov dword [esp + 0x18], 0
test eax, 0x100
je 0x66170e
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + 0x14c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6616a2
sub ecx, edx
shr ecx, 8
mov byte [edi], cl
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + 0x14c]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6616c0
sub ecx, edx
mov byte [edi + 1], cl
add edi, 2
mov eax, dword [ebx + 0xe4]
mov edx, dword [eax + 0x14c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6616e0
sub ecx, esi
push ecx
push edx
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncpy
mov eax, dword [ebx + 0xe4]
add esp, 0xc
mov ecx, dword [eax + 0x14c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x661703
sub ecx, edx
add edi, ecx
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x6619b9
cmp dword [ebp], 6
jne 0x66189f
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 2
jne 0x66189f
lea ebp, [esp + 0x78]
mov dword [esp + 0x1c], 0
mov esi, 2
lea eax, [esp + 0x38]
push 8
push eax
call fcn.005d3780
mov eax, dword [ebx + 0xe4]
add esp, 8
cmp esi, 2
jne 0x661767
mov eax, dword [eax + 0x8c]
jmp 0x66176d
mov eax, dword [eax + 0x90]
push 0
push eax
lea eax, [esp + 0x40]
push eax
call fcn.005c1460
add esp, 0xc
test eax, eax
jle 0x66187d
mov eax, dword [ebx + 0x58]
add eax, 0xc0
push 0x20
push eax
lea eax, [esp + 0x40]
push eax
call fcn.005c1600
add esp, 0xc
test eax, eax
jle 0x66187d
mov eax, dword [ebx + 0x58]
add eax, 0xa0
push 0x20
push eax
lea eax, [esp + 0x40]
push eax
call fcn.005c1600
add esp, 0xc
test eax, eax
jle 0x66187d
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push dword [esp + 0x28]
push eax
call fcn.005c1600
add esp, 0xc
test eax, eax
jle 0x66187d
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.005c13c0
add esp, 0xc
test eax, eax
jle 0x66187d
mov ecx, dword [esp + 0x1c]
dec esi
add ecx, dword [esp + 0x10]
add ebp, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
test esi, esi
jg 0x661745
mov eax, dword [esp + 0x2c]
push dword [eax + 0x14]
lea eax, [esp + 0x34]
push eax
lea eax, [edi + 2]
push eax
push ecx
lea eax, [esp + 0x88]
push eax
push 0x72
call fcn.005e9fc0
add esp, 0x18
test eax, eax
jg 0x66185d
push 0x7b4
push str.._ssl_s3_srvr.c
push 4
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
jmp 0x661a57
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
shr eax, 8
add esi, 2
mov byte [edi], al
mov al, byte [esp + 0x30]
mov byte [edi + 1], al
add esi, dword [esp + 0x30]
jmp 0x6619bd
push 0x7ab
push str.._ssl_s3_srvr.c
push 6
push 0x9b
push 0x14
call fcn.0059e890
mov esi, 0x50
jmp 0x661a48
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x6619a5
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 2
je 0x6618e1
push ecx
push ebp
push edi
call fcn.005cb940
add esp, 0xc
test eax, eax
jne 0x6618da
push 0x7c2
push str.._ssl_s3_srvr.c
lea esi, [eax + 0x50]
push 0x44
jmp 0x661a3c
mov ecx, dword [esp + 0x34]
add edi, 2
push 0
push ecx
lea eax, [esp + 0x40]
push eax
call fcn.005c1460
add esp, 0xc
test eax, eax
jle 0x66199b
mov eax, dword [ebx + 0x58]
add eax, 0xc0
push 0x20
push eax
lea eax, [esp + 0x40]
push eax
call fcn.005c1600
add esp, 0xc
test eax, eax
jle 0x66199b
mov eax, dword [ebx + 0x58]
add eax, 0xa0
push 0x20
push eax
lea eax, [esp + 0x40]
push eax
call fcn.005c1600
add esp, 0xc
test eax, eax
jle 0x66199b
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x38]
push esi
push dword [esp + 0x28]
push eax
call fcn.005c1600
add esp, 0xc
test eax, eax
jle 0x66199b
push ebp
lea eax, [esp + 0x14]
push eax
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.005ec520
add esp, 0x10
test eax, eax
jle 0x66199b
mov eax, dword [esp + 0x10]
sar eax, 8
mov byte [edi], al
mov al, byte [esp + 0x10]
mov byte [edi + 1], al
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 2
mov eax, 0
setne al
lea eax, [eax*2 + 2]
add eax, dword [esp + 0x10]
add esi, eax
jmp 0x6619bd
push 0x7d2
jmp 0x661882
push 0x7de
push str.._ssl_s3_srvr.c
push 0xfb
jmp 0x661a37
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 8]
push esi
push 0xc
push ebx
mov eax, dword [eax + 0x64]
mov eax, dword [eax + 0x40]
call eax
add esp, 0xc
lea eax, [esp + 0x38]
mov dword [ebx + 0x34], 0x2151
push eax
call fcn.005c1610
mov eax, dword [ebx + 8]
push ebx
mov eax, dword [eax + 0x64]
mov eax, dword [eax + 0x44]
call eax
add esp, 8
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00669a1e
add esp, 0x90
ret
push 0x733
push str.._ssl_s3_srvr.c
push 0x166
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
jmp 0x661a6a
push 0x73f
push str.._ssl_s3_srvr.c
push 0xfa
mov esi, 0x28
push 0x9b
push 0x14
call fcn.0059e890
add esp, 0x14
push esi
push 2
push ebx
call fcn.005c81d0
add esp, 0xc
xor edi, edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x661a6a
push eax
call fcn.005adf40
add esp, 4
push edi
call fcn.005e99c0
lea eax, [esp + 0x3c]
push eax
call fcn.005c1610
add esp, 8
mov dword [ebx + 0x34], 5
or eax, 0xffffffff
jmp 0x6619ef